Hi All,
Im having a problem here right now im using this bapi BAPI_DELIVERYPROCESSING_EXEC to create my delivery order. after the bapi is completed i never perform BAPI_TRANSACTION_COMMIT. Then i call the WS_DELIVERY_UPDATE to update the delivery order to pick items and also insert handling units. the issue is that when i call the WS_DELIVERY_UPDATE function module the outbound delivery is created and can be seen in the document flow of sales order. Is there anyway to not allow the outbound delivery to be created when calling function module WS_DELIVERY_UPDATE?
Im doing this is because i want to keep all the delivery order in the buffer before i commit. if i hit an error during the creation of the delivery order then i can rollback all the delivery order and there would not be any delivery order created.
Any solution on my issue above?
Thanks