on 12-10-2007 3:32 PM
Hi @ll;
i try to realize a Message Mapping in a Szenario.
Unfortunately I have some problems with the context handling
The input message looks like this
<E1EDP01>
<POSEX> ... </POSEX>
<LGORT/>
<configuration>
<configKey>abc</configKey>
<details>
<INST>
<CSTICS>
<CSTIC CHARC="FMU860_010" ATFLV="111" KZAUS="2" KBETR="62"/>
<CSTIC CHARC="VARCOND_RESULT"/>
<CSTIC VALUE="1" KZAUS="1"/>
<CSTIC CHARC="FMU860_030" ATFLV="222" KZAUS="2" KBETR="74"/>
</CSTICS>
</INST>
</details>
</configuration>
</E1EDP01>
And the target message like this
<E1EDP01 SEGMENT="1">
<POSEX>00010</POSEX>
<Z1VARLEN SEGMENT="1">
<GROUP>this should be CHARC e.g FMU860_010"</GROUP>
<VAR_LAENGE>this should be ATFLV</VAR_LAENGE>
</Z1VARLEN>
</E1EDP01>
I want to create the target element<Z1VARLEN/> depending on the attribute KZAUS (value should be KZAUS="2") of the element CSTIC. .
Further if <Z1VARLEN/> is created, the child element <GROUP> should contain the value of the CHARC element of the suitable CSTIC.
a example is shown in the target message.
how can I realize that using the Node Functions of the Message Mapping?
I hope your experts can give me some advice
Thanks in advance
Kind regards
Jochen
Hi Jochen,
I have copied mapping images to the following URL
http://www.flickr.com/photos/14144840@N02/?saved=1
<u><b>Fig-1:</b></u> mapping Z1VARLEN(T)
1.inputs to <b>equalsS</b> are <b>KZAUS</b> attribute(Note:Change context to CSTICS) and <b>Constant</b> with value "2"
2. output of <b>equalsS</b> will become input to <b>if</b> boolean function as shown in fig-1
<u><b>Fig-2:</b></u> mapping GROUP(T)
1.inputs to <b>equalsS</b> are <b>KZAUS</b> attribute(Note:Dont change context) and <b>Constant</b> with value "2"
<u><b>Fig-2:</b></u> mapping VAR_LAENGE(T)
1.inputs to <b>equalsS</b> are <b>KZAUS</b> attribute(Note:Dont change context) and <b>Constant</b> with value "2"
Please let me know if you are not clear with this.
Cheers,
Jag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jochen,
Do you get always CHARC and ATFLV values when KZAUS = "2"?
i look forward to hearing from you.
Cheers,
Jag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.