2016 May 16 6:08 AM
Hi,
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
Thxs!
Hi,
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
Thxs!
2016 May 16 7:21 AM
Hi
Can you write the name of BAPI being used .. there may be alternative BAPI's which you should be using like Update .Save etc .. see if that works and Add all the text in a loop ?
Regards
Vinita