on 2005 Aug 04 1:46 PM
Hi,
following task is 2 high 4 me:
<root>
<fieldA/>
<fieldB/> optional
</root>
should be mapped to
<root>
<elm>
<constant>A</constant>
<value>A</value>
</elm>
<elm>
<constant>B</constant>
<value>B</value>
</elm>
</root>
If only field A exist then only one result elm.
If field B exist then two result elm.
Any ideas?
Udo
Hi Udo,
i think you can use global container class for this in the mapping.
/people/michal.krawczyk2/blog/2005/03/04/globalcontainer--in-graphical-mapping-xi
regards
Priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Udo,
Simple duplicate the subtree for <elm> (right click on the element in the source structure of the mapping editor) and create one mapping
fieldA -> elm
and one
fieldB -> elm
Best regards
Joachim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
its prety staight forward, if you were to do the message mapping using custom ABAP mapping or java mapping.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how to use abap-mapping in xi 3.0.pdf
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.