‎2007 Sep 25 12:30 PM
How is FM WS_DELIVERY_UPDATE_2 used to split a delivery?
I was trying FM LE_DSP_ALL_STEPS, but when I have two transport orders inside a delivery it splits the one corresponding to the handling unit I am not providing. [If someone knows how to solve this, I'd be glad to know the reason why it's not working]
Thanks in advance.
‎2007 Sep 25 12:35 PM
Hi,
Here is the data
MOVE-CORRESPONDING ps_likp TO ls_vbkok.
ls_vbkok-vbeln_vl = ps_likp-vbeln.
ls_vbkok-vbtyp_vl = ps_likp-vbtyp.
ls_vbkok-wabuc = 'X'."booking
ls_vbkok-kzreg = 'X'."registration
ls_vbkok-kzlfd = 'X'."registration
CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
EXPORTING
synchron = gc_true
vbkok_wa = ls_vbkok
delivery = ps_likp-vbeln
IMPORTING
ef_error_any = lv_error_any
ef_error_in_goods_issue = lv_error_in_goods
TABLES
prot = lt_prot
EXCEPTIONS
error_message = 1.
Regads
Sudheer
‎2007 Sep 25 1:10 PM
Thank you, Sudheer,
Is there a way to specify the transport order I want to split?