Dump in WS_DELIVERY_UPDATE outbound delivery

HI
Need help in using WS_DELIVERY_UPDATE - I have coded in output type shipment.
When i do MIGO with respect  to STO ,outp type will be triggered and handling units should assign to outbound delivery .
but it gives shor dump .
00 671: ABAP/4 processor: ROLLBACK_IN_POSTING
Update was terminated
using below parameters :
WS_DELIVERY_UPDATE
VBKOK_WA-VBELN_VL = 183000150
VBKOK_WA-WABUC = 'X'
DELIVERY = 183000150
UPDATE_PICKING = 'X'
NICHT_SPERREN  = 'X'
IT_HANDLING_UNITS-TOP_HU_EXTERNAL = 340469890000001222
and delivery no is shown while doing migo but due to termination rollback is happening.
please help in doing this ,i have search in sdn but no suitable post.

Hi Garun,
You can try like this....
tb_VBKOK-VBELN_VL = vbeln
tb_VBPOK-VBELN_VL =  vbeln
tb_VBPOK-POSNR_VL =  posnr
APPEND tb_VBPOK.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
VBKOK_WA = tb_VBKOK
SYNCHRON = ' '
NO_MESSAGES_UPDATE = ' '
COMMIT = ' '
DELIVERY = tb_vbkok-VBELN_VL
NICHT_SPERREN = 'X'
TABLES
VBPOK_TAB = tb_VBPOK.
COMMIT WORK
regards,
Lokesh

