Skip to Content

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

creating multiple idocs in ABAP mapping


my scenario is source message (JDBC) to target message (idoc).

There can be multiple idocs (unbounded).

I am using ABAP mapping to create the Idoc XML structure. For this i use function module IDX_IDOC_TO_XML.

The idoc is getting created but the problem occurs in case of generating multiple idoc instances.

I changed the idoc occurence to unbounded & used the new idoc external definition in the interface mapping.

I also call the IDX_IDOC_TO_XML & create the output stream factory in a loop (per idoc ).

However only 1 idoc gets generated every time.

Can someone suggest how to create the multiple idocs.



Former Member
Not what you were looking for? View more on this topic or Ask a question