Skip to Content
Former Member
May 16, 2016 at 05:08 AM

IDoc after adding Z text



We have scenarios where we create Shipment document (VT01n) using BAPI. Before this, we use to add test using standard BAPI structure and shipment and Text 1-4 was getting created in single LUW. IDOC is setup as output causing IDOC to trigger

In the change scenario, we have to add more texts so we have created Z text ( 12 of them) and now working on the code to add it

Using FM Create text requires, shipment no so i am calling this FM after the BAPI and commit work.

However, i am noticing that this treated as change in Shipment document and every text addition ( ZText1-12) is causing one idoc to trigger.

So lets say we have 12 Z text, it causes 12 idoc to create.

Can you advice, if we can advice Z text before the Shipment of if we have to do how to avoid multiple IDOC creation