Similar Messages

  • How to change WM Status of an outbound delivery??

    Hi Experts,
    I was trying to do PGI for an outbound delivery for which I created TO and did TO Confirmation.
    After TO Confirmation , both the Picking Status and Overall WM Status was set as C
    I was trying to execute WS_Delivery_Update for PGI.
    After executing the FM,when i checked the outbound delivery in VL03N
    OverallWMStatus changed to B.
    But last night it was C after TO confirmation.
    And now I cant do anything
    When I try to do PGI its stating that "Delivery has not yet been completely processed by WM"
    Please help out??

    Hi Sanjeev,
    After confirming the TO, I was trying to do PGI executing WS_DELIVERY_UPDATE from se37.
    I want to reverse the picking of the outbound delivery whose
    Overll Pick Status C
    Overall WMStatus B

  • Packing using function modules in outbound delivery

    Hi All,
             I am creating a outbound delivery using BDC. I am trying to Create HUs, Pack and assign serial numbers. I wish to do it using standard FMs.
    Please advise.
    Step # 1. I was able to create HUs using BAPI_HU_CREATE .
                   I was not sure on the HU_EXID_TYPE though. I created with
                                 'F' -No. rnge obj. HU_VEKP external interval - SSCC18 before GI.
    Step #2  I assigned the HU to my Outbound delivery by updating VPOBJKEY and VPOBJ field of VEKP table. QUERY.
                    This also successful. I am now able to see the HU attached to the Outbound delivery.:)
    Step #3  But I am not sure how to do the packing/ Assign Serial numbers.  Need help?
                         I am working with FM WS_DELIVERY_UPDATE...... Pls advice.
                           Not sure on the values that I need to pass. Please help!
    Thanks!

    hi sridhar,
    i have the same requirement as yours....
    but i m facing some problems with it....can u please share u r solution ?
    thanks and regards,
    Omkar

  • UPDATING THE OUTBOUND DELIVERY

    Hi ABAP Gurus,
    I have one urgent requirement as below,
       Outbound delivery gets updated/picked for the quantities as stated in the related inbound delivery via BAPI_OUTB_DELIVERY_CHANGE or WS_LM_GOODS_MOVEMENT , or WS_DELIVERY_UPDATE.
    1.1.1.2.        Outbound delivery gets additional data as described in section .
                    Required fields to be updated into the outbound delivery:
    Source
    Description
    Target
    Description
    Specific
    ZMM_EDI_CONF- ZFWNR
    MAWB/OBOL number
    LIKP-BOLNR
    Bill of lading
    Conf. type ‘1’
    LIKP-TRAID
    Means of Transport ID
    LIKP-TRAID
    Means of Transport ID
    HAWB/FCR number
    ZMM_EDI_CONF- ZCSBR
    Broker reference
    LIKP-LIFEX
    External reference
    Conf. type ‘2’
    ZMM_EDI_CONF- ZCSDO
    D.O. date
    LIKP-TDDAT
    Transportation planning date
    Conf. type ‘2’
    ZMM_EDI_CONF- ZCFTN
    Trailer number
    LIKP-TRMTYP
    T.B.D.
    Conf. type ‘3’
    ZMM_EDI_CONF- ZFWVN
    Vessel name
    Text-ID Z060
    Conf. type ‘1’
    LIPS-LFIMG
    Quantity
    VBFA-RFMNG
    Pick quantity
    Please help me by sending th ecoding to how to update the outbound deliveries.

    Got the solution.
    Thanks.
    Edited by: zamishaik on Jan 24, 2012 6:03 PM

  • Locked outbound delivery

    hello
    i am using transaction vl09 in order to delete an outbound delivery.
    i am using userexit MV50AFZ1 in the save form i am trying to do a batch input which update a field in transaction vl02n.
    i cant do it because the delivery is locked.
    is there any way to do this?

    If you're working on 4.7 you might try
    BAPI BAPI_OUTB_DELIVERY_CHANGE in place of BDC.
    Otherwise try FM WS_DELIVERY_UPDATE.
    BDC will not allow you to change it if there is a lock and BAPI does work sometime ( If it does not require an exclusive lock ).
    I am telling you this from my experience so it is worth trying for.
    Thanks,
    Ram

  • Vl02n outbound delivery deletion check

    hi all,
    i need to create a checking when user going to delete a outbound delivery in VL02n, if there is any billing document status NE 'E' then program should issue error message and block the deletion.
    currently i am using badi LE_SHP_DELIVERY_PROC method DELIVERY_DELETION, but i get short dump DYNPRO_MSG_IN_HELP when program issue error message. After some research in this forum, i know that message 'E' or 'W' is not allowed in this badi, but is there any workaround can help me to achieve the requirement?
    If possible please provide me the sample code.
    thanks in advance
    Edited by: Mingo Lau on Jun 14, 2010 5:30 AM

    thanks both,
    i tried both method, both can solve my problem.
    but for SAVE_DOCUMENT_PREPARE, when issue message type E, it will close the transaction and back to /n screen which i am not sure my user will accept or not.
    for CHECK_ITEM_DELETION, use a bit more resources as it loop all delivery item but actually it can be done in once..
    anyway, let see which one is accepted by my user.
    thanks.

  • Configure background job  for collective outbound delivery processing

    Hello Gurus,
        I want to  Create a background job to be executed during off-peak hours for collective outbound delivery processing.  will you please give me step-by-step configuration ?
    thanks very much!

    To set up a batch job for delivery creation use SM36 T-code.
    Input batch job name say - ZSD_CREATE_DELY_SALES_ORG
    Select class = C or B.
    Set up by / created by = BATCHADMIN or your id
    Program Name = WS_DELIVERY_UPDATE
    Varient = (as per your requirement - say for a particular sales area and plant)
    Click on "Check" icon and "Save".
    Go to the main page, select icon "Schedule a Batch job".
    Give detils like daily, weekly or periodic or Immediate.
    Enter date and time accordingly. Save it.
    Same thing applies for Invoice creation batch job.
    Use program name:RSBDCSUB
    All other steps remain the same.
    Hope this will help you out !
    Regards,
    Rajesh Banka

  • Exit to set the automatic PGI and picking while creating outbound delivery

    Hi experts,
    Could anybody suggest how to set the automatic PGI and Picking while creating outbound delivery.
    Currently we are settting VBUK-WBSTK field with value C. But PGI is not happening.
    kindly help me.
    Regards,
    Ravi

    Hello Parihar,
    thanks for reply.
    yes we know that "This process of picking and GI involves reducing the stock and allocating the goods to the delivery"
    if you go for Custom program and Use FM WS_DELIVERY_UPDATE, we can do Picking and PGI.
    our requirement is to do pickong and PGI while creating Delivery it self, based on this output types will be processed.

  • Show outbound delivery with  Invoice & cancled invoive in Z report SD

    Hi Sir,
    i am working in Z report  of SD in which  I want to get  invoice number detail with respect to delivery number.
    i did also use VBRK-FKSTO is marked ( = X) in the tables join in case of cancel invoice.
    user requirment is that :  outbound delivery should be show with new invoice if outbound delivery canceled  and  if did not done new invoice of outbound delivery then outbound delivery should be show with canceled  invoice.
    Example:
    INVOICE ORDER  :   1.main invoice,2.canceled invoice,3.again a new invoice.
    Plz guide me sir........
    Edited by: saurabhmca2006 on Feb 25, 2011 6:22 AM
    Moderator message: "spec dumping", please work yourself first on your requirement.
    Edited by: Thomas Zloch on Feb 25, 2011 1:37 PM

    Hello,
    the date in VBRK-ERDAT is always set according to the system time (SY-DAUTM) and not by user tiem (SY-DATLO).
    This is because the invoice number must be chronological.
    Example:
    - an Poland user creates the invoice 90000001 on 14.06.2010 at 10:00:00 (Poland time)                                                         
    - 6 hours later a US user creates the invoice 90000002 on 14.06.2010 at 09:00:00 (US time)  
    This is not logical.                           
    So VBRK-ERDAT must be set by system time.
    Instead if you are speaking about the Billing date VBRK-FKDAt, please check this thread:
    Re: Date in Invoice document due to Time difference
    Best regards,
    Ivano.

  • 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

  • How to compare delivery date in schedule lines and PGI in outbound delivery

    Hi,
    I want to create a report to monitor and compare different dates in sales and delivery process.
    One of my key figure is the comparison between date confirmed to the customer, that I can find in the schedule line of the sales order, and the actual goods issue date from the outbound delivery.
    But I can't succeed in making the link between delivery and schedule lines, means between LIKP and VBEP.
    Would you have any idea?
    Thank you.

    It seems there's no exact (table) connection / link between delivery item and schedule line item.
    Those who were searching for this thing (link / connection between delivery item and schedule line) were recommended to use FM "RV_SCHEDULE_CHECK_DELIVERIES".
    This FM calculates the delivered quantity for each schedule line, so it makes link between the delivery item and schedule lines - however if you check the code it's quite sophisticated...
    (if you put a breakpoint in the FM and display a SO in VA03, you can check how the parameters have to be populated with data).
    Schedule Line and Delivery Link
    Edited by: Csaba Szommer on Aug 5, 2011 12:03 AM

  • Need BAPI for MIGO to create a Goods Receipt against PO &Outbound Delivery

    Hi Friends,
    GRN’s (Good receipt notifications) created in DHL (Non SAP system) will need to be communicated to SAP.
    I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.The requirement is like below:
    PO number field in output file is checked against entries in EKKO-EBELN, if a match is found the GR is posted against a Purchase Order otherwise LIKP-VBELN is checked and if a match is found GR is posted against an Outbound Delivery.
              If PO Number = EKKO-EBELN    GR against Purchase Order
                            = LIKP-VBELN      GR against Outbound Delivery
    Based on the above condition I need to create a Goods Receipt. 
    Could you please tell me the GM code, movement types and the required fields to be passed for the BAPI?
    The fields available are with us are...
    Header text. - Bill of Lading- Posting Date-Quantity- UOM--- Vendor Batch / Batch / Serial No --- PO Number or Delivery Number… SLED
    Are these fields sufficient for doing MIGO with the BAPI or do we require more fields???
    Please provide sample code if possible.
    Waiting for replies,
    Thanks and Regards,
    Sudha

    Hi Friends,
    GRN’s (Good receipt notifications) created in DHL (Non SAP system) will need to be communicated to SAP.
    I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.The requirement is like below:
    PO number field in output file is checked against entries in EKKO-EBELN, if a match is found the GR is posted against a Purchase Order otherwise LIKP-VBELN is checked and if a match is found GR is posted against an Outbound Delivery.
              If PO Number = EKKO-EBELN    GR against Purchase Order
                            = LIKP-VBELN      GR against Outbound Delivery
    Based on the above condition I need to create a Goods Receipt. 
    Could you please tell me the GM code, movement types and the required fields to be passed for the BAPI?
    The fields available are with us are...
    Header text. - Bill of Lading- Posting Date-Quantity- UOM--- Vendor Batch / Batch / Serial No --- PO Number or Delivery Number… SLED
    Are these fields sufficient for doing MIGO with the BAPI or do we require more fields???
    Please provide sample code if possible.
    Waiting for replies,
    Thanks and Regards,
    Sudha

  • Goods Receive for Outbound Delivery Without Reference using MIGO

    Dear Colleague ...
    We might need your insight on the case below related to Goods Receive of Outbound Delivery without Reference using MIGO:
    (1) In the current SAP Enjoy screen of MIGO, we are allowed to select the reference document (e.g. = PO, Material Document, Inbound Document, Outbound Document, etc.)
    (2) We did 3 (three) kind of test set: GR for Inbound Delivery, GR for Outbound Delivery with STO and GR for Outbound Delivery without reference.
    (3) The first 2 (two) cases work just find with MIGO.  We believe it is because the receiving plant is pretty much determined in the reference document, which is PO (case 1) or STO (case 3)
    (4) However, the last case came up with the error message "Goods receipt not possible for delivery 8000610236: error code 5".  We believe that this is the standard design of SAP, that the receiving plant is required and it is not defined explicitly in the delivery document.
    (5) Moreover, we also believe that that's the reason why SAP (via the Logistic Execution module) provide the Handling Unit and Shipment, which can be used to perform such receive function, which will imply the MM posting (goods issue and goods receive) IF there is stock transfer involved.
    Appreciate for any thoughts or input on the above.  Many thanks,
    Alvon Sibarani

    use transaction mb0a it will work for the scenario.

  • Stoarage location is not being reflected in the outbound delivery

    Hi
    I have a scenario of creating outbound delivery with respect to sales order, But when i am creating outbound delivery vai  tranaction Vl10H , The system creates outbuond delivery but the stoarge location is not being reflected in the outbound delivery  . Since this storage location is WM managed  hence the WM  status shows that the transfer order is not required .
    When i tried to put manually the storage location  the system  throws an error that this storage location in not maintained in plant R001 .
    Althoght the stoack has been there in the stoarage location with resepct to plant ans also  the matrerial master is also been extended for  this storage  laocation and all the respective views such as WM and Sales hasbeen maintianed .
    Could any one guide me what correction is to be done to incorporate the Storage location in Delivery ?
    Thnaks and Regards
    RAJ K

    Hi,
    did you check if there is a storage location determination maintained for the relevant combination of shipping point, plant and
    stor.conditions (table TVKOL)?
    Please also check if the storage location determination is activated for the relevant delivery item type in customizing (transaction 0vlp - field "Determine storage location" (V_TVLP-BELGO)).
    Regards,
    Ely

  • Output types are not getting displayed in Outbound Delivery in Display mode

    Hello,
    The actual requirement is that output types should get attched to the outbound delivery when we do GI(Good Issue) on the outbound delivery.
    So, I have created an outbound delivery and did GI on it through IDoc. But, I can not see output types on the delivery (To see output types, go to Extra -> Output -> Header in VL03N) in the display mode. However, I can see in change mode (VL02N).
    Could you please suggest the solution for this?

    Hi sreeram,
    go to crm -> transactions -> basic settings -> define transaction types
    copy default email cx03 and create new zemail.
    assign that zemail to bus2000126 business activity.select the business activity and click on customizing header.assign the category email. click on channel. maintain the channels 1)GUI crm webclient UI, 2)ICW Interaction center webclient.
    save the changes.
    go to crm -> transactions -> basic settings -> settings for activities -> maintain categories, goals, priorities -> click on assign categories to transaction types.
    assign the category email(which you have assigned above) to the transaction type zemail.
    even check maintain categories as well
    click on maintain categories -> check 401 email assigned to class G email.
    Regards
    Krishna

