how to update delivery block in delivery(vl02n) using BAPI
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
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'