Update Outbound Delivery

Hi,
  Which BAPI/FM can update the outbound delivery??
Regards,
Kit

Hi Kit..
I think WS_DELIVERY_UPDATE is available in your system ..just try this
The Documentation for this FM is(This is the Translation for German documentation )
Changes of supplies With this functional module supply data can be changed. The component can accomplish updates from the commissioning over Kommissionierbelegfluesse (quantities & weights), if the parameter sits UPDATE_PICKING and quantities, weight and volume updates without Kommissionierfluesse, if UPDATE_PICKING on SPACE sits. In this case there is only one a mark feedback to each position. In VBPOK and VBKOK there is control parameter for this, which changes are accomplished. Kommimengenaenderungen are always accomplished in basis quantity unit, changes of delivery volume always in sales unit of the supply position. If not over Kommissionierrueckmeldung one works, all information must be given to a supply position with the call, subsets and weight feedbacks are not possible. In the case of loads several sentences with different loads can be acknowledged to a VBPOK POSNR_VL. The fields in the Include VBPOKKOMMI within the structure VBPOK are relevant only for the case of the Kommissionierrueckmeldung with use of Kommissionierbelegfluessen (e.g. WM Transportauftragsrueckmeldung). The Aufrufer must evaluate both the minutes table PROT and intercept the EXCEPTIONS ERROR_MESSAHE and OTHERS.
And If you still want to know how to use this FM ,,Click where used list for this FM and see how it is being used ,and try to do the same as per your requirement
Regards
Rk
Edited by: Rk Pasupuleti on Feb 13, 2008 8:45 AM

