Report of Sales Order lines deleted

Hello all,
I am hoping someone can provide some assistance with my query below. Thanks in advance:
I am looking to build a report that lists all deleted Sales Order lines within a given period. I have tried using the sales order tables but cannot see any useful fields/flags here. I have also looked at the ADOC/ADO1 tables but I cannot make sense of the entries on this table from a sequencing point of view.
Maybe I have to use the SP_transactionnotification stored procedure to write entries to a UDT?
Any advice would be appreciated.
Mike.

Ordering according to the LogInstanc column you can get the consecutive states of an entry inside the archive tables.

Similar Messages

  • Need to report on sales order lines using specific pricing modifier

    Is there a report I can run for a specific modifier number that will give me all the sales order lines that were adjusted using that pricing modifier?

    Use oe_price_adjustments table and link that to the qp_list_headers and lines to get the details of the modifiers.
    Thanks
    Nagamohan

  • Sales order line delete fails for treetype=S line items

    SBO v8.8 PL17
    In a Windows Console DI application, I need to delete lines that have TreeType=S from a Sales Order.
    I get an error message that the Delete Line Failed and no other details for the error.
    I have no trouble deleting the line in the SBO client sales order screen.
    Often, the Sales Bill of Materials (SBOM) for the item on the SO line has changed after the line was created. 
    Could the DI be validating the child item rows (treetype=I) for the father item against the current lines in the SBOM and blocking the deletion because they no longer match? 
    In any case, how can I get around it or at least find out the actual reason the the line deletion fails?

    Is the error description the same when you use old-school error checking?
                         If FixSO.GetByKey(DocEntry) Then
                             FixSO.Lines.SetCurrentLine(LineNum)
                             Try
                                 FixSO.Lines.Delete()
                                 tst = FixSO.Update
                                 If tst <> 0 Then
                                     Dim errCode As Integer = 0
                                     Dim errMsg As String = String.Empty
                                     oCompany.GetLastError(errCode, errMsg)
                                     Console.WriteLine(errCode & " " & errMsg)
                                 End If                   
                             Catch ex As Exception
                                 Status = ex.Message & vbCrLf & oCompany.GetLastErrorDescription
                                 Console.WriteLine(Status)
                             End Try
                         End If

  • My customer is looking for a comp. open (unbilled) sales order line report

    Hello:
    My customer wants a listing of open (unbilled) sales order lines.  List of everything they have ordered and do not have a bill for yet.  That seems to be spread between 'Open' Sales Orders - see VA05 (no outbound delivery created yet) AND outbound deliveries that have not yet been billed - see VL06O with Billing Status not completely processed.
    How can both of these be merged into one? 
    Is there something else that can show this TOTAL picture?
    Thanks.

    Hi,
    To show all picture you can go for z report
    Take data from table VBAK,VBAP,LIKP,LIPS,VBRK,VBRP,VBFA
    Kapil

  • Report of sales orders with several schedules lines

    Hi all,
    I try to develop a report for sales orders and delivery info. I need sales order quantity, delivery quantity and the quantity in the scheduled line. But I faced with the problem of several scheduled lines.
    I could not find the relation between delivery information and the scheduled lines of sales order.
    Any function module or other way to find out a delivery belongs to which cheduled line of the sales order ?
    Thanks,
    Utku

    Solved problem

  • Report of sales orders with several scheduled lines

    Hi all,
    I try to develop a report for sales orders and delivery info. I need sales order quantity, delivery quantity and the quantity in the scheduled line. But I faced with the problem of several scheduled lines.
    I could not find the relation between delivery information and the scheduled lines of sales order.
    Any function module or other way to find out a delivery belongs to which scheduled line of the sales order ?
    Thanks,
    Utku

    post this in ABAP forum for quicker response.
    Regards
    Raja

  • Restrict deletion of sales order line items

    Hi,
    I need to restrict deleting of sales order line item, I think we can use the user exit, MV45AFZB, USEREXIT_CHECK_XVBAP_FOR_DELE.
    But when i set the flag to 'X', even though it does not delete at tht instance when the sales order save is clicked again the line item gets deleted.
    ANy idea , to prevent that?
    Thanks
    Keshi

    Hi Keshi,
    That is the correct exit, we are using the same without any problem. Just set US_EXIT  = CHARX.
    Regards,
    John.

  • Cannot reject/delete sales order line item due to del.date in 2210

    Hi all,
    not sure if anyone else had this issue already....
    Situation :
    Sales order line item entered with delivery date in 2210.    We would like to correct this order but can't....
    every time SAP issues error :
    Error determining posting period (info
    S008, variant GL, RC 3)               
    I believe this is because we haven't maintained our calendars yet for 2210 :-D
    Question : without us having to load/define the calendar...is there a utility/oss program which we can use to delete the line item, or reject it...or even update the delivery date?
    Thanks for your help!

    If the system pop ups the error message M2012, then please refer note 10891 or 37532.  If the error message number is different, please update the forum.
    thanks
    G. Lakshmipathi

  • Information about the deleted sales order line item in idoc.

    Hi Experts,
    I am new to IDOC.We have the following idoc requirement,
    When a line item is deleted from the sales order(VA02) ,
    the outbound idoc getting triggered for the sales order has the information about the rest all line items other than the deleted line item.We now want the information about the deleted line item in the Idoc .
    Please help me in proceeding further.

    Hi,
    I am facing the same scenario of capturing the  deleted sales order line item in idoc.
    I am using ORDRSP message type , where in E1EDP01- ACTION contains value  "000" .
    And the Deletion line item is not been captured, is there any configuration setting required to
    capture the deleted line item in Idoc.
    Based on the posting in this thread i understand that there is an  indicator which has to be set .
    Please let me know what is that indicator and how to set it?
    Thanks
    Sathish

  • Mass Deletion of Sales order line items

    Dear Gurus..
    There is a transaction VA02 for change and deletion of sales order line items. it takes time to delete line item of sales order one by one.. is there any abap program to do this process..
    if so please let me know
    regards
    Saad Nisar

    Hi,
    You can use trx MASS with object type BUS2032 to change sales order items. Please check this link:
    Re: Mass deletion of  sales orders
    Or try LSMW.
    Regards,
    Csaba
    Edited by: Csaba Szommer on Apr 10, 2009 8:18 AM
    Edited by: Csaba Szommer on Apr 10, 2009 8:21 AM

  • Sales order line item delete error for MTO sales order

    Dear Experts
    iam facing below error for MTO sales order line item deletion
    "For reasons of cost management, item 000040 cannot
    be deleted"
    Please help
    Regards,
    KEdar

    It looks you try to delete the sales order line item and you get this error message.
    Try to put reason for rejection for the line item and save the order. This is equal to deleting the line item.
    You can also refer the OSS note 14097 - Order item cannot be deleted/overwritten for further information.
    Regards,

  • Deleting Sales order line item

    Hi,
    The sales order line item deletion should not be allowed after accouting of the advance payment is happened.
    How to achieve this.

    Hi Seema
    As far as I could guess you need to grey out VBAP-ABGRU field once you have posted payment for the sales order line item. Since this is a SD related process no validation or substitution would work in this. In this case when posting the incoming down payment through F-29 internally you need to call the user exit in the sales document to update the status of VBAP-ABGRU.
    Thanks
    Indranil

  • FM/Transaction/BAPI to delete sales order line item in APO

    Hi,
    Could you please share the details of FM / Transaction / BAPI to delete sales order line item in APO?
    Tcode - SDORDER_DEL / FM - BAPI_SLSRVAPS_SAVEMULTI2 delete the complete order with all its order items.
    Even the OM function modulesdelete the complete order. We could not locate a BAPI/FM for deleting only specific line items of a Sales order...
    Thanks,
    Arvind.S

    Hi Arvind,
    Can you try the below:-
    Function module : BAPI_SLSRVAPS_REMOVEITEMS
    Bapi object type: BUS10501
    Using this, one can delete One or More Sales Order Items / Schedule Lines.
    Please confirm
    Regards
    R. Senthil Mareeswaran.

  • Sales Order Drafts Deleteing unexpectedly

    I have an issue with Sales Order Document Drafts deleting.
    Here is my scenario
    My customer uses the Sales Order Document Draft to generate for a better name, Recurring Sales Orders.  We run a process using the SDK to take these Drafts and on a weekly basis update them into Sales Orders.
    The problem arises when we use the Documents Drafts Report to maintain and delete no longer needed Sales Order Drafts.
    The process to delete is
    1) Run Documents Drafts Report for Sales Orders Only,  with the Open Only check box Un checked.
    2) Highlight the Sales Order draft to delete,  right click and select Remove from the drop down menu.
    USUALLY this works well,  but every so often,  when we go back into the Documents Drafts Report for Sales Orders,
    anywhere for 20 to 90 of the Sales Orders Drafts are deleted. 
    We notice that the Sales Orders that were deleted without being selected are missing with in a few minutes of selecting the
    ONE Draft to delete.
    Also,  the person maintaining the Sales Drafts is an experienced user.
    The Customer is running SAP B1 SP00 PL47.  SQL Server 2005 Database.
    Any ideas or similar experiences or suggestions?
    Thanks in advance!!
    Dana

    We are able to determine which Draft we want to delete.
    The problem we are experiencing is that we delete 5 drafts
    when we rereunthe report,  MANY more than the few selected to be deleted were delete.
    Basically if the Draft Report displays 100 Drafts and I select 5 drafts, one by one and delete them.
    I would expect that when I re reun the Draft report that the report would display 95 Drafts
    NOT 50!!!!
    The actual numers on my Customer's system were BEFORE we deleted ANY Drafts there
    were 442 Drafts.
    We Deleted 7 Drfats by selecting a line, Right clicking and then selecting Remove from the Drop
    Down menu.  Then clicking Update.
    We did this seven times. 
    The we entered a Sales Order saving is as a Draft
    We then ran the Daft Document Report for Sales Orders EXPECTING 436 Drafts
    BUT There were ONLY 353 Drafts
    89 Additional Drafts were deleted.
    This makes NO Sense!!!!
    I appreciate your input!!!!

  • Report on Sales Orders Cancelled

    Dear Experts,
    I have the following TWO Requirements.
    1) How to cancel Sales Orders.
    2) How to Generate a Report  on Sales Orders Cancelled during a given time. The details required in the Report are:
    Orders cancelled by an User, Depot and by the Region.
    Creation date of sale order.
    Cancellation date.
    Kindly give us your Detailed & Valuable solutions to proceed.
    Regards
    Hari

    Hi Lakshmipathi,
    I have been going through various Threads Posted in the Forum.
    In One of your Replies to a Question Posted "Re: Deletion indicator of sales order" the Solution given is "Execute TCode AUT10."
    When I had tried with the Transaction Code AUT10 on the SAP System, No Data is populated on the Screen. Any settings to be done on the System.
    You can suggest a possible solution to the Issue posted by me.
    Regards
    hari

