Update Pick Qty in Delivery

Hello
I am trying to use FM SD_DELIVERY_UPDATE_PICKING_1 for updating the pick qty in the delivery. My scenario has 2 line items each having a batch split line. I need to update the pick qty for these batch lines from a Z transaction where the user inputs the pick qty.
The problem is that the pick qty is getting updated always with the delivery qty even if the user enters a pick qty value less than the delivery qty.
It would be highly appreciated if anyone can suggest where the problem might be (i may not be using the FM correctly).
Thanks in Advance.

Have you check the FM
RV_DELIVERY_PICK_UPDATE
RV_DELIVERY_PICK_VIEW
Thanks

Similar Messages

  • How to update picked qty as delivery qty while creating outbound delivery

    Hi,
    I am using badi definition LE_SHP_DELIVERY_PROC to update delivery qty as picked qty at the time of creating delivery. By using method SAVE_DOCUMENT_PREPARE I am populating delivery qt(yCT_XLIPS- G_LFIMG) to picked qty(CT_XLIPS[1]-PIKMG). and i am also populating update flag as 'I'. after saving the delivery document i am not able to update picked qty which was populated in BADI. could you please suggest anything needs to care. thanks in advance.
    Regards,
    Peranandam

    Hi,
    I did a little test and, within the method CHANGE_DELIVERY_ITEM, itu2019s possible to fill the picking quantity (structure CS_LIPSD) but unfortunately during the save the added information is lost.
    This is because the BAdI method is fired too soon and the routine PICKMENGE_BEARBEITEN (SAPFV50P) is not called at all.
    The problem is quite complex; even after changing the picking quantities, the picking status still remains open!
    The picked quantity is generally filled:
    u2022     by printing the picking list
    u2022     Warehouse Management by creating a transfer order
    u2022     or by manual entry
    Otherwise, it is assumed that picking has not yet been initiated and the result is that picked quantity is ignored.
    In my opinion itu2019s very difficult to solve your problem using only the BAdI implementation.
    I suggest you to propose an alternative solution such as the automatic processing of Picking Output EK00; easy to activate and absolutely standard!!!!!!
    Regards,
    Andrea

  • I need a FM to update batch no. & picking qty. of delivery  also to do PGI.

    I need a FM to update batch no.& picking qty of delivery items as well as to do PGI (Post goods issue) for the same delivery.I am using 'WS_DELIVERY_UPDATE' but it doesn't update the batch no. and gives error saying no bactches are deifned for delivery no XXXXX and item XXXX.Can any one suggest the suitable function module to do this? It will be better if you can give details about input parameters with example.
    Thanks & Regards,
    Nimish Dongare.

    Hi,
    I used the following code for both picking & PGI...I think it shud also work for updating the batch details.
    Picking:
    *get header data
    WA_VBKOK-VBELN_VL = <DEL_NBR>
    WA_VBKOK-VBELN = VBFA-VBELV
    get line data
    LOOP AT TAB_VBPOK.
    TAB_VBPOK-VBELN_VL = WA_VBKOK-VBELN_VL.
    tab_vbpok-posnr_vl = <line number> '900001'
    tab_vbpok-matnr= <material nbr>
    tab_vbpok-charg= <batch nbr>
    tab_vbpok-pikmg =<pick qty>
    tab_vbpok-meins= <uom>
       TAB_VBPOK-VBELN = SY-DATUM.
          TAB_VBPOK-POSNN = SY-UZEIT.
          TAB_VBPOK-VBTYP_N = VBFA-VBTYP_N.
          SELECT * INTO TABLE TVBFA FROM VBFA
                              WHERE VBELV = WA_VBKOK-VBELN_VL.
          SORT TVBFA DESCENDING.
          CLEAR TVBFA.
          READ TABLE TVBFA WITH KEY VBELV = TAB_VBPOK-VBELN_VL
                                    POSNV = TAB_VBPOK-POSNR_VL
                                    VBTYP_N = 'Q'
                                    TAQUI = ' '.
          IF SY-SUBRC EQ 0.
            V_PIKMG = TAB_VBPOK-PIKMG + TVBFA-RFMNG.        " Picking quantity
            CLEAR TVBFA.
            READ TABLE TVBFA WITH KEY VBELV = TAB_VBPOK-VBELN_VL
                                  POSNV = TAB_VBPOK-POSNR_VL
                                  VBTYP_N = 'Q'
                                  TAQUI = 'X'.
            IF SY-SUBRC EQ 0.
              V_PIKMG = V_PIKMG + TVBFA-RFMNG.               " Total Picking quantity
    *****Error Message: Picked quantity is larger than the quantity to be delivered.
              IF LIPS-LFIMG LT V_PIKMG.
                PERFORM GET_RETURN  USING 'E' 'VL' '019' SPACE SPACE SPACE SPACE
                          RETURN.
                V_EXIT = 'Y'.
                EXIT.             " EXIT THE RFC.
              ENDIF.
            ENDIF.
          ENDIF.
          MODIFY TAB_VBPOK.
    CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
          EXPORTING
            VBKOK_WA             = WA_VBKOK
            SYNCHRON             = 'X'
            DELIVERY             = WA_VBKOK-VBELN_VL
            UPDATE_PICKING       = 'X'
            COMMIT               = 'X'
            IF_DATABASE_UPDATE_1 = '1'
         TABLES
            VBPOK_TAB            = TAB_VBPOK
            PROT                 = I_PROTT.
        IF NOT I_PROTT IS INITIAL.
          RETURN-TYPE = 'E'.
          RETURN-MESSAGE = 'Picking Failed!'.
          EXIT.                                  "EXIT THE RFC
        ELSE.
          COMMIT WORK AND WAIT.
        ENDIF.
    PGI
    *get header data
    WA_VBKOK-VBELN_VL = <DEL_NBR>
    WA_VBKOK-VBELN = VBFA-VBELV
    CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
        EXPORTING
          VBKOK_WA               = WA_VBKOK
          SYNCHRON               = 'X'
          DELIVERY               = WA_VBKOK-VBELN_VL
          NICHT_SPERREN_1        = 'X'
          IF_ERROR_MESSAGES_SEND = 'X'
         TABLES
          PROT                   = I_PROTT.
      IF NOT I_PROTT IS INITIAL.
        RETURN-TYPE = 'E'.
        RETURN-MESSAGE = 'Goods Issue Failed!'.
        EXIT.                                  "EXIT THE RFC
      ELSE.
        COMMIT WORK AND WAIT.
    endif.
    thanks

  • Updating picking qty from Shipment confirmation

    Hi frenz,
           We got a requirement that when we get 856(shipment confirmation) from our external warehouse, we gotta update the picked quantities in delivery document and ASN has to be sent automatically.
           Can anyone help me on where to write coding for updating picked quantities on delivery document? Else do we have any standard way for doing this?
            Thanks in advance.
    praveen

    hi vinod,
              I know this function module already; Any way thanks for your reply. But i want some more information regarding this scenario. Like where do i write this code (do we have any exits?). N e way thank you for ur reply.
                                               ---praveen.

  • Reg:Copying the Delivered qty to picked qty in delivery(vl01n) transaction

    Hi Experts,
               While creating the delivery i need a user exits to copy the delivery qty to picked qty .
               so that when the user enters in the transaction vl01n the delivery qty and picked qty will be
               same and if any changes in picked qty he will change manually.
    Regards,
    Vikram

    hi,
    these r the total exits for vl01n and i don;t find any exit for this requirement.
    Exit Name           Description
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (headr)
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of Stock for POs for Shipping Due Date List
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)

  • Update picked quantity and delivery quantity in picking.

    hi,
    i completed delivery with reference of sales order, and also complete pgi useing tc vl02n . i want any standard function module or BAPI for  update the picked quantity and delivery quantity in picking.
    thanks in advance.

    Hi Dhanush,
    Refer to the function module WS_DELIVERY_UPDATE for pick, pack, update serial numbers & PGI functions of the delivery.
    Hope it helps!
    Thanks!
    Preethi.

  • Difference between pick qty and delivery qty

    Hi,
    My delivery qty is 5 pcs. However while making transfer order from within delivery, the Transfer order is being made automatcially for 17 pcs and so the pick qty is 17 pcs. Due to the differenc ein delivery qty and pick qty, I cannot do PGI in the delivery.
    When I use LT0G, and give the delivery and warehouse no and movement type 999, the system does not allow the transaction and gives a message that, function not yet supported for Handling units. But I do not have handling units in my delivery. Neither the system allows me to cnacel the Transfer order thru LT15.
    How to correct the above situation so that the TO does not pick up the qty greater than the delivery qty or what other alternatives are there. Also how to ensure that TO is made of qty which is equal to delivery qty.
    Iam not aware of WM module, so kindlyu tell in detial pls.
    regards
    sachin

    In IMG>LE>WM>Master Data> Define storage type.
    Check In stock removal control whether "Full stock removal reqmt act" is active.
    If this is active it will try to pull the total quant irrespective of your requirement.
    Reward if useful.
    Regards
    EDWIN.

  • Problem in FM:WS_DELIVERY_UPDATE to change picked qty and delivery qty

    Dear friends.
    i am trying to chande picked and del qty's through above fm.
    i am getting an error message like this:
    (Required field in interface to delivery update missing 0080000155 000010
    VBELN 000000            Message no. VL280 )
    i am pasing all requires parameters.
    please help me if any thing is missed..........
    here i am giving my code:
    DATA:i_vbeln TYPE vbeln,
         i_posnr TYPE posnr,
         i_new_delqty TYPE lips-lfimg,
         wa_lips LIKE lips OCCURS 0 WITH HEADER LINE,
         wa_likp TYPE likp.
    i_vbeln = '0080000155'.
    i_posnr = '000010'.
    i_new_delqty = '30'.
    SELECT SINGLE * INTO wa_likp
                    FROM likp
                    WHERE vbeln = i_vbeln.
    SELECT SINGLE * INTO wa_lips
                    FROM lips
                    WHERE vbeln = i_vbeln
                    AND posnr = i_posnr.
    DATA:gs_vbkok LIKE vbkok,
          gt_vbpok  LIKE vbpok OCCURS 0 WITH HEADER LINE,
          gt_prott LIKE prott OCCURS 0 WITH HEADER LINE,
          gs_prott LIKE prott.
    DATA:xfeld1 TYPE xfeld,
         xfeld2 TYPE xfeld,
         xfeld3 TYPE xfeld,
         xfeld4 TYPE xfeld,
         xfeld5 TYPE xfeld,
         xfeld6 TYPE xfeld,
         xfeld7 TYPE xfeld,
         xfeld8 TYPE xfeld.
    gs_vbkok-vbeln_vl = i_vbeln.
    gs_vbkok-vbeln = i_vbeln.
    gs_vbkok-brgew = wa_lips-brgew.
    gs_vbkok-kzbrg = 'X'.
    gs_vbkok-kzntg = 'X'.
    gs_vbkok-vbtyp_vl   = wa_likp-vbtyp.
    gs_vbkok-ntgew = wa_likp-ntgew.
    gs_vbkok-gewei = wa_likp-gewei.
    gs_vbkok-lgnum = wa_likp-lgnum.
    gs_vbkok-kodat =   wa_likp-kodat.
    gs_vbkok-KOMUE   = 'X'.
    *gs_vbkok-   = WA_LIKP-
    *gs_vbkok-   = WA_LIKP-
    *gs_vbkok-    = WA_LIKP-
    gt_vbpok-vbeln_vl = i_vbeln.
    gt_vbpok-posnr_vl = i_posnr.
    gt_vbpok-matnr = wa_lips-matnr.
    gt_vbpok-charg =  wa_lips-charg.
    gt_vbpok-lianp = 'X'.
    gt_vbpok-kzntg = 'X'.
    gt_vbpok-kzbrg = 'X'.
    gt_vbpok-lfimg = i_new_delqty.
    gt_vbpok-lgmng = i_new_delqty.
    gt_vbpok-umvkz =  wa_lips-umvkz.
    gt_vbpok-umvkn = wa_lips-umvkn.
    gt_vbpok-TAQUI = 'X'.
    gt_vbpok-brgew = wa_lips-brgew.
    gt_vbpok-ntgew =  wa_lips-ntgew.
    gt_vbpok-gewei =  wa_lips-gewei.
    gt_vbpok-vrkme =  wa_lips-vrkme.
    gt_vbpok-meins =  wa_lips-meins.
    gt_vbpok-VOLUM  =  wa_lips-VOLUM.
    gt_vbpok-VOLEH  =  wa_lips-VOLEH.
    gt_vbpok-vbeln = wa_lips-KDAUF.
    gt_vbpok-posnn =  wa_lips-KDPOS.
    *gt_vbpok-vbeln = wa_lips-vbelv.
    *gt_vbpok-posnn =  wa_lips-posnv.
    gt_vbpok-umrev = wa_lips-umrev.
    gt_vbpok-vbtyp_n = wa_lips-vbtyv.
    gt_vbpok-werks =  wa_lips-werks.
    gt_vbpok-pstyv = wa_lips-pstyv.
    gt_vbpok-ormng = '15'.
    gt_vbpok-ndifm = '15'.
    gt_vbpok-orpos = i_posnr.
    gt_vbpok-pikmg = '1'.
    gt_vbpok-SPE_DLV_QTY_FROM = i_new_delqty.
    APPEND gt_vbpok ."TO gt_vbkok.
    gt_prott-vbeln = i_vbeln.
    gt_prott-posnr = i_posnr.
    gt_prott-matnr = wa_lips-matnr.
    gt_prott-vrkme =  wa_lips-vrkme.
    gt_prott-lfimg = i_new_delqty.
    gt_prott-vrkme = wa_lips-vrkme.
    APPEND gt_prott." TO gt_prott.
    BREAK-POINT.
    CALL FUNCTION 'WS_DELIVERY_UPDATE'
      EXPORTING
        vbkok_wa                           = gs_vbkok
       synchron                           = 'X'
       no_messages_update                 = ' '
       commit                             = 'X'
        delivery                           = i_vbeln
       update_picking                     = 'X'
      nicht_sperren                      = ' '
      if_confirm_central                 = 'X'
      if_wmpp                            = 'X'
      if_get_delivery_buffered           = 'X'
      if_no_generic_system_service       = 'X'
       if_database_update                 = '3'
      if_no_init                         = ' '
      if_no_read                         = ' '
       if_error_messages_send_0           = 'X'
      if_no_buffer_refresh               = 'X'
      it_partner_update                  = ' '
      it_sernr_update                    = ' '
      if_no_remote_chg                   = ' '
      if_no_mes_upd_pack                 = ' '
      if_late_delivery_upd               = ' '
    IMPORTING
       ef_error_any_0                     = xfeld1
       ef_error_in_item_deletion_0        = xfeld2
       ef_error_in_pod_update_0           = xfeld3
       ef_error_in_interface_0            = xfeld4
       ef_error_in_goods_issue_0          = xfeld5
       ef_error_in_final_check_0          = xfeld6
       ef_error_partner_update            = xfeld7
       ef_error_sernr_update              = xfeld8
    TABLES
       vbpok_tab                          = gt_vbpok
       prot                               = gt_prott
      VERKO_TAB                          =
      VERPO_TAB                          =
      VBSUPCON_TAB                       =
      IT_VERPO_SERNR                     =
      IT_PACKING                         =
      IT_PACKING_SERNR                   =
      IT_REPACK                          =
      IT_HANDLING_UNITS                  =
      IT_OBJECTS                         =
      ET_CREATED_HUS                     =
      TVPOD_TAB                          =
      IT_TMSTMP                          =
      IT_BAPIADDR1                       =
      SERNR_TAB                          =
      IT_HURES                           =

    Hi,
    Thanks for the repl
    i also passed..
    vbeln_vl,
    posnr_vl,
    vbeln,
    posnn
    Still not working...any other info to pass to FM
    Regards,
    Raj

  • Problem in updating Pick Qty using SD_DELIVERY_UPDATE_PICKING_1

    Hi,
        I am updating the picking quantity in a delivery document using function module SD_DELIVERY_UPDATE_PICKING_1.
         However the document flow shows the picking request is still Open and not Completed. This does not happen when I do this online. Am I missing something in the parameters.
          Please advise as the documentation of this function module is not very clear.
    Thanks and Regards,
    Aditya

    Hi Ranjith,
             Thanks for all your input. I also posted a message to SAP and they recommended SAP Notes 457925 and 491875.
         I might go in for BDC as a last resort on VL02N since time is quite a constraint.
         I really appreciate the inputs you have given.
         Actually my customer system is running on mySAP ERP ECC 5.0 so it would certainly have all the note corrections mentioned in the several notes
    Thanks and Regards,
    Aditya

  • Update picking quantity in delivery for batch split items

    Hi,
    I'm trying to use the function module WS_DELIVERY_UPDATE to update the existing deliveries. I'm able to do batch split for the items in delivery using the same FM. I have also requirement to delete these items (batch split items).
    To delete these items first we have to make quantities to zero. So I'm able to make delivery quantity of these items to zero but not picking quantity.
    If we do not make picking quantity also zero it will not allow to delete these items
    and gives an error message saying "item is already made available for transfer order".
    Could some one let me kow how to make picking quantity also zero for batch spit items using FM.
    Thanks

    Hi Vikram
    To nullify the Picking Quantity, we can use FM: <b>SD_DELIVERY_UPDATE_PICKING</b>.
    Parameters to be passed:
    VBKOK_WA
    -- VBELN_VL - Delivery Number
    -- VBELN - Sales Document Number
    SYNCHRON - 'X'
    VBPOK_TAB
    -- VBELN_VL - Delivery Number
    -- POSNR_VL - Delivery Item Number
    -- VBELN -- Sales Document Number
    -- POSNN -- Sales Document Item Number
    -- MATNR -- Material Number
    -- LFIMG -- '0.000'.
    Have tried this in both cases whereby we have partial picking done and full picking done and worked for both cases.
    Please try on your end too...
    Hope this helps.
    Regards
    Eswar

  • Update picking quantity in delivery (Batch split items) using function modu

    Hi All,
    I need to update a picking quantity with zero value in delivery for batch split items (Item numbers start with 900001. etc).I'm trying to use WS_DELIVERY_UPDATE
    and SD_DELIVERY_UPDATE_PICKING. I'm passing parameter VBKOK-KOMUE , and all other details, but it is not updating.
    I'm able to update delivery quantity of same item with zero value but not picking quantity.
    Could you please let me know how to achive this.
    Regards
    Vikram

    I think the number 900001is mean batch split line item.
    example:
    In Deivery Note:
    Item 10
         Batch 900001
         Batch 900002
    Item 20
         Batch 900003
         Batch 900004
    That right,

  • How to Update picking qunatity while Automatic picking is active

    Hello All,
    I have a requirment of updating the Delivery pick quantity.
    I am updating the it through BAPI,
    Is there any other way of updating picked qunatity in case automatic picking is active.
    Please suggest
    regards,
    SNB

    Hello,
    Please look into below thread links for the same issue:
    Updating Picking Quantity using VL02N ?
    how to update picked qty as delivery qty while creating outbound delivery
    Hope the information is useful
    Regards,

  • Inventory movement takes away delivery note picked qty.

    We have a situation that delivery note is created and picking is saved. 
    Inventory movement such as “MB1A, MB1B, MB1C” or Post Goods Issue, the system will only check available inventory and not worry about confirmed and/or committed quantities.  And take away picked qty from delivery note.  Is this a SAP standard behavier or we are missing some setting?
    Thanks,
    Dori

    Hi,
    It is a standard behaviour of the system : some movements must have priority against sales requirement : if you need to scrap the goods, if you need to return the goods to the vendor, if you want to put the goods from unrestricted stock to quality or blocked stock, ..., idem with a change of storage location, ...
    If you really want to avoid this, there is some customizing in inventory management :(spro + MM + IM + outbound and transfers + availability checks or somethng like this) : like in SD for sales orders and deliveries, you will be able to decide by movement type and transaction what kind of stock you want to take into account.
    But, from what I know, no one excluded sales requirements. But we are in an SD forum
    Rgds,
    Philippe

  • Picking qty less than Delivery qty

    Dear All,
    I want to enter less picking qty than delivery qty during delivery process.
    Now system is not allowing for this fuctionality.
    How to achieve this?
    Rgds,
    Senni.B

    Dear Senni.B,
    > I want to enter less picking qty than delivery qty during delivery process.
    As per the standard functionality picking quantity should be equal to the delivery quantity.
    And not advaisable less picking qty than delivery qty during delivery process.
    Can you plse give more details In which scenario you require this functionality and what is the use of that.
    I hope this will help you,
    Regards,
    Murali.

  • Picking qty less than Delivery qty alert - Urg

    Hi Guys,
    We have done a configuration for order to cash scenario on ECC6.0 now we have one requirement that if picking quantity less than delivery quantity it should send an alert to customer representative.
    I have few questions below before start up configuration for that process.
    1. How do i configure to the system to send an alert when there is short pick in delivery document? 
    2. When customer representative receives the notification he or she make the necessary changes manually change in delivery document of delivery qty to picking qty.
    3. How do i say the logic to ABAPer to do a coding, I think there is no standard configuration to do that or if it is please write back to me.
    I posted few questions but none of the questions answered to me.
    Please go through and reply me back... Urgent.
    regards
    rc gopi

    Dear Senni.B,
    > I want to enter less picking qty than delivery qty during delivery process.
    As per the standard functionality picking quantity should be equal to the delivery quantity.
    And not advaisable less picking qty than delivery qty during delivery process.
    Can you plse give more details In which scenario you require this functionality and what is the use of that.
    I hope this will help you,
    Regards,
    Murali.

