Skip to Content

message split mapping for multiple header and multiple details records

I have a requirement which goes as below:

My source file has multiple headers and each header has multiple details(count of details per header varies). I want to pass 1 header with its detail lines as 1 message to target.

eg. source message H1,D1,D2,H2,D3,H3,D4 .....

target message 1: H1,D1,D2

target message 2: H2,D3

target message 3 : H3, D4 on.

The problem i am facing is at context level change for Detail lines.

Below snapshot is where i need help to map target messages with 1 header and its corresponding detail lines. Then using multi mapping, i will use this target message to map to RFC in ECC.

Let me know if this is not clear. Please share suggestions.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 05, 2017 at 05:39 PM


    this is solved by using sender file FCC + mapping as suggested above by Avinash.


    Add comment
    10|10000 characters needed characters exceeded

  • Jun 16, 2017 at 03:01 AM

    Hi Harshit,

    You need to do following.

    1. Go to message mapping->signature tab and change the target occurrences to 1-unbounded.

    2. In your message mapping, map Header in source structure to parent node in target structure. And do the rest of the mapping accordingly.

    Then you can be able to send one record at a time to your target RFC.

    Thanks & Regards,

    Avinash Bandela

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Avinash,

      This will only help in creating multiple messages at target with only Header record.

      In my case i guess message split is required with multi mapping where the occurrence of Detail record is 0...unbound for every header record. I am trying to figure out the same.