Hi Jürgen,
I don't know the MATMAS Idoc type, but I do know the ORDERS05 / DELVRY07 etc.
What I can say to give some inputs on your question is that for an INBOUND process , when the IDOC contains more than 1 item :
- If the localisation of the IDOC-segment containing item information, is not in the same sequence of your object in SAP, the system will automatically re-associate a NR to it.
In a nutshell you can sum-up the idea like this (let's say you are in WE02 tcode) :
Use case : Sale Orders Outbound and Inbound (with change) process :
Outbound IDOC (or Object) : Inbound IDOC (yours)
Header Segment Header Segment
- item A related segment | - Item B related segment
- item B related segment | - Item A related segment
- item C related segment | - Item C related segment
Result :
Item B Number Range and Item A Number Range will be somehow "re-generate" again.
Hope it gives you some keys. Don't hesitate to share your solution please.
Best regards,
Emeric.