on 02-11-2015 6:57 AM
Hi PI Team,
I have a requirement the purchase orders idocs are the source and send to the third party systems is a file target.
In mapping i have a logic to implement using idoc source fields and target file fields ,can you tell me how can achieve the below requirement.
Source side -Carrier Code "E1EDK02 "-> Map to the target file field "BELNR" where QUALF = 045 Ship to PO
Source side -BOL Number " E1EDK02 " -> Map to the target file field "BELNR" where QUALF = 002 Customer PO
Thanks
Hi Kiran
You can try with the logic below. You can repeat the same logic for the other field by just changing the constant value that is compared to QUALF with 045.
FYI, the additional mapwithDefault and formatByExample logic is to take care of cases where the IDoc might potentially have certain segments of E1EDK02 with BELNR that is empty.
If you are not familiar with queues and contexts, the following blog is a good read to get an understanding of it.
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok fine i have done the mapping as per the inputs from you guys ..
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If the mapping is working fine per the interface requirement, please do close the thread.
http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why
File field BOL No . Map -> Idoc E1EDK02 BELNR where QUALF = 002 Information short text is Customer PO
so i need to map constant "002" -> Qualf under E1EDK02 segment
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry the requirement i was confused..
File to IDoc Interface
In mapping i have a logic to implement using File source fields (Third Party File) and target SAP Using Idoc fields
File System Source side Field -Carrier Code -> Map to the target Idoc Segment "E1EDK02 " "BELNR" where QUALF = 045
Source side -BOL Number -> Map to the target IDOC field " E1EDK02 " "BELNR" where QUALF = 002 but i don't have any idoc field for Customer PO
Thanks
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi In target side use Duplicate subtree like E1EDK02 rightclick and use duplicate subtree
there u will get 2 nodes of E1EDK02
for first node E1EDK02 ---> qualif map with constant = 045
and BELNR map with source Carrier Code
for second node E1EDK02 ---> qualif map with constant = 002
and BELNR map with source BOL NUmber
Let me know still if you face any issue.
Thanks,
Sreenivas
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 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.