How to delete delivery  Line item after the Invoice Passed accounting

Hi Experts,
                Outbound delivery was created w.r.t.  Purchase order using VL10B.In the current process here batch is determined at delivery level.There was a line item with '0' Quantity which had a batch and another line item with Full Quantity confirmed for a batch and the PGI was done for the delivery.Invoice was created and passed accounting.
                 The problem is that in VF04 in the Billing due list we are able to see the '0' Quantity Line item  as shipped but not yet billed.
                 Doing a PGR ,then delete the line item with '0' Quantity and then again doing PGI was suggested by few people but i feel that will be a very tediuos process since the document  passed accounting.
                  Can anyone help in getting the line item deleted from the delivery document or suggest with ways to remove the data at VF04.
Warm Regards,
Jeff

I think you can comeplete the item by using T.code VL_COMPLETE, check and let us know your feedback

Similar Messages

  • How to delete a line item from the sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi
    U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
    This is called short close ( as the qty is not delivered fully).
    Thx.

  • System should not allow to delete PO line Item after GR/IR

    Hi,
    I am working on a SAP Retail Implementation project.
    Currently the system is allowing us to delete the PO line items after doing GR or IR against that PO line item. But the clients requirement is that the system should not allow to delete PO line item after doing GR/IR.
    We are using Account Assignment Category-N, Item Category-S.
    Please let me know if you have the solution for this requirement.
    Thanks in advance
    Thanks & Regards,
    Suresh

    Hi,
    Standard SAP will not allowed the PO to be deleted once it was GR done. The controlled is on the attributes of message to set as "E"
    Message no. 06115
    But if invoiced takes place, the is the point that PO can be deleted.
    You have to do have a Enhancement using MM06E005, insert you logic here to check PO history tables like EKBE, then check if invoice " Q" (BEWTP) exist, the PO cannot be deleted once the user delete the PO line and SAVE it. Ask you developer to help you on the following coding.
    Use MM06E005 and EXIT_SAPMM06E_012
    IF SY-TCODE = 'ME22N'.
    IF sy-ucomm = 'MESAVE' OR SY-UCOMM = 'YES'..
    LOOP AT TEKPO.
    IF TEKPO-LOEKZ = 'L'.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR1 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'E'.
    IF SY-SUBRC = 0.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR2 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'Q'.
    IF SY-SUBRC = 0.
    Regards,

  • BAPI_OUTB_DELIVERY_CHANGE - Delete Delivery Line Item

    Hi all
    I am using BAPI_OUTB_DELIVERY_CHANGE to delete line items from outbound delivery, but am unable to do so.
    Kindly let me know of all the parameters that need to be passed to delete a line item.
    i have called BAPI_TRANSACTION_COMMIT after this bapi, but nothing happened.
    Points will be rewarded for useful answers.
    Regards
    Ravish

    Hi,
    Chk this part of code ,
    IF delivery_item IS NOT INITIAL.  "Delete particular Delivery item
          SELECT SINGLE vbeln posnr charg matnr lfimg umvkz umvkn
                 INTO wa_lips
                 FROM lips
                 WHERE vbeln = delivery AND posnr = delivery_item.
          item_data-deliv_numb = wa_lips-vbeln.
          item_data-deliv_item = wa_lips-posnr.
          item_data-material = wa_lips-matnr.
          item_data-dlv_qty = wa_lips-lfimg.
          item_data-dlv_qty_imunit = wa_lips-lfimg.
          item_data-fact_unit_nom = wa_lips-umvkz.
          item_data-fact_unit_denom = wa_lips-umvkn.
          item_data-batch = wa_lips-charg.
          APPEND item_data.
          item_control-deliv_numb = wa_lips-vbeln.
          item_control-deliv_item = wa_lips-posnr.
          item_control-del_item = 'X'.
          APPEND item_control.
        ELSE.                         "Delete whole Delivery
          header_ctrl-dlv_del = 'X'.
        ENDIF.
      ELSE.
        header_ctrl-dlv_del = 'X'.
      ENDIF.
      header_data-deliv_numb = delivery.
      header_ctrl-deliv_numb = delivery.
      CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
        EXPORTING
          header_data    = header_data
          header_control = header_ctrl
          delivery       = delivery
        TABLES
          item_data      = item_data
          item_control   = item_control
          return         = return5.
    Thanks,
    Hope that helps!
    Edited by: aditya on May 15, 2008 9:01 AM

  • How to find open line items from the BSID table

    Hello Guru's
    I need some fever from you......... please any one tell me that How to find the open line items from the BSID table .
    please replay ASAP..
    Regards,
    Raghunath.S

    Hi Raghunath
    BSID and BSAD are Secondary Index tables for Customer line items. All customer open items are stored in BSID table and Cleared items are stored in BSAD table.
    Regards,
    Venkat

  • How to display a line item in the billing calculation ?

    Hi Experts,
    My client requirement is to just display a line item in billing without affecting the total invoice amount. ( line item should just show up, no calculation should be included).
    Regards,
    Farooq

    i agree on the rate step fr the calculation you would like to see the line item check the variant control, it usually has the option to write a line item.  depending on the variant.
    bobby r.

  • Delete delivery line item

    Hi,
    I am trying to pick and PGI deliveries with inbound EDI 945 (WH shipping advice). To do PGI on partially picked deliveries, I need to delete the line item that is not pick at all. Is it possible to delete the line item automatically from the delivery with the FM that I am using - Idoc_Input_Delvry (message type "SHPCON") ?
    Thank you,
    Rajesh
    Edited by: rajesh j on Sep 20, 2008 4:38 PM

    Hi,
    You no need to delete the line item you can do the PGI by making the line item pick quantity to zero. It will solve your problem.
    Thanks,
    - Prakash

  • How to delete actual line item - COPA

    Dear Experts,
                          I created one line item manually in COPA, now i want to delete it. (FI to COPA) how i can delete this entry.
    Thanks in advance
    Regards
    avudaiappan

    If you created it using KE21N, then simply post it again but use negative values (if they where originally postive, and vice versa).
    If youcreated it through FI, then simply reverse the document FB08.

  • How to delete schedule line item

    Hi All,
    I want to delete schedule line entry for an item in R/3.
    How can i do this?
    Thanks,
    Nabha

    Hi,
    For some of the business documents schedule line item deletion would be partially which means mark for deletion-specially when the case of POs and so on
    other in general you need to goto the change document t-code and select the line item and you find the delete row mark in the same screen and select..
    Hope this helps..
    assign points if useful.
    cheers
    Pattan.

  • How to Print Multiple line items(only the one's that are selected in va22)

    Hello All ,
    My smartform should print the multiple selected line items that i as a user should be able to see as the output .
    In my case i dont have any program that calls the transaction va22
    directly from the transaction VA22 i give the ISSUE OUTPUT TO .
    The Driver program that calls my smartforms fetches the data from table VBAP .
    Two cases that i get because of this fetching logic .
    1. When i try to fetch the data based on only VBELN in the output i get all the items that are in the particular Quotation .
    2 . When i try to fetch data based on VBELN and POSNR in the ouptut when i select multiple items and give print the first item that i i selected is displayed .
    Now what i need is to print only those data that i select in VA22 .
    say if there are items A, B , C, D ,E  in the Quotation .
    and before printing i select A , C , D then only those items should be printed .
    I hope any one  of the Experts  can solve my problem .
    Thanks & Regards
    Faran

    Hi
    I think you will need to do some enhancemwnt for this. What you can do select the lines in table comtrol and before issuing output you need to find a suitable wnhancement place where you can export the selected lines and make the corresponding change in logic for the same?.
    Secondly uou can make a custom report also where user will select lines of po and print..but in this way you will need to many calculations
    Nabheet

  • Tax value of each line item in the invoice.

    Dear All,
    We got a requirement to develop a report showing the tax amount of each individual line item.
    RBKP table shows the total tax at the header level,how to get the tax amount at the item level.
    Thank you.

    Try the BSET/BSEG table

  • What is the direct link between Schedule Line item and Delivery line item?

    Hi SAP SD Gurus,
    The question is simple.  I would like to calculate the Open order quantity for a particular month based on the Schedule Line Date.
    I am taking all the Schedule lines falling below the running date of the month and sum up that and look for the deliveries happened for that Schedule lines.
    I am unable to link that Schedule line with that Delivery line item.
    The only link is Schedule Line Number in VBEP table which is not available in LIPS.  I would like sum up the Schdule line Quantities and Subtract the sum of the Delivery quantities which will give me the Open orders for the particular day of the month.
    Can anyone help me to link this VBEP table to LIPS table to connect the Schedule line number with the Delivery line item?
    Thanks in advance for your help..
    Augustine

    Anuj,
    I am aware of the Functional Modules. 
    I wanted to know for this Schedule Line, this is Delivery document created.
    Where in SAP through Tables it is linked?  Because, I need to source the Tables to calulate the open orders by way of external report through Business Object.
    The table link from VBEP to LIPS is not directly linked.  It is linked from Sales order line item level.  Because we are capturing all the Sales order Line tiems through the Delivery Status which is not equalled to C. But if there are partial deliveries against the Scheuld Line item level, we need to identify.  The only common joint should be Scheldule line number which is not available in LIPS.
    If we are developing report inside SAP, we can use the said Functional Modules to capture through Structures VBEPD.  Since it is a external reporting , we need to give correct tables and the joints.  Hence I am looking for any other way to solve this.
    Thanks
    Augustine Ponraj

  • Custom table Not deleting the line items on the order.

    Hi All
    I have an issue, In SAP  we have created a custom table which is related to ship to party, as and when we delete any line items in the order(VBAP)  it should update /delete the custom table but it is not deleting, while when we create any line items in the order (VBAP) it is updating  the entries in the custom table which is suppose to happen.
    Please let me know your inputs.
    Thanks,
    Ram

    UPDKZ is not a field name. it is the processing status of a line or order.
    If UPDKZ is I , its initial, like adding a new line
    If UPDKZ is U, its update. Like changing or modifying an existing line
    ....so on...
    Regards
    Sai

  • DELETE A LINE ITEM IN SALES ORDER

    Hi,
    Can any one tell me how to delete a line item from a sales order? Please tell me the BAPI/FM and what are the parameters to be passed.
    Thanks,
    Challa

    Hi,
    Use the BAPI: BAPI_SALESORDER_CHANGE.

  • Pack without using delivery line items

    Hello Abappers,
    Packing using function module WS_DELIVERY_UPDATE is used to pack a delivery and is working fine. However this function module packs by delivery line item so HU's cannot be packed more or less in quantity than the delivery line item. The client wants to pack the delivery as a whole balancing out the packing loads on the HU's as is done when packing manually so that each HU is loaded as close to capacity as possible. Has anybody had experience with using this FM or another where the delivery is packed as a whole and not by line item.
    Thanks

    Hello Chaithru.
    check include MV50AFZ1, form  USEREXIT_SAVE_DOCUMENT_PREPARE.
    If delivery number already given, you should be able to save text with function module SAVE_TEXT in this user exit.
    Best Regards, Dirk

Maybe you are looking for

  • How to access my files

    My main computer (G5) failed and it's been repaired. But for the time being I'm working with my laptop. When I try to access my files in Time Capsule (Time Machine) I don't get the option to look at my G5 backups. When I click on the Time Capsule Ico

  • How can I restore bookmarks?

    I have hundreds of bookmarks which I've acquired over a number of years, most in folders on the bookmark bar on my iMac. I use Chrome as a browser. I also have a Nexus 7 and have an app called Chromesync, to sync the bookmarks from my iMac to my othe

  • Partner role

    Hi all,   Im new to IS-OIL. Can anyone explain what is this partner role and location and what is the use of it? I tried to understand the same through SAP documents. but i didn't understand. can some one explain in simple terms? Regards, Rahul

  • Adobe Reader XI - Poster printing settings

    I am struggling to adjust the settings correctly in Adobe Reader XI in order to use four A3 pages to create an A1 to scale. The PDFs are saved as A1 from AutoCAD. I am aware I am to use the Poster option for printing this way, but I am unaware of the

  • ITunes library file NOT corrupt but cannot locate music files

    This is a new one... the library file seems to be NOT corrupt. iTunes loads fine and is populated by all the music information and artwork, etc. but when I click to play a tune, it says "cannot locate music". Nothing was moved, nothing has been chang