Skip to Content
Former Member
Nov 23, 2012 at 02:53 AM



Hi community!

Has anyone tried to send a different Delivery type on BAPI_OUTB_DELIVERY_CREATE_SLS?

This is the scenario:

In a Return sales document type (R1) we create 2 Delivery Documents one for "fine" goods (D1) and another one for damage goods (D2), the D1 delivery is configured in the R1 Document so when we call BAPI_OUTB_DELIVERY_CREATE_SLS it creates the delivery with the items we send. Until this point there´s no problem.

The problem comes with the next step when we try to create de D2 delivery for damage goods and call the BAPI it sends the BAPI 001 message "No instance of object type OutboundDelivery has been created. External reference:" so: any ideas on how could we deal with this issue? i've checked the BAPI_OUTB_DELIVERY_SPLIT_DEC but it's not a split of a delivery, the fm BAPI_DELIVERYPROCESSING_EXEC but i read that's not a bapi for "public" use, the BAPI_OUTB_DELIVERY_SAVEREPLICA it's for "copy" of deliveries, i dunno if the ExtensionIn parameter on CREATE_SLS could be useful.

When creating the delivery on VL01N we have no problem, so maybe a call transaction?

Any ideas or comments will be appreciated.

Kind Regards!