on 10-01-2007 10:31 PM
Hi Gurus
We use delivery without reference(vl01no) for shipping out the non stock items .The items contains serial numbers that needs to be included in this delivery note.
Can anyone tell me whether this can be achieved by configuration????
Thanks
SAM
Hi Sam
Hi,
Below is the function module which u can used to update the serial numbers for each delivery line item.
FORM serial_no_update TABLES p_it_returns STRUCTURE ztpi_dlvreturn.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
EXPORTING
header_data = it_header_data (delivery number alone is sufficient)
header_control = it_header_control (delivery number alone is sufficient)
delivery = v_delivery (delivery number alone is sufficient)
TECHN_CONTROL =
TABLES
HEADER_PARTNER =
HEADER_PARTNER_ADDR =
HEADER_DEADLINES =
ITEM_DATA =
ITEM_CONTROL =
item_serial_no = it_item_serial_no
SUPPLIER_CONS_DATA =
EXTENSION1 =
EXTENSION2 =
return = it_return
TOKENREFERENCE =
.
READ TABLE it_return WITH KEY type = 'E'.
IF sy-subrc NE 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
Reward if useful to u
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.