Deleted line items

Hi,
Please let me know in which table i can find the parked line items which are deleted.
Thanks,
Sri.

Hi,
I need tables for GL.
Thanks,
Sri.

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • Not able to delete line items using BAPI_OUTB_DELIVERY_CHANGE

    Hi,
        Not able to delete line items of a delivery using BAPI 'BAPI_OUTB_DELIVERY_CHANGE', with thte below code and even return parameter has zero messages.
    I have even checked existing below posting.
    https://www.sdn.sap.com/irj/scn/logon?redirect=http%3a%2f%2fforums.sdn.sap.com%2fthread.jspa%3fthreadid%3d782509
    Below is the code that i am using.........
    *wa1-deliv_numb = wa_lips-vbeln.
    wa1-deliv_item = wa_lips-posnr.
    APPEND wa1 to item_data.
    wa-deliv_numb = vbeln_so .
    wa-deliv_item = l_item.
    wa-del_item = 'X'.
    APPEND wa TO item_control.
    w_header_data-deliv_numb = vbeln_so .
    w_header_control-deliv_numb = vbeln_so .
    w_delivery = vbeln_so .
    *w_header_control-dlv_del = 'X'. "Delete whole Delivery
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
      EXPORTING
        header_data    = w_header_data
        header_control = w_header_control
        delivery       = w_delivery
      TABLES
       item_data      = item_data
        item_control   = item_control
        return         = return.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    I have even  tried uncommenting item_data parameter but not able to delete line item.....i am able to delete whole delivery but not line items .........can any one of u help me in resolving this issiue plz ???
    Regards,
    M, Manohar

    Kindly use WS_DELIVERY_UPDATE to delete the items
    Sample code:
    L_VBKOK-VBELN_VL = vbeln_so.
    clear l_vbpok.
             refresh l_vbpok.
             l_vbpok-vbeln_vl = vbeln_so
             l_vbpok-posnr_vl = wa_deliv_item.
             l_vbpok-lips_del = c_x.
             append l_vbpok.
             set update task local.
             call function 'WS_DELIVERY_UPDATE'
               exporting
                 vbkok_wa = l_vbkok
                 commit   = ' '
                 delivery = lv_delivery
               tables
                 vbpok_tab = l_vbpok
               exceptions
                 others   = 0.
             commit work and wait.

  • Deleted line  item not display in Print preview

    Dear All ,
                                    Pl guide that when i delete the line item from a P.O then this deleted item is not visible in Print Preview .pl help what are the exact setting due to which i can know why this del item is not coming in Print Preview.
    Rgds ,
    Rajeev
    Edited by: sap11 on Feb 11, 2009 10:37 AM

    HI,
    Using the standard programm and print form the system works as follows:
    When you will create a new Purchase order with two line item. System
    will create new message record with  Change message flag (NAST-AENDE) as
    space and processing status (NAST-VSTAT) as  0 "not processed".
    After this if you will output the message using ME9F then system will
    update the message processing status NAST-VSTAT as 1 "Successfully
    processed".
    When you will delete line item 10, at that time system will create
    one more message record with indicator Change message flag
    (NAST-AENDE = X ) and processing status 0 "not processed".
    Now system contains two message records in table NAST, one for which
    processing has been done and one change message record for which
    processing has not been done.
    If you will run ME9F with processing status 0 then this means you
    wants to output the change message record means you wants to inform
    your vendor that item 10 has been deleted. That's why system show
    line item 10 but you can notice in print preview, system mentions that
    item 10 has been cancelled.
    If you will run the message with processing status as 1 then this is
    not change message output means system will show you latest print
    of purchasing document and thus will not show line item 10.
    Please take the print out of both message record and you can see the
    difference.
    I hope this information helps!
    Best Regards,
    Arminda Jack

  • 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

  • BAPI_SALESORDER_CHANGE [delete line item and update ]

    LOOP AT itab_ch .
      *IF itab_ch-itm_number = selpos1 AND  delflag = 'X'.*
    *     Delete Line items
        s_order_header_inx-updateflag = 'U'.
        i_order_item_in-itm_number = itab_ch-itm_number.
       schedule_lines-itm_number = itab_ch-itm_number.
        schedule_lines-sched_line = zsd_tab_z-etenr.
        schedule_lines-req_qty = itab_ch-target_qty.
        i_order_item_inx-updateflag = 'D'.
        i_order_item_inx-itm_number = itab_ch-itm_number.
      schedule_linesX-itm_number = itab_ch-itm_number.
      schedule_linesx-sched_line = zsd_tab_z-etenr.
      schedule_linesx-req_qty = 'X'.
      APPEND schedule_lines.
      APPEND schedule_linesx.
        APPEND: i_order_item_in, i_order_item_inx.
    ELSE.
        if itab_ch-item_categ = 'ZFRS'.
    s_order_header_inx-updateflag = 'U'.
        i_order_item_in-itm_number = itab_ch-itm_number.
        i_order_item_in-target_qty =  itab_ch-target_qty.
    schedule_lines-itm_number = itab_ch-itm_number.
    schedule_lines-sched_line = zsd_tab_z-etenr.
        schedule_lines-req_qty = itab_ch-target_qty.
        i_order_item_inx-updateflag = 'U'.
        i_order_item_inx-itm_number = itab_ch-itm_number.
         i_order_item_inx-target_qty =  itab_ch-target_qty.
    schedule_linesX-itm_number = itab_ch-itm_number.
    schedule_linesx-sched_line = zsd_tab_z-etenr.
      schedule_linesx-req_qty = 'X'.
      APPEND schedule_lines.
      APPEND schedule_linesx.
        APPEND: i_order_item_in, i_order_item_inx.
        ENDIF.
        ENDIF.
          ENDLOOP.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument     = vbap-vbeln
        order_header_in   = s_order_header_in
        order_header_inx  = s_order_header_inx
        behave_when_error = 'P'
      TABLES
        return            = it_return
        order_item_in     = i_order_item_in
        order_item_inx    = i_order_item_inx
       schedule_lines     = schedule_lines
       schedule_linesx    = schedule_linesx.
    here line item is delete perfect but when i use  updateflag = 'U'  for other line itme then
    quantity is not modify
    Code Formatted by: Alvaro Tejada Galindo on Dec 26, 2008 10:26 AM

    DATA: s_order_header_in LIKE bapisdh1.
      DATA: s_order_header_inx LIKE bapisdh1x.
      DATA: BEGIN OF i_order_item_in OCCURS 0.
              INCLUDE STRUCTURE bapisditm.
      DATA: END   OF i_order_item_in.
      DATA: BEGIN OF i_order_item_inx OCCURS 0.
              INCLUDE STRUCTURE bapisditmx.
      DATA: END   OF i_order_item_inx.
      DATA: BEGIN OF it_return OCCURS 0.
              INCLUDE STRUCTURE bapiret2.
      DATA: END OF it_return.
      DATA: BEGIN OF i_sched OCCURS 10.
      INCLUDE STRUCTURE bapischdl.
      DATA: END OF i_sched.
      DATA: BEGIN OF i_schedx OCCURS 10.
      INCLUDE STRUCTURE bapischdlx.
      DATA: END OF i_schedx.
    LOOP AT itab_ch .
    s_order_header_inx-updateflag = 'U'.
    IF itab_ch-itm_number = selpos1 AND  delflag = 'X'.
    Delete Line items
        i_order_item_in-itm_number = itab_ch-itm_number.
        i_order_item_in-TARGET_QTY = itab_ch-target_qty.
        i_order_item_inx-updateflag = 'D'.
        i_order_item_inx-itm_number = itab_ch-itm_number.
        i_order_item_inx-TARGET_QTY  = 'X'.
        APPEND: i_order_item_in, i_order_item_inx.
      Fill schedule line flags
      i_sched-itm_number = itab_ch-itm_number.
      i_sched-sched_line = '0001'.
      APPEND i_sched.
      i_schedx-itm_number  = itab_ch-itm_number.
      i_schedx-sched_line  = '0001'.
      i_schedx-updateflag  = 'D'.
      APPEND i_schedx.
    ELSE.
    *****UPDATE TIEM.
      if itab_ch-item_categ = 'ZFRS' .
      Fill schedule lines
      i_sched-itm_number = itab_ch-itm_number.
      i_sched-sched_line = '0001'.
      i_sched-req_qty    = itemdiv.
      APPEND i_sched.
      Fill schedule line flags
      i_schedx-itm_number  = itab_ch-itm_number.
      i_schedx-sched_line  = '0001'.
      i_schedx-updateflag  = 'U'.
      i_schedx-req_qty     = 'X'.
      APPEND i_schedx.
    ENDIF.
    ENDIF.
    ENDLOOP.
    IF errorflag IS INITIAL.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument     = vbap-vbeln
        order_header_in   = s_order_header_in
        order_header_inx  = s_order_header_inx
        behave_when_error = 'P'
      TABLES
        return            = it_return
        order_item_in     = i_order_item_in
        order_item_inx    = i_order_item_inx
       schedule_lines     = i_sched
       schedule_linesx    = i_schedx.
      ENDIF.
      LOOP AT it_return.
    READ TABLE it_return WITH KEY NUMBER = '233'.
          IF sy-subrc = 0.
         CONCATENATE it_return-message  INTO zmsg.
          MESSAGE i000(38) WITH it_return-message .
          EXIT.
           ENDIF.
    ENDLOOP.

  • Urgent : Issue with deleting Line Item in ME22N

    Hi all,
    I have an issue with deleting line item in ME22N for some Purchase Orders.
    When I try to delete the line item, a warning message comes up saying that " Quantity invoiced or delivered is less than the quantity ordered". And I am unable to proceed further and save the PO. Could anyone let me know as why this is happening?
    Thanks in advance.
    Regards,
    Adapala.

    Hi
    there is no need of group key.
    if any of these 3 are done, payment will be done in total.
    1.In setup all company codes for payment transactions , DESELECT seperate payment per business area check box
    2.In setup paying company codes for payment transactions , DESELECT seperate payment for each reference check box.
    3.In the Vendor Master got to payment transactions tab and below the payment method , there will be individual payment checkbox. DESELECT that check box.
    try again with first two with DESELECT options , i will check out with DME.
    Cheers

  • Deleted line item appears in BI report

    Helllo Gurus,
    How can we take care of deleted line items or sales order in sap BI.
    One of teh user came up to me and said even though i delete the line item in ECC but i am able to see in BI report.I thought it has something to do with ROCANCEL Field.
    In addition to  that my flow is 3.5 and we are reporting on DSO.So can you suggest how to take care of it.
    Thanks in advance.,
    Regards,
    AL

    Hi,
    I have worked with similar scenarios and my understanding is that whenever a order line is deleted, delta comes properly through LO data sources.
    You are using 2LIS_11_VAITM which should have a ROCANCEL field which you will need to load delta properly specially in case of deleted records.
    In your DSO, add 0RECORDMODE info object and map it to ROCANCEL (you will have to add this object in your info source as well as you are using 3.5 flow).
    Now, you do not need to worry about anything, if a order line is deleted in ECC and you are doing a delta load using 2LIS_11_VAITM, you will get the deletion record and it will delete the record in your DSO (I should say ODS as you are using 3.5) also.
    The keys of your DSO must be Sales Order Number and Sales Order Line Item.
    As far as I remember, deletion record comes with a value of R in ROCANCEL and X is used for Before Image.
    Regards,
    Gaurav

  • How to delete line item from delivery?

    Hi Experts,
    Two Invoices are associated with one delivery  delivery ,Now  due to a system error, first invoice didnu2019t generate any accounting document, so we cancel it. On the other hand  second invoice  was ok so we leave it, now we need to cancel the two lines of delivery.
    There are four items in the delivery and two different  billing document has been created for 2-2 line item,now as for last two items billing document is already been cancelled so how to remove this two item from delivery.
    Thanks,
    Dharmesh

    Dear Dham
    Please cancel the both the invoices then only you can delete delivery from delivery you cannot delete line item bcause delivery is the smae for both line items then process accordingly do delivery for line item wise (OR) try to see revenue account determination config in the masters how every try to post with existing
    Revenue account Determination
    Application
    Company Code
    Chart of accounts
    Sales org
    Acc assi Grp customer master
    Acc assi Grp material master
    GL Account for account receivables
    OR you need to find out FI posting period if it is closed trying to for previous monnth then account document will not get genertaed
    ask fi to open posting period try to close
    Regards
    M L Naidu

Maybe you are looking for

  • How can I promote a field in my form to a SharePoint 2010 list column and have it populated?

    Hello,    I have created a form using some jquery, html and <td> tags. I would like to promote the fields that I am having users fill out in the form so that they appear in the list that the submitted form is writing to. Below is the code that I have

  • How do I program Instrument I/O Assistant to read a variable in the input string?

    How do I program the Instrument I/O Assistant to read a variable in the input string? I can manually type in the string using the Instrument I/O Assistant using the "Write" or "Query" tools but I do not know how to send a variable input to the Instru

  • Can't update or uninstall

    Whenever I try to update or uninstall, I get the following error: An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator. Spoke with IT guy, he doesn't know what that mea

  • Camera import and Aspect ratio

    Hello everyone I have a Panasonic video camera connected to iMovie via Firewire. The issue is that the *movie was recorded 4:3 aspect*, but iMovie for some reasons *displays the preview and imports as if it were wide-screen* aspect. Therefore the mov

  • How to edit head tag for fullscreen presentation

    Hello! I'm making a presentation and as such I would like to open fullscreen in safari. I have read some posts in various places suggesting the use of <meta name="apple-mobile-web-app-capable" content="yes"> , but for that I have to include the code