Skip to Content
avatar image
Former Member

SAP PI Mapping single Idoc type multiple message types

Here is the scenario - File to ZIDoc ; based on conditions the MESTYP on idoc has to be changed, rest of the field mapping does not change much.

Mapping program is working fine ZIDOC edited for 1..unbounded, based on mapping logic multiple idocs of different message type are visible in mapping test screen.

the issue is at Receiver Agreement... I used the one receiver agreement with ZMSG.ZIDOC type BUT in the mapping we have ZMSG1.IDOC & ZMSG2.IDOC and ZMSG3.ZIDOC.

so when the mapping executes it posts all idocs as same message type mentioned in Receiver Agreement and is NOT picking message type from Mapping .. is there any additional parameter that has to be maintained at receiver agreement ? or we have to end up creating 4 different mapping and 4 different receiver agreements

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 11, 2016 at 09:16 AM

    Hello Rathna,

    Ensure all the messages are shown in the interface determination.

    And you need to create for RA for each message,But one mapping should be sufficient.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 05, 2017 at 03:36 PM

    The solution was to create multiple receiver agreements

    Add comment
    10|10000 characters needed characters exceeded