In one of our PI projects we had a scenario wherein we had to take the Customer Sales which came in as an XML message and post it as an WPUBON.WPUBON01 IDOC in the target system.
Seems pretty straight-forward so what was the challenge in this scenario to post it as a Blog.
We had multiple challenges in this requirement, but I will discuss about one challenge which I feel many fellow SDNers will find useful.
Source structure had multiple Customer Sales segment (unbounded) which had to be mapped to a specific segment in the target IDOC WPUBON.WPUBON01 called E1WPB02. The E1WPB02 segment had restricted number of occurence of 1..500.
Screenshot of source structure
Screenshot of target structure