Skip to Content
0
Former Member
Nov 22, 2005 at 09:53 AM

batch split using BAPI_OUTB_DELIVERY_CHANGE

526 Views

I want to use BAPI_OUTB_DELIVERY_CHANGE to edit the D/O to add in the batch split and serial no. I pass in the following parameters:

delivery = '0080740827'.

item_data-deliv_numb = '0080740827'.

item_data-deliv_item = '00010'.

item_data-material = 'SL15C-ACPOA-003'.

item_data-dlv_qty = 0.

append item_data

item_data-deliv_numb = '0080740827'.

item_data-deliv_numb = '90001'.

item_data-deliv_item = '00010'.

item_data-material = 'SL15C-ACPOA-003'.

item_data-hieraritem = '00010'.

item_data-usehieritm = '1'.

item_data-batch = '20483602'.

item_data-dlv_qty = 2.

append item_data.

item_serial_no-deliv_numb = '0080740827'.

item_serial_no-itm_number = '90001'.

item_serial_no-serialno = '74714'.

append item_serial_no.

item_serial_no-deliv_numb = '0080740827'.

item_serial_no-itm_number = '90001'.

item_serial_no-serialno = '74755'.

append item_serial_no.

CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'

EXPORTING

  • header_data =

  • header_control =

delivery = delivery

  • TECHN_CONTROL =

TABLES

  • HEADER_PARTNER =

  • HEADER_PARTNER_ADDR =

  • HEADER_DEADLINES =

item_data = item_data

item_control = item_control

item_serial_no = item_serial_no

  • SUPPLIER_CONS_DATA =

  • EXTENSION1 =

  • EXTENSION2 =

return = return.

  • TOKENREFERENCE =

When I run the program, the system has error and ask me to put in header_data and header_control. I dont want to change the header_data, I just want to change the item data, how do I fill in header_data and header_control? is my parameters correct?