Problem related To deleted line item in po?

Hi All,
I want to know that if a line item of PO is deleted then which field gets updated for a deleted po and in which table?

Hi
In your dev/sand box client please create a sample PO and delete it later and save it. remember the number.
Do you want to kow how to find out and view the details of deleted PO? then use Txn SE11  table EKPO press the Display field. you will get the Dictionery : Display table
Click the Contents (ctrlshiftF10) button youewill have you will find the selection screen for the table.
Now in the selection screen the top fiel will be Purchasing doc. , entre the deleted po number here and Execute(F8) you will b able to view the deleted PO inside.
Now leave the field empty and enter the plant field below (optional), Enter the deletion Ind field Field value L and execute , you will find all the deleted POs .
Table - EKPO, Field - LOKEZ
Best Regards

Similar Messages

  • Problem Related to PR Line Items

    Hi,
    I want tht user won't be able to add more thn 250 line items. so I want tht whn user tries to do so PR will raise an error message . So Plz Tell Me How Can I Do tht.

    Hi
    You need to take help form your technical person to implement the BADI.
    In general to implement BADI you need to create the Implementation for the bADI in transaction SE19.
    You can view the details of the BADI in SE18.
    Once you create the implementation, write the logic in required method & activate the implementation.
    Regards
    Prasad

  • 2LIS_11_VAITM - Deleted Line Items

    I am having an issue with sales order line items that have been deleted.
    I load my data using 2LIS_11_VAITM into a DSO EDW Layer. I then pass this up to another DSO layer. I noticed that users were deleting line items from Orders and this was causing me an issue in my data. To remove the problem I have linked ROCANCEL to 0RECORDMODE in the Technical rule up to my EDW layer and now in my EDW layer the line item goes completely when it is deleted out of the ERP system ad the deletion is passed into BW.
    I got the idea for this from here Deleted line item appears in BI report
    My problem lies in the layer above where I am still left with a line in the DSO relating to the deleted line. But the KF are zero. Is there anyway to also get this line to be deleted out as per my EDW layer?
    Thanks,
    Joel

    Hi Joel,
    What is not completely clear to me is what happens in the first DSO. Are the deleted records removed from the active table or are the key figures set to 0?
    Furthermore, what is update rule for key figures: overwrite or addition (in the transformation to both DSOs)?
    The record mode is indeed the crucial factor. It must become clear which one is delivered by the DataSource: 'R' for a reversed record or a 'D' for an entire deletion? And what is the record mode in the update to second DSO?
    Best regards,
    Sander

  • Add or Delete Line Item in Billing Creation (VF01)

    Hi,
    During the billing document creation (VF01) for Order-Related Billing (example: Doc Type F5 - Pro Forma for Order), can you
    manually add or delete line items?
    Let's say if Sales Order was created with 3 line items and only 2 line items should be included in Billing Doc F5.  During the
    billing document creation (VF01), it automatically copies all 3 line items.  How can I delete the line item that I don't want
    to be included in Billing Doc F5?  Only way that I know is to put a billing block on Sales Order item so it won't automatically
    copied into a billing document.  But this process is inconvenient.  After F5 document is created, my user will then need to
    remember to go back to Sales order and remove a billing block from that line item.
    Also vice verse, can an item be manually added to a billing document during the creation mode (VF01)?  Is there somewhere
    in the configuration that I can change to allow this?  Or is it a standart SAP practice all items on a billind document have to
    be Order or Delivery-Related?
    Thanks,
    Michelle

    Hi,
    While creating the invoice via VF01. Please go to selection list icon. this will take to you another screen. here you can select the line item you want to copy/bill.
    Please try and let us know.
    Thanks,
    Vishal

  • In ME22N deleted line item should not be Re-activate

    Dear Sap Guru's
                         For Purchase order in T.code ME22N deleted line item should not be reactivate.
    If i create some line items in this t.code and i delete these items then ince again someone wants to views these they he should not be able to view the deleted line items.
                        plz give me reply as soon as possible.Urgent

    hi
    version management
    SPRO –> Material Management –> Purchasing -> Version Management .
    After activating version management you can see the Version tab in ME53N near to source of supply tab in PR.
    http://help.sap.com/saphelp_srm30/helpdata/en/46/882fdd8bfc1743bd5ef8b532f94402/content.htm
    SAP Enterprise Buyer provides you with version management for purchasing documents. As a first step, you can display versions of purchase orders and contracts.
    The system creates a version in the background if you, as a purchaser, carry out one of the following actions:
    · You change a posted purchase order
    · You order a posted purchase order again
    · You change a contract that has already been released
    · You release an already released contract again
    In contrast to the change documents that retain a change history, a version displays the status of a document at a specific point in time.
    Version management provides a check for you as a purchaser, for example, if you wish to display a purchase order in the form in which you transferred it to the vendor on day X. A version provides clarity, for example, in negotiations on a contract.
    Features
    You can use versions as follows:
    · Display
    · Compare and list differences in tabular form. The comparison result has separate areas that can be displayed:
    Header data (including organizational data, tax and payment data; partner data and documents)
    Item data (including taxes and limits if they exist; partner data, documents; account assignment and conditions)
    · Archive, if it relates to transaction data (you can archive versions of purchase orders, but not contract versions)
    You cannot change or output versions. This is only possible for the active document.
    Also, visit the following thread:
    regards
    kunal

  • BADI: ME_PROCESS_REQ_CUST  Detecting a Deleted Line Item?

    I have implemented this BADI for mapping and for defaulting GL Account Numbers that we read in a custom ZMAPPING_Table. All of my gl account mapping logic is in the 'PROCESS_ACCOUNT' method in this BADI. Just an FYI, there is some code in the 'PROCESS_ITEM' method in this BADI, for another process, as well.
    It is important that I keep track of the line items and their related GL Account Numbers, Material Groups, and all other line item data entered data during the create and change of a Purchase Requisition in a global internal table during runtime. It is working well.
    The issue is that I need to identify when a line item is being deleted in the P.R. during runtime Then,  I can delete the entry in the internal table as well.  When I delete a line item in the P.R. the logic always seems to break in the 'PROCESS_ITEM' method, and never the 'PROCESS_ACCOUNT' method.
    Is there a delete line item indicator, variable, flag, or field, that I can check during runtime in the 'PROCESS_ITEM' method in my ABAP code to see if a line item is in the process of being deleted in the P.R.? it would probably be easiest to validate this in the 'PROCESS_ITEM' method during runtime since we have some code in this method, and it always enters that logic when a line item is deleted. Below are the objects that are being read. If someone has the answer, I'd sure be happy to get the OO code for it as well, since I am still getting my feet wet with OO.
      Thank-You, Tom M.
    INCLUDE mm_messages_mac. "useful macros for message handling
      DATA: ls_mereqitem   TYPE mereq_item,
            l_matkl        TYPE t023-matkl.
      CLEAR: ls_mereqitem.
      ls_mereqitem   = im_item->get_data( ).
      l_matkl = ls_mereqitem-matkl.
      CONDENSE l_matkl.
    * Check if user is using an OLD material group
      DATA: ls_t023  TYPE t023.
      CLEAR: ls_t023.
      SELECT SINGLE begru
        FROM t023
        INTO ls_t023-begru
        WHERE matkl = l_matkl.
      CASE ls_t023-begru.
        WHEN 'OLD'.
    * PRJ0010029 Begin of Change
          IF sy-tcode = 'ME52N'  OR
             sy-tcode = 'ME52'.
            mmpur_message_forced 'W' 'ME' '303' text-002 text-003 '' ''.
          ELSE.
            mmpur_message_forced 'E' 'ME' '303' text-002 text-003 '' ''.
          ENDIF.
    * PRJ0010029 End   of Change
        WHEN OTHERS.
      ENDCASE.
    * PRJ0010029 - End
    Edited by: Tom Matys on Oct 6, 2011 4:55 PM
    Edited by: Tom Matys on Oct 6, 2011 4:55 PM

    You can check the value of the field LOEKZ of the PR item MEREQ_ITEM.
    DATA: ls_mereqitem   TYPE mereq_item.
    ls_mereqitem   = im_item->get_data( ).
    if ls_mereqitem-LOKEZ = 'X'.  " Item deleted
    endif.
    Regards,
    [Naimesh Patel|http://help-abap.zevolving.com/]

  • Net value of Sales order Zero - delete line item

    Hi,
    Sales Order is raised for 3 materials.
    Line item 10 --> 1 Qty --> Quantity delivered -->1
    Line item 20 --> 1 Qty --> Quantity delivered -->1
    Line item 30 --> 1 Qty --> Quantity delivered -->0
    Line item 10 and 20 have some price but as a result of R100(100% discount) their net value is zero.
    Line item 30 has some price, lets say Rs. 100
    The requirement: Line item 30 needs to be deleted.
    When I delete line item 30  and attempt to save the order, it takes me to incompletion log.
    Where it displays line item 10 Missing Data Net Value
    Where it displays line item 20 Missing Data Net Value
    What are the possible solutions?
    Happy Diwali in advance.
    thanks,

    I think I need divine intervention on this.
    1.I applied OSS NOTE 106567 and ran the report SDVBUV00 but it didnot solve my problem. Raised this issue in OSS also, but no solution.
    2.I changed the incompletion log for my sales doc at item level... I changed VBAP-NETWR as warning but still I could not solve it.
    3. Assigning "reason for rejection" at item level, does not solve the purpose and it invokes the incompletion log
    Any other options.
    Just a quick recap on the nature of problem.
    "+ Sales Order is raised for 3 materials.
    Line item 10 --> 1 Qty --> Quantity delivered -->1
    Line item 20 --> 1 Qty --> Quantity delivered -->1
    Line item 30 --> 1 Qty --> Quantity delivered -->0
    Line item 10 and 20 have some price but as a result of R100(100% discount) their net value is zero.
    Line item 30 has some price, lets say Rs. 100
    The requirement: Line item 30 needs to be deleted.
    When I delete line item 30 and attempt to save the order, it takes me to incompletion log.
    Where it displays line item 10 Missing Data Net Value
    Where it displays line item 20 Missing Data Net Value" +

  • 2LIS_02_ITM deleted line items are not reflected in BW

    Hi,
    Our current Data flow 2LIS_02_ITM-->DSO-->CUBE.
    I am analyzing a Invoice, When it is created 01.04.2014 it has got 10 Line Items and all the data is load to BW,Invoice with 10 Line items.
    In ECC I can now see the same Invoice only got 5 line items and from change log I can see 5 line items are deleted on 15.04.2014.These changes are not reflected in BW.In BW invoice data still shows 10 line items.
    If I perform setup table job and ECC RSA3 for that invoice I am getting only 5.
    I believe it’s something to do with 0RECORDMODE,Can you please let me know how to fix this in BW.
    Thanks

    Yes this is a known behavior in case of deltas.
    For Deleted line items Rocancel field will have an entry with R.
    To handle this you need to map ROCANCEL field in Technical group of transformation (Between Datasource to DSO) with 0Recordmode.
    Once you will do that then after activating the data in DSO it will nullify the records and deleted order or item will not appear.
    Regards,
    AL

  • Report for deleted line-items in Transfer Orders

    Dear All,
    Please help me in writing the code for "Report for deleted line-items in Transfer Orders".
    regards,
    nishu

    Thanks. Repor completed.

  • How to release Stock blocked against deleted line items from  Sales order.

    We have Scenario as follows.
    Sales order made for  items available in stock.  Deleted few lineitems from sales order balance items delivered and invoiced. Sales cycle is complete in all sense.
    What we have noticed is when we are creating new sales order / Delivery for deleted items from above Sales order it shows deleted quantity is blocked against old sales order. These line items are no longer
    available in old sales order since it is deleted also it is not appearing in open sales order report (VA05).
    Overall stock available is same as quantity mentioned in deleted line item.
    In MD04 - Sales requirenment transaction it shows sales order / line item against which it is blocked.
                    i.e deleted line item.
    How to release these stock and make available for sales. Any standard process available ? or any other solutions
    Thanks & Regards,

    I got a solution for my question from other forum. for info
    Go to SE38 and enter program SDRQCR21 then execute...
    Enter line item which is blocked for sales order in MD04 and enter plant then check Data
    transfer box and uncheck other boxes... It will pop up information and click yes...
    You will get one report and Stock inconsistency will go off and then check it in MD04....
    regards

  • I have a problem regarding sales order line item with confimed quanity

    Hi Experts,
    I have a problem regarding sales order line item with confimed quanity with '0'  with delivery block but confirming the sales order quantity once the order is released from credit check.
    The situation arises as per the below scenarios.
    Scenario - 1 -  When the sales order has two line item - one line item with confirmed qunaity in the schedule line and for the 2nd line item there is no available stock for the Material xxxxxx.
    Initially the sales order is created for the line item 2 with confirmed quantity = 0, and having the delivery block = 01 for the Material xxxxxx  and the order is set with credit check.  Once the order is relased from the credit check.  The quanity for the item 2 where the confirmed quantity will be = 0 ( Where it is not changing the confirmed quantity)
    Scenario -2-  Updating the order qunaity for the line item 2 as (9Pcs) it will goes to credit check and save the order.
    Maintain the stock for the line item 2 ( 5 Pcs).
    Once the order is released from the credit check.  Then  for the line item 2 the confirm quanity will be seting to 5 Pcs with Delivery blcok 01.
    This should not happen, When the credit check is released even though if it has stock based on the delivery blockl it should set the confirmed quanity to Zero.
    Can you please help me how to solve this issue.
    Looking forward for your reply.
    Thanks and Regards,

    Hi,
    I agree with your point.  In the sales order When the complete delivery check box is enabled where the confimed qty is set to zero, it is fine but when we save the orderr it goes to credit check.  Once we release the order using VKM3 where in the sales order the confimed quantity is setting to 5,  But it should set to Zero quantity.  Quatity should not be get confirmed it should be Zero Quantity. 
    Further in SPRO - customizing in the deliveries blocking reasons - It has a tick mark in the confirmation blcok.  But we dont want to remove the - Confirmation Block tick mark
    Please any one can help me if you have any solution to solve this problem.
    Thanks and Regards.

  • Deleting line items in sales order.

    Hi All,
    I got as issue while creating the order.
    issue:
    I try creatin an order by deleting some of the line items and the customer got the credit check. when i tried chek in the debug mode the deleted line items are not reflecting in the internal table.
    Is there any user exit availble thru which i can delete the line items from internal table on the basis of UPDKZ ffield?.
    Regards,
    Neslin.
    Edited by: neslin on Jan 16, 2008 8:21 AM

    Hi,
    This is the standard SAP behaviour.
    ...Seems development inside a relevant include is the only fix to achieve this.
    Regards,
    Anubhav

  • Deleted line item in Purchase Order?

    Dear forumers,
    I need to display data for PO history from the SAP MM module, but I will also need to exclude deleted line item.
    Is it right to check for this deleted line item condition in the EKPO-LOEKZ field? But, what do the values ' ' and 'L' mean here?
    Please help. Thanks!

    L - Deleted..
    space - Not Deleted..
    Thanks
    Amol Lohade

  • Relation between Invoice Line items and Accounting Line item

    Dear All,
    My requirement is to print all the invoice documents and it's tax values like cenvat, Ecess, BED and VAT.
    I have to fetch these tax details from BSEG table .
    I' am getting Invoice number ( RBKP-BELNR ) from BKPF-AWTKEY .
    Can any one please tell me how to relate the Invoice line items and Accounting document line items..
    Any BAPI or FM is there to retrieve these data.
    Please do needful in this regard.

    Hi,
    from table bseg - field Koart
    K = Vendor
    D = Customer
    S = G/L account here tax lines identify with buzid = T
    or take table bset for taxes
    Andreas

  • How to get report for deleted line items from sales orders

    Dear FRIENDS,
    please infirm the t.code or report for viewing the deleted line items from sales ordrers.
    Kindly do the neeedful.
    regards,
    N.M.PAWAR

    Hi,
    With transaction SE16 you can view table CDHDR for header changes and
    CDPOS for item changes. This includes deletion.
    OR
    GO to VA03 - Display Sales order -> Put order no : don't press enterbutton. -> Go to Enviornment -> changes -> You will get details
    Date ItmNo. SLNo Action
    Hope this help please close the thread if answers

Maybe you are looking for

  • 3 Kernel Panics within 2 days

    Hey guys, I don't understand why I keep getting Kernel Panics. I have replaced my RAM and HDD but the kernel panics started happening a few months before then. I then took my MacBook Pro to the Apple store and they kept it overnight. 3 days later I g

  • PI 7.1 ESR and Java Webstart very slow

    Hi, I have been using the PI ESR and IB on the snow leapord OS with Mozilla and Safari browsers. The java webstart seems to be very slow  and working on the ESR objects is sometimes a pain as it takes long time to save , activate or change and someti

  • How to change box (border) lines dynamically?

    Hi, is there a way to change the lines of a box  (in german "Rahmen) on an usual abap dynpro dynamically? Background: I've a box with several objects inside on my dynpro. In same cases I hidde a few of this inside elements by modifing the screen tabl

  • N80 Fonts too small to read

    Does anyone know how to increase the size of the fonts so that things like phone numbers from phone book and text messages can be read by anyone ove the age of 30. The text size on my N80 is about half the size of newspaper fonts and having a blue ba

  • XL reporter - control pagination schedule.

    XL REPORTER - control pagination schedule. It is possible insert end page in schedule from XL reporter designer? I've got schedule - 80 sheets, I need insert end page in part, where is control data in this schedule. Please help me to solve this issue