Skip to Content
0
Nov 22, 2005 at 02:08 PM

Mapping of source message to IDOC.. What values should be assigned?

70 Views

Hi guys, again 😊

I have SOAP->XI->IDoc scenario, but my IDocs arrive only with 1 segment... The IDoc is not standard, and has a lot of fields, but I want to fill only a few of them in some segments. Lets say, that I have 4 segments, with occurence 0..999999, each value has occurence 0..1 like following..

seg1-val1

-val2

-val3

seg2-val1

-val2

-val3

seg3-val1

-val2

-val3

seg4-val1

-val2

-val3

and I have source message like

<seg1>

<val1>..</val1

</seg1>

<seg1>

<val1>..</val1>

</seg1>

I think, I have to map seg1 tag to seg1 segment, and val1 tag to val1 field..

But! DO I HAVE TO MAP also seg1 tag to seg2, seg and seg4 segment? (to create logical "table"), or it is not necessary...

Next question: what value should be assignet to @SEGMENT attribute of segments? also (IDOC segment?) Should it be some constant?

Thank you guys!