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.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi,
this is solved by using sender file FCC + mapping as suggested above by Avinash.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.