Skip to Content

BAPI to update picking quantity in a delivery

Hi,

I am looking for at BAPI where I can update picking quantity in a delivery.

The only candidate I found is:

BAPI_OUTB_DELIVERY_CONFIRM_DEC

But it seems to that this one can't be used for this!

Any suggestion?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2004 at 04:27 AM

    Try using "sd_delivery_update_picking". It is an RFC, can be called from other applications too.

    Shashi Reddy

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member



      wa_vbkok-VBELN_VL = it-vbeln.

      wa_vbkok-vbtyp_vl = 'A'.

      wa_vbkok-vbeln = it-vbeln.

      wa_vbkok-wabuc = 'X'.

      wa_vbkok-kodat = it-kodat.


      wa_vbpok-vbeln_vl = it-vbeln.

      wa_vbpok-posnr_vl = it-posnr.

      wa_vbpok-vbeln = it-vbeln.

      wa_vbpok-posnn = it-posnr.

      wa_vbpok-pikmg = it-pikmg.

      APPEND wa_vbpok TO it_vbpok.


      ENDLOOP.


      CALL FUNCTION 'WS_DELIVERY_UPDATE_2'

      EXPORTING

      vbkok_wa = wa_vbkok

      SYNCHRON = 'X'

      COMMIT = 'X'

      delivery = it-vbeln

      UPDATE_PICKING = 'X'

      NICHT_SPERREN_1 = 'X'

      IF_CONFIRM_CENTRAL = 'X'

      IF_DATABASE_UPDATE_1 = '1'

      TABLES

      VBPOK_TAB = it_vbpok

      PROT = it_return

      .



      read table it_return into wa_return where msgty = 'E'.

      if sy-subrc is not initial.

      COMMIT WORK.

      ENDIF.

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2013 at 12:01 PM

    Experts ,

    I am using BAPI_OUTB_DELIVERY_CREATE_STO to create outbound delivery against STO.

    But picking request is not created as a result, picking quantity is always zero.

    For other material in different plant Picking Qty is updated. Can you please provide the inputs.

    Thanks,

    Shashi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.