2009 Nov 11 5:22 AM
Hi Experts,
I am calling fm WS_DELIVERY_UPDATE 2 times in my program. After both FM am calling BAPI_TRANSACTION_COMMIT
In first case am getting error messages in prot table but in second case though am passing same parameter am not getting messages in prot table.... Message is coming on screen itself and program execution stops over there...
ex. of error message " Delivery is already fully invoiced"
In both d case am passing following parameters
EXPORTING
vbkok_wa = vbkok_wa
synchron = 'X'
delivery = wa_input-vbeln
update_picking = 'X'
nicht_sperren = 'X'
if_error_messages_send_0 = ' '
TABLES
vbpok_tab = vbpok_tab
prot = prot
Why am not getting error messages on screen? Is there any parameter we need to pass??
Thanks in advance
2009 Nov 11 5:56 AM
Hi.
check this FM.
Remove Non Active line items from the Delivery.
call function 'WS_DELIVERY_UPDATE'
exporting
vbkok_wa = wa_vbkok
commit = 'X'
synchron = c_x
delivery = wa_ser-vbeln
importing
ef_error_in_item_deletion_0 = wa_xfeld
tables
vbpok_tab = gt_vbpok
PROT = PROT
exceptions
error_message = 99.
you are getting execptions
Handle that exceptions.
Regards
Mohinder Singh Chauahn