2007 May 21 8:58 PM
Hi ,
Do you know any function module/BAPI that can update batch-split for the delivery (VL02N)? A sample code for the function module or bapi would be great.
Thanks in advance.
Hi ,
Do you know any function module/BAPI that can update batch-split for the delivery (VL02N)? A sample code for the function module or bapi would be great.
Thanks in advance.
2007 May 21 9:35 PM
Use below FM,
data : i_lips like lips occurs 0 with header line,
i_prot LIKE prott OCCURS 0 WITH HEADER LINE.
Clear : i_prot.
refresh : i_prot.
i_lips-CHSPL = 'ur value'.
Delivery Update
CALL FUNCTION 'LE_MOB_DELIVERY_UPDATE'
EXPORTING
do_commit = 'X'
TABLES
t_delivery_items = i_lips
prot = i_prot
EXCEPTIONS
conversion_overflow = 1
essential_data_missing = 2
error = 3
nothing_to_update = 4
lock_after_update_failed = 5
error_in_delivery_update = 6
OTHERS = 7.
COMMIT WORK.
2007 May 22 12:15 AM
Thanks Seshu. But I had to change few other things and so used bapi 'BAPI_OUTB_DELIVERY_CHANGE' and it worked!
Thanks anyways.
2007 Nov 26 3:58 PM
Hi,
Can you pls let me know how exactly you achieved this?
Thanks,
Hitesh
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |