Application Development 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: 

BAPI

Former Member
0 Kudos
115

Hi,

Can someone give me the BAPI which can used to create the delivery in the ECC 6.0?

Thanks,

Shashi Devi.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
70

Hi Shashi,

You can try these BAPIs

BAPI_STOREORDER_CREATE Creates Documents (PR, PO, Delivery or Sales ord

BAPI_DELIVERYFREE_PROXY_CREATE Proxy BAPI für Upload einer kostenlosen Nachlief

V50I Delivery BAPIs

BAPI_IBDLV_CREATE_FROM_OBDLV BAPI Inbound Delivery from Outbound Delivery

Reward if useful.

5 REPLIES 5

Former Member
0 Kudos
71

Hi Shashi,

You can try these BAPIs

BAPI_STOREORDER_CREATE Creates Documents (PR, PO, Delivery or Sales ord

BAPI_DELIVERYFREE_PROXY_CREATE Proxy BAPI für Upload einer kostenlosen Nachlief

V50I Delivery BAPIs

BAPI_IBDLV_CREATE_FROM_OBDLV BAPI Inbound Delivery from Outbound Delivery

Reward if useful.

0 Kudos
70

I need to create the Delivery based on the Sales order information.

0 Kudos
70

Hey check with,

BAPI_OUTB_DELIVERY_CREATE_SLS

CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'

TABLES

request = t_request

createditems = t_created

return = t_return.

CALL FUNCTION 'WS_DELIVERY_UPDATE'

EXPORTING

vbkok_wa = vbkok_wa

delivery = t_created-document_numb

IMPORTING

ef_error_in_goods_issue_0 = v_error.

Former Member
0 Kudos
70

Hi Shashi,

You can go to the BAPI transaction and search for the BAPI

In that you can go for logistics and Execution.

There you can find the related BAPI.

Reward if useful.

Former Member
0 Kudos
70

hi shashi devi,

try this BAPI

BAPI_SALESORDER_CREATEFROMDAT2

One BAPI will always only do as much as one transaction. If in customizing some automatic follow-on functions are defined (maybe by workflow), then this should work online or with BAPI the same way (unless requirements are used).

For sales order:

BAPI_SALESORDER_CREATEFROMDAT2

For delivery:

BAPI_OUTB_DELIVERY_CREATE_SLS

Goods issue can be automatic with confirmation of the delivery, so maybe you should look for a FM, but maybe a small batch input will be easier (just enter the delivery in VL02N and press the goods issue on the entry screen - here even the enjoy version is no harm, because entry screen is still standard transaction).

you can refer to this link also:

reward if helpful

regards,

sravanthi