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: 

how to update delivery block in delivery(vl02n) using BAPI

Former Member

hi all,

i have to update delivery block of a delivery using a BAPI. can any one suggest which bapi i have to use. and if possible let me know what are the mandatory fields that i have to fill in that bapi.

thank you all in advance

1 ACCEPTED SOLUTION

Former Member

HI,

Use the BAPI BAPI_OUTB_DELIVERY_CHANGE..

Pass the delivery number DELIV_NUMB in both HEADER_DATA and HEADER_CONTROL..

In HEADER_DATA-DLV_BLOCK pass the delivery block.

In HEADER_CONTROL-DLV_BLOCK_FLG pass 'X'

Thanks

Naren

2 REPLIES 2

Former Member

HI,

Use the BAPI BAPI_OUTB_DELIVERY_CHANGE..

Pass the delivery number DELIV_NUMB in both HEADER_DATA and HEADER_CONTROL..

In HEADER_DATA-DLV_BLOCK pass the delivery block.

In HEADER_CONTROL-DLV_BLOCK_FLG pass 'X'

Thanks

Naren

valter_oliveira
Active Contributor
0 Kudos

Use FM BAPI_SALESORDER_CHANGE with:

SALESDOCUMENT

ORDER_HEADER_IN-DLV_BLOCK = 'New delivery block'.

ORDER_HEADER_INX-DLV_BLOCK = 'X'.

Regards,

Valter Oliveira.