cancel
Showing results for 
Search instead for 
Did you mean: 

message split mapping for multiple header and multiple details records

06-15-2017 7:42 PM
1516 views 3 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

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

......so 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.

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

Hi,

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

Thanks

Answers (1)

Answers (1)

former_member216164
Participant
0 Likes

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

0 Likes

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.

Thanks