Skip to Content
avatar image
Former Member

Mapping of Idoc to external system..

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jan 28, 2013 at 01:46 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 28, 2013 at 02:24 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 29, 2013 at 04:44 AM

    Hello,

    You can try this mapping:

    For Line Attachment

    For Line Attachment Text

    Test:

    Hope this helps,

    Mark

    Add comment
    10|10000 characters needed characters exceeded