cancel
Showing results for 
Search instead for 
Did you mean: 

map to iDoc with maxoccurs

0 Kudos

short Question: if i map in PI for example 240 records to SAP Standard iDoc structure with maxoccurs 200, then iDoc is sent green and 40 records are lost .... how can i get control of this or avoid it? Thanks in advance and best regards Eberhard

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Hello Eberhard,

Split the Message to mutliple Idocs and process them.

Answers (1)

Answers (1)

former_member184720
Active Contributor
0 Kudos

If you want to throw an exception,

simply use count(statistic) function and validate if it is >200.

you can let it fail at the mapping level by using the combination of count & create if.

Or as already suggested you can go for multimaping (splitting IDOC) if you would like process this message