Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Message mapping challenge in IDOC to EDI scenario

Dear PI message mapping experts,

I'm a newbie in PI and facing a mapping problem using graphical message mapping.

I'm in an IDOC (INVOIC.INVOICE02) to FILE (EDI) scenario.

Here after is the mapping i need to perform :

Source structure IDOC :

<E1EDKA1> (0..99)
   <NAME1> A </NAME1>  (0..1)
   <NAME2> B </NAME2>  (0..1)
   <NAME3> C </NAME3>  (0..1)
   <NAME4> D </NAME4>  (0..1)
</E1EDKA1>

Target structure :

<AccountingCustomerParty>  (1..1)
   <Party> (0..1)
      <PartyName> (0..unbounded)
          <Name>A</Name> (1..1)
      </PartyName>
      <PartyName>
          <Name>B</Name>
      </PartyName>
      <PartyName>
          <Name>C</Name>
      </PartyName>
      <PartyName>
          <Name>D</Name>
      </PartyName> 
   </Party>
</AccountingCustomerParty>

I know i have to play with context and queues with stanard function or UDF but cannot succeed to do it.

Could you please help me ?

Thanks in advance,

Alysee

Former Member
Not what you were looking for? View more on this topic or Ask a question