09-16-2008 5:53 PM
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
09-16-2008 6:01 PM
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
09-16-2008 6:01 PM
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
09-16-2008 6:01 PM
Use FM BAPI_SALESORDER_CHANGE with:
SALESDOCUMENT
ORDER_HEADER_IN-DLV_BLOCK = 'New delivery block'.
ORDER_HEADER_INX-DLV_BLOCK = 'X'.
Regards,
Valter Oliveira.