on 10-12-2006 12:36 AM
Hi,
I have an source IDoc-XML with following structure.
E1LFA1A (node) 1-1
--Z1ADPRZ(subnode) 0-unbounded
-
SEQN(element in subnode) 0-1
E1LFM1M (node) (0-unbounded)
--EKORG 0-1
Example of Source IDoc
======================
E1LFA1A
--Z1ADPRZ
-
SEQN=01
--Z1ADPRZ
-
SEQN=02
E1LFM1M
--EKORG=2000
E1LFM1M
--EKORG=2005
E1LFM1M
--EKORG=2010
==========================================
Target xml file should be
<DATAAREA>
---ORG=2000
---<CONTACT>
-
SEQN=01
---<CONTACT>
-
SEQN=02
<DATAAREA>
---ORG=2005
---<CONTACT>
-
SEQN=01
---<CONTACT>
-
SEQN=02
<DATAAREA>
---ORG=2010
---<CONTACT>
-
SEQN=01
---<CONTACT>
-
SEQN=02
How do i resolve this issue.
Kindly Help.
Thanks,
Gowri
Hi Gowri,
If u had mapped Z1ADPRZ-SEQN TO <CONTACT>-SEQN thru copy value
try concating Z1ADPRZ with Z1ADPRZ-SEQN and map to the target element
Regards,
Arvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the NODE Function "useOneAsMany ". Refer the blog 2792 and the 7th item.
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
also refer
/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check out this link for UseOneAsMany
http://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/content.htm
Thanks,
Prakash
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.