Answer the question
In order to leave comments, you need to log in
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
2. Structure
3. Fields
4. Mapping
5. Read the file
Here is a file
6. Convert
7. Check
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
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.
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 questionAsk a Question
731 491 924 answers to any question