on 09-05-2013 9:50 AM
Hi Experts,
I have a source structure as below :
<ns0:MT_Test>
<RowsetElec>
<CallID/>
<WAMOrderNumber/>
<Number/>
<ID/>
<Name/>
</RowsetElec>
<RowsetGas>
<CallID/>
<WAMOrderNumber/>
<Number/>
<ID/>
<Name/>
</RowsetGas>
</ns0:MT_MT_Tes>
I need to generate multiple idocs ( Idoc occurence set as 0..unb) depending upon the occurence of <RowsetElec> and <RowsetGas> without using multimapping.
I tried with standard function but was unsuccessful. Could anyone please provide an alternative for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
did you try doing a duplicate subtree ?
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
copy the IDOC node in the target structure and map <RowsetElec> to the first one and <RowsetGas> to the second one,
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tanzoom,
Graphical mapping is SAP recommended and duplicating a sub tree is a standard way to handle such cases. It handles very complex requirements in a simplified manner.
In fact, Java code will be overtly complex and unnecessary.
As a consultant, you should be propagating best practices and reason with the client on why they would want to use a Java code (Java mapping) for this.
Cheers,
Ambrish
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.