cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping of Idoc to external system..

Former Member
0 Kudos

Hi Frnd,

I am struggling with one mapping scenario and looking your help to achieve the output.

It's for Idoc to external system.

     Source Structure -->

EDP01 (  0 to unbounded)

--EDPT1( 0 to unbounded)

            TDID  ( 0 to 1)

--- EDPT2

                  TDLINE ( 0 to 1)

Receiver Structure --->

OrderLines ( 0 to 1)

   -- OrderLine ( 0 to unbounded)

        ---Lineattachments(0 to 1)

               ----Lineattachment( 0 to unbounded)

                              -----LineattachmentText( 0 to 1)

Mapping has to perform like, if TDID contains F12 then TDLINE value has to be populated into the LineAttachmentText. And the occurance of OrderLine should be the same as the occurance of EDP01. Means if EDP01 is coming  three times then OrderLine will also be created three times. And if the TDID comes in the second EDP01 then the Lineattachment should be filled into the second OrderLines.

Please provided you valuable inputs.

Thanks,

Raj

Accepted Solutions (0)

Answers (3)

Answers (3)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

You can try this mapping:

For Line Attachment

For Line Attachment Text

Test:

Hope this helps,

Mark

Former Member
0 Kudos

HI,

EDP01 -->OrderLine

Make sure you map Lineattachments with constant .(If you dont open top nodes bottom values wont get populated)

Rest you can follow as above said.

Cheers

Venkat

Former Member
0 Kudos

Hi Raj,

Try createIF node function.

TDID--->Equals(Text Function)-->CreateIF-->Lineattachment

Constant(F12)

TDLINE(Change Context to EDPT1)-->LineattachmentText( 0 to 1)

Try this mapping.

Thanks,

Satish.