U
U
UmbertoKavalli2018-02-06 16:38:44
ERP
UmbertoKavalli, 2018-02-06 16:38:44

SAP lsmw + idoc hrmd_a?

Good afternoon ! I decided to try to learn iDoc via lsmw to load and edit HCM data. Before that, I used only batch input and transaction recording in HCM and BAPI in RE-FX. And everything worked. And here, I've been fighting for a long time, but it doesn't come out.
I'm trying to change the reason for changing the basic payments (PREAS in IT0008) from 01 to 03
So:
1. There is a project
d250fc2b64.jpgc316d216b7.jpge4cfc0f634.jpgb99a4eb6f9.jpg2a02f05abb.jpg891c3afd9b.jpg
2. Structure
5ae4bf4349.jpg
3. Fields
15fe0b44a1.jpg36a2037f20.jpg
4. Mapping
a7a19dc6a3.jpg
5. Read the file
09ab36a2ab.jpg
Here is a file
887da04b2a.jpg
6. Convert
4f6247c476.jpg
7. Check
691729dac1.jpg
We got these errors
What is it and how to fix it?
UPD: the solution lies in the non-use of the E1Q0008 structure and the update requires a complete cast of all fields, even those that do not need to be changed. And therefore, iDoc for such purposes is too labor-intensive.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Popov, 2018-02-06
@IronBream

Hello, in general, if you use such nesting, then the key must be observed in your file. In your file, each line has its own key, but the key of the parent structure must first go, then your own.
Something like this:
LVL0 ****
LVL0 LVL1 ****
LVL0 LVL1 LVLV2 ****
and so on
where **** Idoc segment filling data.
All of these fields must be declared in structs and have the same name between structs.

@
@metha, 2018-03-12
_

1. Mapping for EDI_DC40 structure is not needed at all
2. For all child segments for infotype 0008, it is mandatory to repeat all the key fields from the main segment E1P0008 (check through WE30 / WE31)
3. For HRMD_A09, it is mandatory to check whether all segments are connected in T777D table
4
LVL0 **** LVL0
LVL1 ****
LVL0 LVL1 LVLV2 ****
and so on
.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question