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

Similar Messages

  • 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

  • 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 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

  • 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

  • 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

  • How to copy line items from one expense report to the next

    I travel to the same project/destination every week so in PR05, I was able to just copy the previous expense report for the new week and edit the expense values. Now, when I book travel, the air line booking starts a new expense report entry.
    Is there a way to copy the employee-paid expenses to the GetThere-generated trip entry expense report, i.e. just copy the line items from one expense report to another that already exists. I guess that would be a merge function.

    Hi Tom,
    Here are two alternative solutions:
    Alternative 1:
    If you copy the expense report before you book the services (flight, hotel …)
    in GetThere, then the airline or hotel bookings will not start a new expense
    report but will be assigned to the copied expense report.
    Alternative 2:
    This alternative is a bit laborious.
    Shift the start date and end date of the expense
    report  that was automatically created by
    your flight booking for next week (e.g. Calendar Week (CW)  47) to the week after next week (e.g. CW 48).
    Copy the expense report of the previous week (e.g.
    46)
    Afterwards open the expense report that you
    moved to CW 48 and click on the tab strip itinerary
    Now assign the bookings (flight, hotel …) to the
    expense report of CW 47 by clicking on the button assign to existing trip
    Later delete the expense report in CW 48
    Get back to me if you have any questions concerning the alternatives outlined
    above.
    Note:
    These solution alternatives are only available for customes using HTML5 UIs.

  • 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" +

  • How to identify the times that a item appears in a report.

    Hi community,
    Let me explain the scenario.
    We have developed several reports for its use by the several users of the company. So, we have reports for Management, Administration, Commercials and our Production Users. Let's focus in last ones. Several reports shows the production of our semi-elaborated and elaborated products and the stock of the components needed to build those semi-elaborated and elaborated products.
    Our Production users, wants to know how to include a calculated column that shows the times that an item appears in the report (or if there is a way to show in the report, how many times an item appears in it).
    We have just trried to create a calculated column including in it the COUNT_DISTINCT function (using its both expressions), but we do not understand all the parameters.
    So can anyone in the community help us?
    Thanks in advance for your help and assistance.
    Luis.

    Hi,
    It all depends on what information you have in your report and what data items are available in the database.
    If you have a grouped report (group sort) so that you have one line for each product, then you can use COUNT_DISTINCT(item_id) as a grouped function. This will give you the number of different not null item_id's found in the group.
    However, if your report is not grouped by product, so for example, you have many component lines for each product but you want to show one figure for all the product components lines then you need to use COUNT_DISTINCT(item_id) as an analytic function. The COUNT_DISTINCT(item_id) OVER (PARTITION BY product_id) will give you the number of not null item_id's for each product_id in the report.
    If you have the time when an item is added to the database then you may want to use the group function MIN(time_of_item) to show the earliest time in the report.
    Rod West

  • PO (Line Items wise) Payment Status Report

    Hi Friends,
    Is it possible to get a PO (Line Items wise) Payment Status Report.
    My client wants PO Line wise payment status as a MM report development.
    We have Down Payment, Residual & Retention money as a business practise with our vendors
    Following is the MM-FI flow in our company code..
    Create & Release PR u2013 MM - Creating PR
    Create & Release PO (ME21N) u2013 MM u2013 Creating PO
    F-47 Down Payment Request u2013 MM u2013 Creating DPR
    F-48 Post Vendor Down Payment u2013 FI - Posting DPR
    FBZ5 Print Check for Payment Document u2013 FI - For printing cheques for DP only
    MIGO/ML81N, GR u2013 MM u2013 SES/GR for PO
    MIR7/MIR6 IR - MM/FI u2013 Parking & IR
    F-44 Clear Vendor u2013 Linking advance with IR (as residual clearing)
    F-53/F-58 u2013 Posting Payments after deducting Retention
    F-04 Post with Clearing u2013 Clearing Outgoing account entries with Main account
    Thanks in advance.
    Regards,
    Vikrant Sood

    as per my knowledge you can configue a new Z table or prepare a Query using EKPO table you will your desired result.
    regards,
    Ninad Kshirsagar

  • How to make a new line item appear in a sales order in VA01 transaction?

    Dear All,
    I am trying to create a SO with single line item with quantity 100.
    Upon hitting the 'Enter' key, if the available quantity is less than the requested quantity (say 20), it takes me to an availabilty control screen which has a push-button 'One-time delivery' on the application tool bar.
    Upon clicking on this button, it takes me back to the main screen of VA01 where I currently see only one line item with quantity 100 and confirmed quantity 20.
    My requirement here is to make two line items appear, one with quantity 20 and the other with quantity 80, once I navigate back to the main screen of VA01 after clicking on the push-button 'One-time delivery'.
    Please provide me your valuable inputs. Any kind of help is highly appreciated.
    Useful answers never go unrewarded.
    Regards,
    Sreekanth Reddy B.

    Hi Sreekanth ,
    creating line items based on the confirmation qty can be done thru config, not thru ABAP,standard SAP will gives you options to create a new line item for unconfirmed qtys.
    check with ur functional consultant or try to post in SD /APO forums.
    regards
    Prabhu

  • 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

Maybe you are looking for

  • How Do I use my External Drive for my iTunes Library without adding anything to my Mac's HD?

    I have a new MBP and have transferred all of my music off my old pc (250+ gigs) to a Lacie 1TB thunderbolt external drive.  How do I use the external as my primary itunes library with out using any of my Mac's HD?  I'm new to mac so I have a few more

  • Time Machine stopped backing up; Spotlight not working

    Recently, Spotlight search stopped returning results for applications, and no amount of reseting Spotlight or rebuilding the index has helped. I had given up on that, then today I noticed that the last backup Time Machine completed was on 10 January

  • Trying to use Process Control in session bean

    Hi, In Workshop, I have a session bean that is <i>trying</i> to call a method on a business process control. (The control was created in a process project and then moved to a control project to make it visible.) The problem, in the example below, is

  • How to fetch the customer contact details like phoneno,fax_no

    Hi All, i am knew to Apps .here i need to extract the details from database to text file.in my query i have a problem to get the details about customer contact_no like phone_no,fax_no,contact_person_name(first,last).anyone can help in this case.thank

  • Ora-22286 message

    Hi, I am running 8.1.7 db. I created a directory called IMAGES. I created synonym for it . I have a stored proc which when called post the images in the IMAGES directory to the db. I am getting the following message and I am not sure what privilege a