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

Create Outbound Delivery

Former Member
0 Likes
1,308

Hi. Does anybody know a bapi to create outbound deliveries (instead VL10B) transaction? I also would like to have an example of the bapi if exists. Thanks.

Hi. Does anybody know a bapi to create outbound deliveries (instead VL10B) transaction? I also would like to have an example of the bapi if exists. Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
670

Hi,

Please try this BAPI BAPI_DELIVERYPROCESSING_EXEC.

Check this links for sample codes.

Hope this will help.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
670

Hi,

Check this example...BAPI_DELIVERYPROCESSING_EXEC....This example is for creating a outbound delivery for a sales order..

Use the document_type to 'B' for purchase orders..

CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'

TABLES

request = t_request

createditems = t_created

return = t_return

.

READ TABLE t_return WITH KEY type = 'E'.

IF sy-subrc = 0.

MESSAGE e208(00) WITH 'Delivery creation error'.

ENDIF.

COMMIT WORK.

Thanks,

Naren

Read only

Former Member
0 Likes
670

Hi,

Seems we do not have the BAPI for this one, there is a optin, you can do by using VL04, there give the order no and the item date and execute this then the delivery will be created

Regards

Sudheer