Skip to Content
avatar image
Former Member

Problem in complex mapping for Idoc

Hello gurus,

I have an XML file for ASN.  I’m using Idoc DELIVRY05 and I have also to prepare the packaging.  But I have a problem in my mapping.  I’m not able to put the Number of the Packaging in the Segment E1EDL44 (@identifier 1 and @identifier 2).

Input

Output  (Idoc Delvry05)

Case   @identifier  1

OrderNumber  1

OrderNumberItem  0001

OrderNumber  1

OrderNumberItem  0002

Case   @identifier  2

OrderNumber  1

OrderNumberItem  0003

OrderNumber  1

OrderNumberItem  0004

E1EDL24 – OrderNumber 1 OrderNumberItem  0001

E1EDL43 - OrderNumber 1 OrderNumberItem  0001

E1EDL24 – OrderNumber 1 OrderNumberItem  0002

E1EDL43 - OrderNumber 1 OrderNumberItem  0002

E1EDL24 – OrderNumber 1 OrderNumberItem  0003

E1EDL43 - OrderNumber 1 OrderNumberItem  0003

E1EDL24 – OrderNumber 1 OrderNumberItem  0004

E1EDL43 - OrderNumber 1 OrderNumberItem  0004

E1EDL37 - @identifier  1

         E1EDL44 - OrderNumber 1 OrderNumberItem  0001 @identifier  1

         E1EDL44 - OrderNumber 1 OrderNumberItem  0002 @identifier  1

E1EDL37 - @identifier  2

         E1EDL44 - OrderNumber 1 OrderNumberItem  0003 @identifier  2

         E1EDL44 - OrderNumber 1 OrderNumberItem  0004 @identifier  2

In the segment E1EDL44, OrderNumber and OrderNumberItem are correctly mapped, but never the @identifier.

For the other Segment, no problem, the mapping is ok.

Can someone help me with this mapping.

Thanks a lot

Jean-Claude Onderbeke

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    May 04, 2013 at 05:42 AM

    Hi Jean-Claude,

    post the screen shot for better understanding.. i didn't get your exact requirement..

    have you tested your mapping? if mapping is fine?

    you mentioned the segment which will be there under data record only right? or the other.

    you can ignore the segment field by passing some constant to it

    say Constant " 1 " ----> segment in mapping.

    hope it will helpful 😊..

    Add comment
    10|10000 characters needed characters exceeded

  • May 08, 2013 at 08:49 AM

    You posted the wanted result but can you tell us what is your actual result from the mapping.

    I guess you need a one to many function and don't know how to use it correctly ?

    As an alternative you can define a parameter direct under segment E1EDL37 which you can then use to map to the items.

    identifier1 -> E1EDL37

                     ->    $identifier

    $identifier -> E1EDL44

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Peter,

      I have put in my preceding answer the situtation and the expected situation.

      I'll try to define a parameter under E1EDL37

      Thanks a lot

      JC

  • May 03, 2013 at 09:19 PM

    Hi Jean-Claude,

    I did not understand the INPUT with Case   @identifier  2. Can you please give the source data type screenshot and the business rule for the population of E1EDL44 segment.

    cheers,

    Ambrish

    Add comment
    10|10000 characters needed characters exceeded