Reputation: 5554
When using function module WS_DELIVERY_UPDATE_2
, the delivery note is being printed even though we cleared the printer, copies and also the 'Print inmediately' check in tx NACE for message LD00 for a selected shipping point.
The configuration works for VL02N but it doesn't in our Z program where we manage some delivery notes.
This is the code:
call function 'WS_DELIVERY_UPDATE_2'
exporting
vbkok_wa = vbkok_wa
commit = 'X'
delivery = lv_vbeln
update_picking = 'X'
nicht_sperren_1 = 'Y'
if_database_update_1 = '1'
if_error_messages_send = ' '
tables
vbpok_tab = vbpok_tab.
Ok, checking the import parameters of the function I can see NO_MESSAGES_UPDATE_1
which, I can relate or imagine what could do but, has anybody tried this parameter?
Will this parameter avoid the printing of the message?
Upvotes: 0
Views: 2473
Reputation: 5554
Well, tried the parameter NO_MESSAGES_UPDATE_1
but didn't work.
We managed to literally delete the record in NACE
for the shipping point and that made it.
Originally we just cleared the printer, the copies and the 'Print immediately' check.
Upvotes: 1