Who knows why the parimeters 'LGORT' can not be imported?
First the function WS_DELIVERY_UPDATE and the structure have been
released,second,when run the function in my code,there is no error
message or short dump,ALL other parameters are imported except 'LGORT'.
Please help to answer it,thank you.
My code is here:
DATA: vbkok LIKE vbkok.
DATA:vbpok LIKE TABLE OF vbpok WITH HEADER LINE.
DATA: prot LIKE TABLE OF prott WITH HEADER LINE.
vbkok-vbeln_vl = '0080188947'.
vbkok-vbtyp_vl = 'J'.
vbkok-vbeln = '0080188947'.
vbkok-wabuc = 'X'.
vbpok-vbeln_vl = '0080188947'.
vbpok-posnr_vl = '000010'.
vbpok-vbeln = '0080188947'.
vbpok-posnn = '000010'.
vbpok-werks = 'H050'.
vbpok-pikmg = '30'.
vbpok-lgort = '0010'.
APPEND vbpok.
CLEAR vbpok.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = vbkok
synchron = 'X'
commit = 'X'
delivery = '0080188947'
update_picking = 'X'
if_database_update = '1'
if_error_messages_send_0 = 'X'
TABLES
vbpok_tab = vbpok
prot = prot .
Edited by: gua mian on Jan 20, 2009 2:34 AM