cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping issue

Former Member
0 Kudos

Hi.

Have an HRMD_A09 that will be mapped into an inhouse XML format.

Some problems has accoured.

For example I take the salary from info type 8.

Checking for the date to be set so the salary is active. This is done by checking the BEGDA field for the value 99991231.

I also check the LGA01 - LGA25 field for the value 0012 to know that it is a monthly salary. I will pass the corresponding BET01-BET25 value as the salary.

If I send an IDoc with one user there are no problems.

But when I have multiple users in the IDoc then just the first user gets the salary amount.

I have an specific payroll segemtn in my inhouse structure.
In that segment I have the MonthlySalary field that will pass the value.

Any idea what needs to be done to get the mapping working?

Regards

Andreas

Accepted Solutions (0)

Answers (1)

Answers (1)

apu_das2
Active Contributor
0 Kudos

This is simply context issue or problem with the mapping of root segment.

Please look into your mapping properly.

Thanks,

Apu

Former Member
0 Kudos

Should all the segemtns and fields be mapped on the same contextlevel?

apu_das2
Active Contributor
0 Kudos

No It depends on your target xml structure.

Former Member
0 Kudos

You will find target structure in the attached png file.

I currently have problems with the payroll sallaray fields and the bonus fields.

All bonuses would end up on the first person in the IDoc and it is only the first person who gets a sallary..

But I think the issue are the same. The sallary fields are just max occurence 1

Bonuses are max occurence unbounded ands therefore alla bonus fields are able to get out on the first person.