简体   繁体   中英

FUNCTION WS_DELIVERY_UPDATE_2 with NO_MESSAGES_UPDATE_1 = 'X'

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM