Skip to Content

map to iDoc with maxoccurs

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Aug 13, 2015 at 07:45 PM

    Hello Eberhard,

    Split the Message to mutliple Idocs and process them.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 13, 2015 at 07:57 PM

    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

    Add comment
    10|10000 characters needed characters exceeded