Maybe you are looking for

  • How to move itunes media to external drive

    I'm running iTunes for Windows 10.6.3.25 and have 3000+ songs in the library. I'd like to move the music files to an external hard drive, without losing the dates added, plays, genres or the directory structure. I've already made a copy of all the fo

  • Connecting MBP to an HDTV

    I just bought a new Sony Bravia 1080p LCD television and was able to easily connect my MPB to the new television with a cable supplied in the box by Sony and the adapter supplied by Apple (Seems to be some kind of 9-pin cable...not sure what it is ca

  • Premiere aaf export stereo audio

    ich möchte ein AAF mit stereo wav exportieren. 1. ich dachte, man könnte einfach auf die origonal files pointen, statt sie zu kopieren? im jetzigen premiere 2014 finde ich die möglichkeit nicht. der kopiert in jedem fall.. 2. wie kann ich die audio f

  • XMLType in a an object returned by a stored procedure

    Hi, In my project, i'm using stored procedures defined by the schema's owner. Some of these procedures/functions return complex data (defined as objects in the database). This objects contains XMLTYPE data. When i call one of these stored procedures

  • Restore system from another mac

    I deleted, by m istake, some systemfiles from my Macbook Pro. We also. Have another Macbook Pro, can we use it to restore the system of the first one?