Similar Messages

  • Update Outbound Delivery in EDI Process - Urgent

    Hello experts,
    I have to update outbound delivery for picking & PGI in EDI.
    I recognized the standard BAPI - BAPI_OUTB_DELIVERY_CONFIRM_DEC for this process, but it doesn't confirm picking.
    I also recognized the IDOC - IDOC_INPUT_DELVRYwhich doesn't create partner function.
    So now I need to choose any one & enhance with the help of User exit. I found a user exit in IDOC for creating partner function but there is no user exit in BAPI for picking confirmation.
    Please suggest me which is the best to use an IDoc or create a custom BAPI for this scenario with pros & cons.
    Thanks in advance,
    Sangeetha K
    null

    Hi gurus,
    Please help me with the issue.
    Points rewarded........
    Sangeetha

  • Updating Outbound Delivery with picking and delivery quantity.

    Hi,
    I have a scenario where in an idoc will come from external system(DELVRY05) and based on the data in the idoc I have to update the picking and delivery quantity for the outbound delivery created in SAP.The idoc has the outbound delivery number and the quantity which is sent from the legacy system.
    I do not want to do googs issue,just updatation.
    How can I update the outbound delivery?
    Please help me.Its needed urgently.
    Thanks,
    Sandeep.

    YOu can make use of the FM:
    WS_DELIVERY_UPDATE_2.
    see the sample code:
    Assume that it_500o has the Delivery Header details and it_5010 has item details
      LOOP AT it_5000.
        CLEAR lx_vbkok.
        CLEAR lv_vbeln.
        REFRESH lt_vbpok.
        REFRESH lt_prott.
        lx_vbkok-vbeln_vl = it_5000-order_number.
        lx_vbkok-vbtyp_vl = 'J'.
        lv_vbeln = it_5000-order_number+0(10).
        LOOP AT it_5010 WHERE order_number = it_5000-order_number.
          lt_vbpok-vbeln_vl = it_5010-order_number.
          lt_vbpok-posnr_vl = it_5010-order_line.
          READ TABLE lt_vbfa WITH KEY vbeln = lt_vbpok-vbeln_vl
                                      posnn = lt_vbpok-posnr_vl.
          IF sy-subrc = 0.
            lt_vbpok-vbeln = lt_vbfa-vbelv.
            lt_vbpok-posnn = lt_vbfa-posnv.
           lt_vbpok-vbtyp_n = 'J'.
          ENDIF.
          lt_vbpok-pikmg = it_5010-quantity. "Picking quantity
          APPEND lt_vbpok.
          CLEAR lt_vbpok.
        ENDLOOP.
    Update the Delivery
        CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
          EXPORTING
            vbkok_wa                           = lx_vbkok
      SYNCHRON                           = ' '
      NO_MESSAGES_UPDATE_1               = ' '
           commit                             = 'X'
            delivery                           = lv_vbeln
           update_picking                     = 'X'
      NICHT_SPERREN_1                    = ' '
      IF_CONFIRM_CENTRAL                 = ' '
      IF_WMPP                            = ' '
      IF_GET_DELIVERY_BUFFERED           = ' '
      IF_NO_GENERIC_SYSTEM_SERVICE       = ' '
           if_database_update_1               = '1'
      IF_NO_INIT_1                       = ' '
      IF_NO_READ_1                       = ' '
           if_error_messages_send             = 'X'
      IF_NO_BUFFER_REFRESH               = ' '
      IF_NO_MES_UPD_PACK                 = ' '
    IMPORTING
      EF_ERROR_ANY                       =
      EF_ERROR_IN_ITEM_DELETION          =
      EF_ERROR_IN_POD_UPDATE             =
      EF_ERROR_IN_INTERFACE              =
      EF_ERROR_IN_GOODS_ISSUE            =
      EF_ERROR_IN_FINAL_CHECK            =
         TABLES
           vbpok_tab                          = lt_vbpok
           prot                               = lt_prott
      VERKO_TAB                          =
      VERPO_TAB                          =
      VBSUPCON_TAB_1                     =
      IT_VERPO_SERNR                     =
      IT_PACKING                         =
      IT_PACKING_SERNR                   =
      IT_REPACK                          =
      IT_HANDLING_UNITS_1                =
      ET_CREATED_HUS                     =
      TVPOD_TAB                          =
    endloop.

  • Updating Outbound Delivery Bill-to Using SD_PARTNER_UPDATE

    Hi everyone,
    I have a requirement to update the outbound delivery partners, specifically Bill-to and Payer.
    The customer system version is 4.6c, so the BAPI to update the delivery found in 4.7 onwards is out of the question for now.
    I found a function module SD_PARTNER_UPDATE, however I am having difficulty in making it work, even with the COMMIT statement.
    Does anyone have any experience in using the function module, and can you provide at least an idea on how to populate and properly use it?
    Thanks in advance.

    A better option would be to use a break point on this FM while creating a sales order. That way you will know how standard uses this FM.
    Thanks,
    Vikram.M

  • Automatic update of HU data in Outbound delivery

    Hello all,
    I would like to create an ABAP program to automatically update the HU data in an outbound delivery. The purpose is to have an excel spreadsheet with the HUs per delivery and download them into the outbound delivery without the need to use manual actions.
    Does anybody know of a FUNCTION, BAPI, IDOC or anything else that may assist me in this task ?
    Thanks,
    Isaac

    Go To transaction BAPI, look at Logistics General -> Handling Unit Management -> Handling Unit
    If you want to create a delivery and know the materials and HUs just populate the delivery IDoc and process it.
    If you want to pack material by uploading this spreadsheet then look at LM* transactions as that is quickest way to find what you want.
    Mike

  • Goods Movement and Updation of outbound delivery.

    Hi,
    I am using BAPI_GOODSMVT_CREATE to do a transfer posting with movement type 411K.After doing the posting I am updating the outbound delivery for the PO using BDC recording.
    The problem is that after doing the transfer posting when I try to update the outbound delivery with picked quantity and picked date it is giving an error that "Article (the article number) is blocked".Due to this the outbound delivery is not getting updated.
    Could you please help me to understand why I'm getting the error and how to eliminate it? Need your help urgently.
    Thanks,
    Sandeep.

    Hello Shashank,
    Thanks for your reply.
    Please let me know do these bapis mentioned by you fulfill my requirement.
    Any sample code u have to use this bapis.
    Regards,
    Tarun

  • Outbound Delivery IDOC not updating values from MKPF for goods receipt

    hi all,
    I have a question say I am generating an outbound delivery IDOC. which  has fields Goods Issues & Goods Receipt date retrieve from MKPF(BUDAT).
    say when i post goods issues, MKPF is updated and  IDOC is gernerated with issues date taken from MKPF.
    and when i tried to goods receipt, MKPf is updated and IDOC is generated but no receipt date taken from MKPF. then i check in MKPF, date is there and then once again I triggered the IDOC, receipt date comes......so my doubt is the time issues say when IDOC is triggeres, no value in MKPF...but when i check the time it is 4 mins difference from the MKPF time and the IDOC time...
    and also 1 more thing for doing goods receipt, we do in different transaction and for good issue we do in Vl02n.
    so bit confused.
    kindly help

    True , but in BKPF only Issues date are stored not the receipt date say if the document type = WE.
    Please let me know is there any other options to fetch rather than MKPF.
    because at the time of IDOC generation, there is not entries in MKPF. I tried to do using WAIT UP TO 50 seconds , even that didnt work.
    Please guide me
    thanks

  • Picked quantity not getting updated in ERP outbound delivery

    Hi All,
    I have an outbound delivery which is replicated from ERP to EWM. I have confirmed the Warehouse task for picking & completed PGI in EWM system. The status update has taken place in ERP delivery (i.e ERP delivery status shows that goods movement is complete and the distribution status shows processing of the delivery in the decentralized system is complete). However the picked quantity (LIPS-PIKMG) is not getting updated in the ERP delivery. How do i make this happen?
    Regards,
    Smitha Pai

    Hi Smitha
    Picked Qty in ECC will never get updated when do the PGI in EWM. I think, this field is not designed when delivery is distributed as system assume picking will be done in other system in this case it is EWM.
    But You can always refer VBFA (Document flow table) to identify the picked quantity if you are working z report or interface to send this information.
    Thanks,
    Jagdeep

  • Urgent help needed-Updating an outbound delivery.

    Hi,
    I have created an outbound delivery for a stock transport order in using VL10D.
    The otbound delivery then goes to a different system wherein it is updated with picking,packing and shipping info.Then it comes back to SAP in the form of idoc(DELVRY05).Now what I need is to write a code in an exit(I know where to write the code) from where the data in the idoc will update the outbouned delivery with picked and delivered quantity.
    I tried using FM's SD_DELIVERY_UPDATE_PICKING and WS_DELIVERY_UPDATE_2 but it is not working.Also where will I get to see the update if it happens.
    Please help me.Its required urgently.
    Thanks,
    Sandeep.

    Sandeep,
    I m trying to understand this requirement. Your IDOC comes in with updated information for a delivery thats already available in the system.
    In this case, the IDOC would lock the delivery object for its ude, so writing FM's directly might not help.
    Please let me know your process code or your inbound FM. If it is IDOC_INPUT_DELVRY, then it already uses a WS_DELIVERY_UPDATE_2 , so there is little reason why you should be calling the FM again.
    Please note that when this comes in it creates an inbound delivery rather an outbound. So, is your third party system sending you back an outbound IDOC?
    Do you want to update the delivery that u sent out ( SD) to the third party system from that information.
    In that case, please use BAPI_OUTB_DELIVERY_CONFIRM_DEC. This is for delivery conformation from a third party system. The documentation is very clear and there are toms of examples on SDN.
    Please reward if useful.
    Thanks
    Ganesh.S

  • Enhancement during creation of outbound delivery to update serial number

    Dear ABAPers,
    Is there any Enhancement during creation of outbound delivery to update the serial number.
    My Requirement is In the VL10B transaction Outbound delivery will be created for the Purchase Order. During this time i want to update the serial number in the Outbound Delivery.
    Any Replies.....
    Thanks & Regards,
    Ashok kumar.
    Edited by: M Ashok kumar on Jul 22, 2010 6:41 AM

    hi
    check INVOICE_UPDATE
    Thanks
    Edited by: saurabhmani on Jul 22, 2010 3:00 PM

  • BAPI_GOODSMVT_CREATE update VBFA or not for Outbound Delivery?

    Dear Gurus,
    When I try to use BAPI_GOODSMVT_CREATE to do the goods receipt for the outbound delivery as the replacement for MIGO transaction, I use 01 as movement code and the bapi create material document and updating MSEG. But it doesn't update VBFA so the items is still showed in MIGO and cannot post there (because it is already moved in BAPI in program.)
    Anybody have any suggestion for this situation? Thanks a lot and points will be rewarded.

    Hello,
    When you use BAPI_GOODSMVT_CREATE  to post Goods Receipt for outbound delivery, reference documents at header and line items should be delivery number and line numbers (BAPI2017_GM_HEAD_01-REF_DOC_NO, BAPI2017_GM_ITEM_CREATE-DELIV_NUMB_TO_SEARCH & BAPI2017_GM_ITEM_CREATE-DELIV_ITEM_TO_SEARCH). Then only document flow will be updated.
    Thanks,
    Venu

  • Urgent-Help needed in FM to update picking quantity in outbound delivery.

    Hi,
    I have to automatically update the delivery and picking quantity for an outbound delivery without doing any post goods issue.Could you please help me with any FM which does this with proper explanation.
    Any help will be greatly appreciated.
    Thanks,
    Sandeep.

    Check with FM : SD_DELIVERY_UPDATE_PICKING
    The above FM will update Picking in delivery
    Check the structure VBPOK ,within structure VBPOKKOMMI(Include structure)
    Field is PIKMG.
    Thanks
    Seshu

  • Create T.O using outbound delivery. Need to update the storage type.

    Hi All,
    I am using L_TO_CREATE_DN to create a T.O using an outbound delivery. It creates the T.O. But I need to decide at the time of creating the T.O the storage type to be used.
    I tried using the F.M L_TO_CREATE_MULTIPLE but that does not update the Delivery flow.
    I have already gone over the discussions on forums for L_TO_CREATE_DN but none seem to answer the question of updating the line items of the transfer order yet.
    I was hoping someone could help me out with this.
    Thanks,
    Arup

    Hey,
    Well I do not need to be worried about the storage bins as that is a selection based on a FIFO strategy. It is returned by the system.
    I need to worry about the storage type.
    So here is the complete requirement.
    I have to create TO's for LM05 and LM45. The LM45 To's have to be associate with storage units and this association occurs only if I choose VWT as the storage type..
    When I choose VWO as the storage type then the items are not associated with a Source Storage Unit.  This is because the storage type VWO does not have SU management active whereas VWT has SU management active.
    So, what I am primarily concerned about is the way I could enter the storage type information dynamically.
    Arup

  • Updating condition records in an outbound delivery

    Hi,
    I'm trying to update condition records in an outbound delivery but couldn't find any suitable BAPI for the same so I just implemented the BADI 'le_shp_delivery_proc' and called a FM inside the method SAVE_DOCUMENT_PREPARE' which does a call transaction to VL02N to update the condition records. But the problem now is that, when I try to save this delivery, again the same BADI is triggered and goes through the same process of call transaction and thus gives me an error message that the delivery is locked as it indeed is.
    Can somebody suggest a way out of this problem. ??
    Thanks
    Ashish

    Hi,
    @praveen: I tried the solution provided by you and it worked for me in this context. But it seems this BADI gets triggered every time the delivery is getting saved. So for my test purposes, I'm triggering this BADI in a program, but in actual scenario, the BADI would be called on every sy-ucomm = 'SICH_T' i.e. SAVE. hence, I can't separate my piece of code using this condition.
    I'm trying to call my FM(update module in collective run mode) inside this BADI in backgrnd task as a separate unit but this doesn't seem to work.
    Any more suggestions?
    Thanks
    Ashish

  • Outbound delivery document flow is not updated after LT0G

    Hello Gurus,
    after executing LT0G Returd to stock from delivery, a document flow of outbound delivery is not updated. Still an OvrllPickStatus remains = C Fully picked and OverallWMStatus = C WM trsf ord confirmd. This though the goods result to be returned correctly from 916 into stock.. What can be the reason for this malfunctioning?
    Jari

    Many thank for your feedback. The transaction LT0G is executed succefully and a destination storage bin results a correct quantity. Anyway I checked SM13 and a log is empty.
    The notes you mentioned seemed very promising, but unfortunately they are not relevant as a release in where I am working is SAP ECC 6.0 SAPKH60013.
    I am still trying to find some possible other notes but without a success so far.
    Jari

Maybe you are looking for