cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC mapping 1 to 0..unbounded problem in PI 7.1

Former Member
0 Kudos

All,

We've recently implemented SAP PI 7.1 but we face an issue at the moment. Let me describe the case

We have a Source message which is the DEBMAS IDOC.

Within the IDOC we use mappings for Header data and for Detail Data.

Mapping the header data is no issue that is a 1 to 1 message mapping to our canonical data.

BUT

When we want to use the message split mapping in order to extract the detail data PER line we have discovered a problem.

When within a message mapping or within the operation mapping we use as Source the IDOC ( occurancy 1 ) and the target we take our detail canonical message (occurancy 0..unbounded) we are getting the message in our mapping that the IDOC cannot be resolved.

When we change the target occurancy to 1 then the mapping works well.

Is there any one facing the same issues as we do.

thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

This is an issue with queues with different length. You should always avoid this, as you cannot be sure, what happens.

Instead of assigning a single entry queue to a target that expects a multiple entry queue, you should go for a generating function. A generating function delivers as many queue entries as requested.

In your scenario, just use an empty constant. Of you have a value to be repeated, use CopyValue.

Regards

Stefan

Answers (1)

Answers (1)

Former Member
0 Kudos

For thsi issue SAP created a note. This wasn't an issue from the developer but from SAP