cancel
Showing results for 
Search instead for 
Did you mean: 

Graphical Mapping for IDOC

baskar_ramasamy
Participant
0 Kudos

Hi,

I am working on a Graphical Mapping for IDOC (HRMD_A07) – SOAP scenario. We had a requirement to map BTRL (E1P0001 segment) to “card code“ when “Begin date(BEGDA)” and “End date(ENDDA)” of (E1P0001 segment) an employee falls between the current date. We tried putting Remove Context after If condition, but it works only for single employee. This mapping should also work when multiple employees are passed in the IDOC. (For Multiple employees E1PLOGI is the segment that gets repeated).

Screenshot attached.

Thanks,

Baskar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Baskar,

Right click on the BTRL field and set the context to whichever is repeating node, (E1PLOGI) in this case. Try changing the context whichever is relevant and test the mapping and you should have the solution.

Hope that helps.

Regards,

Rakesh.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Baskar,

According to the structure of  IDOC (HRMD_A07) , E1PLOGI is the Header segment . So please change context to this Header segment. It will helpful if you can provide the screenshot

Regards

Ritu

ambrish_mishra
Active Contributor
0 Kudos

Hi Baskar,

Only one BTRTL will be valid for an employee on a day. Hope the parent segment of card code is mapped to E1PLOGI.

The output of your queue should be one per employee. You may need to play around with context and avoid suppresses. Can you share a test case so that I can quickly prototype here.

cheers

Ambrish