2008 Jan 10 2:18 PM
Hi,
Can someone give me the BAPI which can used to create the delivery in the ECC 6.0?
Thanks,
Shashi Devi.
2008 Jan 10 2:26 PM
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.
2008 Jan 10 2:26 PM
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.
2008 Jan 10 2:44 PM
I need to create the Delivery based on the Sales order information.
2008 Jan 10 2:50 PM
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.
2008 Jan 10 2:51 PM
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.
2008 Jan 10 2:53 PM
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