Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using code for creating outbound delivery from sales orders

Former Member
0 Likes
1,260

All,

I have a client requirement where sales orders will be created and updated from an external 3rd-party system, as well as having outbound deliveries created and updated from this 3rd-party system. There seems to be lots of information online about uses of BAPIs or IDOCs to create the sales orders from external systems.

But the process to create a new delivery based on a sales order (using BAPI_OUTB_DELIVERY_CREATE_SLS or its IDoc SHP_OBDLV_CREATE_SLS01 ) looks like it was newly released with ECC 6.0 and was not previously available, making it hard to find information online about using this BAPI or IDoc.

Can anyone share their experience if you have used these available options for outbound delivery creation? What issues did you encounter, like failure to create delivery if not enough stock is available, or someone was editing the order in VA02 causing a user lock failure?

Has anyone using an older version of SAP created their own 'create delivery from sales order' function module? If so, was it successful? What effort was required - difficult or easy to develop?

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
825

Sales Order Type customization provides the option to create an Outbound delivery, as soon as the Order is saved.

Go to Tcode VOV8

Open any Sales Order type

In the Shipping Frame, you will find the field "Immediate Delivery". Set this to X or A, as per the requirement.

Your SD consultant should be knowing this step.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
825

Yes, I am aware of the order type customization, commonly used for rush orders. I was more looking for help from a coding or interface perspective using the BAPI or IDoc.

Read only

0 Likes
825

Hi Mark,

I've got this same requirement and am wondering if you ever got a resolution for this?

(Specifically, creating an outbound delivery from a sales order using ABAP)

Thx.

Andy Jacobs