Mapping every record in a given message type to an IDoc
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?
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.