Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Mapping every record in a given message type to an IDoc

Hi all,

As per the requirement, I have a message type which stores a number of records from the database. The root node of the message type repeats as many times as the number of records. I need to map this message type to an IDoc with an IDoc created for each record. However, the pre-defined structure of IDoc has the root node occuring only once. Can the mapping of every record to an IDoc be acheived by using Message tab of the message mapping to have the IDoc occurence as 0..unbounded?



Former Member
Former Member replied


Idocs wont work with changing occurances in Message Tabs or in Interface Mapping.

Please export the XSD of Idoc from IR. Change the occurrance in XSD save it and import to IR.

Second option is to go for Idoc Packaging.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question