Maybe you are looking for

  • Problems with libdb_cxx-4.3.so

    Hi everyone, Klibido tells me this: klibido: error while loading shared libraries: libdb_cxx-4.3.so: cannot open shared object file: No such file or directory How can I install this libraries??? Thanks for your help K.

  • Web Gallery/Slide Show software MAC

    I'd like to add flash-based image galleries to web sites. Any recommendations or comparisons regarding best software options for this? SlideShowPro? JetPhoto? VerticalMoon? XML Flash Sideshow V3? etc thanks, dean

  • Flash + ASP easy question

    Hello! This is my 1st time doing Flash + ASP integration. Each time i see a tutorial using this 2, all i see is: Flash has dynamic fields with var named the same as the one in ASP. Then it sends data to ASP and he returns the var value and it is writ

  • New iPad, side switch failure?

    About 1-2 days ago, I started having problem with the side switch, I am no longer able to unmute or unlock rotation by using side switch. If I choose side switch to Mute, no matter how I toggle switch button, it stays at Mute status, no system sound,

  • Time Machine does not work after installing mavericks

    After I installed maverick on my imac, my time machine backups don't work anymore!!!! I have a normal portable HDD attached to my Imac with time capsule backup from before mavericks was installed. I also has a Buffalo NAS as a second Time Machine Bac