Maybe you are looking for

  • Conversion of Foreing Currency in INR

    Dear All, I have maintained exchange rate in OB08  e.g.From 10.09.08 to 18.09.08. Now I have generated an Import PO let us say on 16.09.08. I have key in Pricing date catagory as Manual & have given price date. Let us say 14.09.08. Below are the pric

  • Showing the number of photos

    I just upgraded to iPhoto 09, running under OX 10.5.6, 2.4 gHZ Intel Duo Core, 4 GB memory. In the iPhoto window, on the left hand is a list column. Under Library are Events, Photos, Faces, etc. Under Album, I have United States, etc. How can I get i

  • Got another MI424WR

    well, went to a verizon store and replaced my REV. C MI424WR that was causing SLOW download speeds, they gave me a new in box MI424WR REV. E, plugged it in all in as usual... ORANGE internet LED, stays orange, never goes green. I tried unplugging the

  • Forget password and email icloud

    Dear Sir, I would like to inform you that, I buy one IPAD Mini dated 20/1/2013 from STC .Saudi Arabia but now I am facing problem is my password not working because my child make change and I forget also, so I am requesting to you please provide me t

  • HT1937 i drop my iphone 4 to the toilet is possible to get my information back

    i drop my iphone 4 to the toilet is possible to get my information back. Or i lost the iphone and the information inside for ever??????