on 07-25-2013 9:58 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.