Reverse PGI of delivery using VL09

Hi ,
My query is while reversing the delivery using VL09 it has check invoice has cancelled or not . For pro forma invoices we have put the code in MV50AFZ1 to check billing document cancelled(completed) or not . It is working fine and  showing the error message what we have given but in background it is reversal happening.
When we check in MKPF table for material document (MBLNR) the reversal data updated.
can you please explain .

Hi,
i quess Userexit in MV50AFZ1 is working for VL09? did you check if the userexit is also called (and working correctly) when calling the programm in background?
regards
Stefan Seeburger

Similar Messages

  • Error when trying to reverse a goods receipt using vl09

    Hi All,
    I'm trying to reverse an inbound delivery using vl09. Getting a message that
    "Error at central message handling" . After this the system is throwing me out of the tcode vl09.
    Any idea why this is appearing and how to overcome this.
    Regards,
    Ashwin

    Hello
    Please refer the previous thred
    "Inbound delivery reversal issue
    and also the SAP notes mentioned in earlier reply.
    warm reards
    Ramakrihsna

  • After reversing the Inbound delivery in VL09, lock in LT0G

    Hi,
    I am canceling a Inbound delivery (Plant - WM managed) thru VL09 and then trying  return to stock using LT0G.
    But I am getting lock, unable to reverse stock/TO , and the log says " Scheduled quantity exceeds available/picked quantity ".
    LS24 shows no stock available for the material in the Storage type,
    but surprisingly this LT0G some times works fine & some times show this lock and unable to proceed further.
    What is the setting or process missing? are we not suppose to use VL09 and LT0G subsequently?
    Is there any other better way to do this? and what is the proper way to do this?
    Appreciate your suggestions to either unlock the item or reverse the stock or unpick the qty in the Inbound delivery.
    Thankyou,
    Ravi

    Hi Chris,
    Please find the detailed process steps in my scenario
    Creation process:
    1. Create Inbound delivery : VL31N & save it.
    2. VL32N- and then subsequent function- create TO & save it.
    After confirmation of the TO, the below happens in background.
    TO - Putaway the stock from 902 to 011 storage type.
    3. VL32N - PGR.(Post Goods Receipt)
    Cancelation process:
    Successful Example: (pre-existing stock)
    1. VL09 - Cancelation successful
    2. LT0G - Successful.
    Before PGR: LS24 Stock
    Inbound delivery qty =1
    After TO created.
    After TO confirmed
    After PGR :LS24 Stock  (Before VL09)
    After VL09
    After LT0G successful
    After the TO is confirmed
    Status overview screen

  • Document Reversal not possible created using MFHU - REM

    Hi Gurus,
    We have follwoing PP scenario implemented for our client as a part fo REM-HU Process
    1. Handing unit creation using HUP1-Packing of finished product
    2. GR of finished Goods  (131 Mvt) and GI  of compoenent (261 Mvt) using MFHU Transaction
    3. Creation of outbound delivery using VLMOVE-303 Movement type- Outbound delivery contained HU - 303 Movement type
    4. PGI of outbound delivery
    5. Creation of inbound delivery using output type ZSPD
    Now if i want to reverse the process i am doing below steps.
    1. Deletion of inbound delivery after deleting assignement with inbound delivery as PGR is not yet happened
    2. Reversal of Outbound delivery using VL09- 304 movement
    3. Deletion of HU assignement and deletion of Outbound delivery
    4. Now when i am reversing GR and GI document using HUCANC ----Getting Error
       "  Goods issue for repetitive mfg. cannot be reversed via handling units "
                                            and
    if we cancel using MF41 it is giving error message that
    " Document is a handling unit document and cannot be reversed "
    Please let me know how to cancel or reverse MFHU doucment i,e GR and GI document
    Thanks/BR
    Rupesh

    hi rupesh ,
    please go through below sap note it will help you resolve the issue :
    425357 - Transaction MF41: Error VHURM041 for handling unit
    regards,
    satish

  • Unable to reverse goods ..using vl09

    Hi Experts,
    we have created order , bill and delivery in production and we made one small mistake and cancelled the bill when we try to cancel the delivery using vl09 - goods movement reverse i am getting the message  no data available when i check the  billing status it says C-completed and also movement status aslo C.  how can i  reverse the goods its there any other way ....
    Thank you for your help in advacne....
    Regards,
    Venki

    Hi
    one small mistake and cancelled the bill
    If you are sure that  your first bill is cancelled there will be another bill having the cancelleation number
    Are you seeing that in document flow
    If that has happened the original invoice will have a posting status as E and not C as per your thread
    when i check the billing status it says C-completed
    I feel that your cancellation process has not been done properly
    Once this is cancelled properly the delivery status will be set to BEING PROCESSED from COMPLETED
    Then you can reverse it in VL09
    Make sure that you have executed cancellation properly
    Regards
    Raja

  • Cancel Goods Issue using VL09

    Hi,
    My Client have created a Delivery Order along with the Transfer order, the Goods Issue has been posted. When he tried to reverse the Goods Issue using VL09, it promoted the error: GI for Delivery XXX cannot be canceled for the following reason, Document (Material Movement Document: GI) does not contain any selectable items. Can anybody please help me?
    Thanks.

    Hi,
    Make sure  your User has created the Delivery only or Invoice also for that particular order if there is invoice also exist to that particular order he has to check first the Document Flow Status and he has to cancel the invoice by using tocode vf11, he has to cancel the shipment cost if there is vi02, he has to cancel the shipment vt02n then he can do goods reversal vl09 and Delivery.
    This may help you Inshallah
    Regards,
    Mh

  • During cancellation of delivery document using VL09

    Hi,
    I want to cancel only 3 items out of 5 items from the delivery document at the time of cancellation by using VL09..
    How can i do that??
    Rgds,
    Pavan.

    No. Not other way out. The method suggested above is the best possible method.
    As PGI is done for whole Delivery Document, Cancel / reverse of PGI is also done for the whole Delivery Document. You cannot cancel / Reverse partial Line items in Delivery.
    Hope this clarifies,
    Thanks,
    Jignesh Mehta

  • STO Post goods issue reversal using vl09 not happening.

    hi
    user has done following cycle
    1.ME21N-PO document type UB and Item cat I.
    2.VL10B- Outbound delivery
    3.VL06G-goods issue using automatic MVT 647 and 101)
    4.VF01-Performa Invoice(billing Type JEX)
    5.J1IIN- Excise invoice.
    In billing base price is missing because of that all duties and net price zero.now user wants to cancel entire cycle. he has done excise cancellation using J1IH. we are not able to reverse billing using VF11, we are not able to PGI reversal using Vl09. it giving error "No dat available for your selection".
    Note: is it problem of JEX because we have not assigned cancell billing type and doc pric procedure to JEX?
    any solution for the above issue.

    the optional solution can be as following steps:
    1) create the bin manually with ls01n: storage type 904, bin name is the delivery number,
    2) reverse with vl09 and a material doc will be created.
    3) check the bin stock with ls24, you will see negative stock in 904.
    4) create TO to offset this negative qty with lt06 with above mentioned material doc. this TO's source bin is just the one in regular storage type.
    5) confirm TO
    6) don't forget to delete the bin created in step 1,  this is because it is created manually but not dynamic bin that will dissapear automatically.
    pls reward if helpful.

  • Error while reversing goods issue using VL09

    Hi All ,
      user is getting the error " 4902546971document does not contain any selectable items "  when reverse the GI using  VL09.
    Please find the below document flow.
    Free of Charge 70475917 / 10
    . Purchase order 9900099037 / 10
    . Delivery Standard 80721176 / 10
    .. Shipment 199662 / 1
    .. WMS transfer order 12862453 / 1
    .. Pro Forma Invoice 90070497 / 10
    .. GD goods issue:delvy 4902546971 / 1
    Regards,
    Amar

    Hi,
    Try to reverse the gods issue, with VL09, for document "Delivery Standard" with number 80721176
    Free of Charge 70475917 / 10
    . Purchase order 9900099037 / 10
    . Delivery Standard 80721176 / 10
    .. Shipment 199662 / 1
    .. WMS transfer order 12862453 / 1
    .. Pro Forma Invoice 90070497 / 10
    .. GD goods issue:delvy 4902546971 / 1
    Regards,
    Amar

  • Error while doing PGI for Outbound delivery using BAPI BAPI_GOODSMVT_CREATE

    Hi All,
    I am getting an below error while doing PGI for outbound delivery using the BAPI BAPI BAPI_GOODSMVT_CREATE:
    Goods movement not possible with mvmt type 601
    Can anyone suggest me what will be the solution for it?
    Regards,
    Raghuraman.k

    I tried with the above BAPI but it is not working.
    In my case a delivery has one line item with batch split and other line item without batch split.
    Below is my code :
    DATA : gwa_header_data TYPE bapiobdlvhdrcon,
           gwa_header_ctrl TYPE bapiobdlvhdrctrlcon,
           lv_delivery     TYPE bapiobdlvhdrcon-deliv_numb,
           git_item_data TYPE STANDARD TABLE OF bapiobdlvitemcon,
           gwa_item_data TYPE bapiobdlvitemcon,
           git_item_ctrl TYPE STANDARD TABLE OF bapiobdlvitemctrlcon,
           gwa_item_ctrl TYPE bapiobdlvitemctrlcon,
           git_return    TYPE STANDARD TABLE OF bapiret2,
           gwa_return    TYPE bapiret2.
    *Header data
    gwa_header_data-deliv_numb = '0808000002'.
    *Header Control data
    gwa_header_ctrl-deliv_numb = '0808000002'.
    gwa_header_ctrl-post_gi_flg = 'X'.
    *Delivery Number
    lv_delivery = '0808000002'.
    *Item data and its corresponding control data
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '900002'.
    gwa_item_data-dlv_qty         = 4.
    gwa_item_data-dlv_qty_imunit  = 4.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '900002'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '900003'.
    gwa_item_data-dlv_qty         = 6.
    gwa_item_data-dlv_qty_imunit  = 6.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '900003'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '000020'.
    gwa_item_data-dlv_qty         = 10.
    gwa_item_data-dlv_qty_imunit  = 10.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '000020'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    BREAK-POINT.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
      EXPORTING
        header_data    = gwa_header_data
        header_control = gwa_header_ctrl
        delivery       = lv_delivery
      TABLES
        item_data      = git_item_data
        item_control   = git_item_ctrl
        return         = git_return.
    BREAK-POINT.
    IF git_return IS INITIAL.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.

  • Reg : PGI delivery using ws_delivery_update

    Hi All,
    I want to PGI delivery using function module ws_delivery_update .
    What are the mandatory fields to be supplied and in what way to PGI delivery successfully using the above FM
    Or is there any other function module specifically suited to PGI delivery
    urgent help needed.
    if any sample code is there , most welcome.
    Thanks in advance.
    Regards
    Jawahar

    Jawahar,
    it is very easy to go with this code i think rather than going with fm.
    DATA:    I_VBELN LIKE LIKP-VBELN,            
             I_VBKOK LIKE VBKOK,            
             I_PROTT LIKE PROTT OCCURS 0 WITH HEADER LINE.   
    L_VBKOK-VBELN_VL = L_VBELN.   <- Delivery number  
    L_VBKOK-WABUC    = 'X'.       <- Automatic PGI           * Perform Pick and PGICALL FUNCTION 'WS_DELIVERY_UPDATE'
               EXPORTING
                VBKOK_WA           = I_VBKOK                 
               SYNCHRON                 = 'X'                
               NO_MESSAGES_UPDATE       = ' '                
               UPDATE_PICKING           = 'X'                
               COMMIT             = ' '                    
             DELIVERY      = I_VBELN                         
             NICHT_SPERREN    = 'X'    
       IF_ERROR_MESSAGES_SEND_0 = 'X'         TABLES            
      PROT     = I_PROTT     
    EXCEPTIONS    
            ERROR_MESSAGE      = 1               
            OTHERS    = 2. 
    IF SY-SUBRC <> 0.
    Or I_PROTT has type E errors in it 
      ROLLBACK WORK.
    ELSE. 
      COMMIT WORK AND WAIT.
    ENDIF.
    othere wise
    For PGI you can use SD_DELIVERY_UPDATE_PICKING_1
    Regards,
    Naveen

  • PGI per item in delivery using VL06G

    Hello All,
    I have created an order with 2 items and delivery for 2 items, but picked only 1 item fully and want to do PGI for that item with out deleting the second item from delivery.
    I tried doing PGI (VL02N) for this item system give below message :
    MT     Area     Msg.  Item    Message Text
    E         VL        609   20        Delivery has not yet been put away / picked (completely)
    E         VL        608   20       Delivery has not yet been completely processed by WM
    I tried from VL06G to do PGI using "Display delivery items" as PGI can be done by selecting the item as well. But this dint work.
    Can any body explain how to do PGI for few items in delivery with out deleting the unpicked items.
    Regards,
    Praveen

    hi
    in this both error comes ,
    1)E VL 609 20 Delivery has not yet been put away / picked (completely)
    a) picking quantity not entered , in delivery , first you enter the picking quantity ,
    you create the 2 lines for sale order , so create for one line item for delery , go to vlo1n enter shipping point , sale order number line item number  1 to 1 enter press enter system will take only one item in delivery then you enter the picking quantity , and pgi ,
    in delivery two line item only line item enter picking quantity and another line item not enter the picking quantity , it not possible to pgi , both line item you enter the picking quantity ,
    you create the same delivery number for 2line item , so first complete the 1st line item pgi and , go to vl02n and enter , click on menu bar out bound deliverrs-delivery sale order -enter sale order number and line item , and do the pgi ,
    2)VL 608 20 Delivery has not yet been completely processed by WM
    you process activate the wm , so you can do the lt03 , then it will come vlo2n and check the picking quantity it will come auto matically

  • Reversing PGI without cancelling Excise Invoice

    Hi,
    Is there any process where we can Reverse PGI without cancelling the Commercial Invoice & Excise Invoice and again connecting the same corrected delivery to the old invoice number.
    To be more clear, in delivery if I have picked a wrong batch number (different from the physical dispatched batch) and generated the invoice.  The mistake was identified at a later stage.  So I can't cancell the invoice as it has already been sent to the customer.  But in the system I have to correct the batch number to maintain the correct records.
    Please suggest if any solution is there

    Hi,
    Your excise invoice is created with reference to the billing document and billing document has been created from delivery since PGI has been done.
    You will have to cancel excise invoice using J1IH and cancel your billing document using VF11.
    Reverse PGI using VL09, change batch in the delivery and PGI it again.
    However, you would have new commercial invoice and new excise invoice numbers for the same.
    Nothing can be done to retain the same invoice number using std SAP.
    Regards,
    Amit

  • How to reverse an outbound delivery which having two posting doc.

    i have received a problem in which delivery not showing posted but in doc. flow it shows transfer doc. in which what i have done unpacked an HU and again packed in the new HU and posted. now i would like to reverse the delivery in VL09 it shows the following error "Delivery 30020132 - document flow missing respective goods issue"
    please suggest what to do.

    Hi Venu Gopal & Rajesh Banka,
    Thanks a lot for your responses.
    LT16 is a transaction to be used specifically only for SUT enabled environment. Hence was not suitable for our situation.
    Venu's solution sounded a very good logical work around. Hence tried it two times but both the times found that system does not remove the 'lock' sign. It just adds a new line below the original 'locked' line and when you select the new line without lock, system says 'The line selected can not be selected' with green tick mark.
    My guess is that probably system must be cross-checking in it's table / structure where it keeps the track of 'locked' deliveries and since the delivery number matches, it does not allow the selection of the delivery for return of the stock (in LT0G screen).
    So unfortunately the problem remains unresolved.
    But I thank you both the respondents for their helping hand.
    Regards,
    Surendra Vaidya

  • Reverse a Return Delivery with inspection lot posted (QM)

    Hello experts,
    I want to reverse with transaction VL09 a good movement of a return client delivery with inspection lot. I posted the inspection lot and transferred the material to Unrestricted use (transaction QA11).
    Then I began the cancel Return Process and I transferred the material to Quality (movement type 322) to run VL09 with material in Quality stock, but the system displays  the following error message:
    You cannot cancel GR, since inspection lot is already partly posted
    Message no. QA046
    Diagnosis
    You are attempting to reverse a goods receipt although quantity postings have already been made from the inspection lot. This means that stock for the goods receipt has already been transferred and, for this reason, a cancelation of the document is no longer possible.
    Procedure
    Ensure that the postings in QM (within the usage decision transactions) are carried out.
    Please let me know what can I do to reverse the return delivery.
    Thanks in advance.
    Pablo

    You are trying to do the process which you ahve already transferred through Transaction QA11.
    The role of Cancel return Process has already been done by this transaction as the Stock has already been into Un- restricted.
    Best Regards,
    Ankur

Maybe you are looking for