Reg:Deleting sales orders in bulk

Hi Gurus,
Can anybody through some light on the below mentioned queries.I faced this in one of my interviews .
1.How to delete sales orders in bulk ?
2.How to print invoices in bulk ?
Thanking you in advance.
With Regards,
Sash......

Dear sash
1) To delete sale orders in bulk (subject to no subsequent documents), either you can use LSMW or BDC
2) To print invoices in bulk, two options are there.  One is foreground and another one is background
- To schedule foreground, run T.Code VF31
- To schedule background, run T.Code VF06 where you can see a tab [Job started on]   If you fix a date and time here, that time, invoice will be printed out in mass
thanks
G. Lakshmipathi

Similar Messages

  • Mass deletion sales order/ deliveries

    Dear All
    We need to delete sales orders in Production system. I tried transaction MASS but could not do from there.
    Kindly provide pointers for the same.
    Regards
    Dinesh

    Dear Dinesh
    Either through LSMW or BDC you can delete sale orders in bulk but you must ensure that for those orders, no subsequent document is generated.  If any subsequent document is there, you cannot delete those sale orders.
    thanks
    G. Lakshmipathi

  • Report on deleted sales orders ( va02)

    hi,
    i got one requirement to write a program to display the list of deleted sales orders (through VA02 Tcode).
    to my knowledge when a sales order is deleted through VA02 the order will be deleted from the database itself and will be deleted from all the SAP tables.
    if that is correct, is there any possibility that we can create a Ztable and update the data before deletion or any other solution for the above requirement?
    thanks in advance,
    Rajani yeluri

    hi rajani,
    u will get deleted data from using tables CDHDR,CDPOS,CDRED and function module '  CHANGEDOCUMENT_READ'.
    i am sending u some sample code, i hope it will helps u
    DATA: it_editpos    LIKE cdred OCCURS 0 WITH HEADER LINE,
                                     "Change documents, display structure
          it_editpos1   LIKE cdred OCCURS 0 WITH HEADER LINE,
                                     "Change documents, display structure
          x_editpos1    LIKE cdred,  "Change documents, display structure
            x_editpos     LIKE it_editpos,
                                     "Change documents,display structure
    *-----Calling FM to populate the structure 'EDITPOS'
      CLEAR it_editpos.
      CALL FUNCTION 'CHANGEDOCUMENT_READ'
           EXPORTING
              objectclass                = ' ' 
           TABLES
                editpos                    = it_editpos
           EXCEPTIONS
                no_position_found          = 1
                wrong_access_to_archive    = 2
                time_zone_conversion_error = 3
                OTHERS                     = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CLEAR: x_editpos,
             it_editpos1.
      LOOP AT it_editpos
        INTO  x_editpos
        WHERE tcode = 'ME21N' OR  "Here u have 2 pass 'VA02'
              tcode = 'ME22N' OR
              tcode = 'ME23N'.
        APPEND x_editpos TO it_editpos1.
        CLEAR x_editpos.
      ENDLOOP.
    now it_edipos1 has all CHANGENR numbers, so now u have to fetch data from F_NEW and F_OLD Fields
    i hope this will helps u
    Regards,
    prasad

  • List of deleted sales orders

    How can we find the list of deleted sales order documents.
    Is there any specific table.

    hi,
    SE16--> CDPOS->enter Object class : VERKBELEG    table name: VBAK     & enter change id:D---> keep the max no of hits  has blank----> execute
    this is give u teh details
    regards,
    Arun prasad
    Message was edited by:
            arun prasad

  • How to view the cancelled/deleted sales order?

    Hi SAP Gurus
    I there any T.code/Table to view the cancelled or deleted sales order.
    I am not able to view the order even in VA03.
    Regards
    Giridhar

    Dear Sushmitha,
    T. Code: SE16
    Key-in -
    Table: CDHDR - Change Document Header.
    Table: CDPOS - Change Document Items.
    and "Enter". On to next page, Key-in
    Field: Change doc. object (OBJECTCLAS) as VERKBELEG
    Field: Transaction Code as VA02
    Field: Appl.obj.change, as D - Delete, and execute (F8).
    Then you will get object values (sales orders) and document numbers. Pass these two values along with objectclas: VERKBELEG) to table CDPOS to get more details about these deleted orders.
    Also, Go to -
    T. Code: SE38,
    and execute Report: RVSCD100.
    Enter Sales Document Number and Execute. This will provide information, who deleted the order.
    Best Regards,
    Amit

  • How to find out the deleted sales order

    hi,
    sap gurus,
    my core user has deleted one sales order
    its showing as sales order is ARCHIVED in the status when we go for VA02
    in SAP in which table the deleted sales order will be stored.
    so that i can
    regards,
    balaji.t

    Plz SEARCH in SCN before posting.
    You can get those details from CDHDR, CDPOS tables.
    Give OBJECTCLAS = VERKBELEG and CHNGIND = 'D' in CDPOS table.
    You will the List of all Deleted Sales Orders.

  • 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

  • Deleted Sales Orders Issue

    Hi,
    I have a typical issue with Sales Order deletion in R/3
    In R/3,the Sales Orders have been physically deleted due to which the sales orders are not available in the tables.
    In R/3 reports those Sales Orders are not reflected. But in BI, since they have already been loaded, they are showing in the results since the SOs at that time were loaded to BI. Once documents are deleted in R/3  those changes are not reflected  in to BI. This discrepency is not acceptable by the customer. Plz help in how to resolve the issue.
    Many Thanks
    Uday

    Hi Uday,
    It seems the same issue has been discussed sometimes back ,but no solutions were given.
    Deleted sales order items and delta direct
    As I said earlier,extractor will not capture those deleted items. Even enhancement may also not work for this case. Anyway,please check with OSS whether any solutions available for this problem .I convinced my users to go for the cancellation (not mark for deletion) of the items. 
    Below link will give you the info about why it is not a good practise to delete the item .
    deleted sales order
    All the best.
    Thanks.

  • Deleted Sales Order

    I would like to understand the possibility of looking the details abt a sales order that got deleted from the SAP system.
    I believe tables VBAK and Changes related tables will not help me out to find the same information as the deletion of the order will have the data deleted from these tables are there any other means by which i can get info on a deleted sales order .
    Thanks in Advance.
    Ilango

    this is not a process followed, but i just want to know if there are by any means we can see the line item level details (like material & Qty).
    CDPOS do provide information on the order but am unable to interpret the data i receive,
    passed the deleted order no, to the table and i could see only the values that got changed i can still see the information abt VBEP(sch line ) & VBAP. am unable to see the document details. i feel it shows only those fields that are changed inside the order before deletion, i cud see a document in the output of this table, wat is that document no.??

  • Require to delete sales order

    Hello
    All the contributors,
    plz to give me a right solution, Req_urjent.
    Query:
    with PO against Sales order ( indvidual purchase order_ sales process.)
    with ref PO- raised sales order, and also delivery with PGI,
    but when raised a  sls order customer code entered wrongly of other customer code, here i followed vl09 reverse goods entry, and vl02n deleted delivery, but when deleting the sls order in va02 the sls order unable to delete and getting some message of cost management account issue.
    so know i want to raise with the same Purchase Order Number with right customer code,
    therefore requiring how to delete sales order. plz help out me.
    thanking for all.

    Hi there,
    You willnot be able to delete the sales order. You will only be able to reject the line items in the order. Once you enter the reason for rejection, the order line items are not further processed.
    Regards,
    Sivanand

  • View Deleted Sales Order by material

    I need to know in that sales order has been a material because when we run MRP, system creates purchase requisition for requeriments of sales order, ok?
    But, after if user deletes sales order, the purchase requisition created is incorrect but purchase department can be that it purchase requisition is studied yet. Customer would like know what sales order deleted causes this purchase requisition in this case.

    Hi Daniel,
    If the sales order has been deleted then you should delete the corresponding PR as well.  Inorder to achieve this you need to write the logic in the Sales order user exit, to cancel the corresponding PR.
    We cancel the PR if the release strategy is implemented in the PR. We have implemented this logic and it worked fine for us.
    Thanks,
    Mahesh.

  • View Deleted sales orders by material

    Hi gurus,
    how I can see deleted sales order by a specific material. My requeriment is that know all deleted sales order or items deleted in existing orders filtering by material.
    It's possible?
    Table CDPOS doesn't contain field material...
    Thank you!!!
    I will reward points all answers!!

    Hi,
    In this case, when you call MD04 for this material, the system displays an exception for the pruchase requisition.
    20 : cancel process.
    Then, you must to be deleted this purchase requisition.
    But, i have a proposition to follow sales orders which have deletes (quick approach).
    You can create en infostructure with LIS with keys : sales order nb, item, material, customer + key figures : quantity (or other).
    With an update rule appropriate.
    When you create sales order, this LIS table (infostructure) is update with different informations.
    If you delete item or sales order, system updates this table and displays "0" in quantity or price ...
    This is the simple test to know if sales order was deleted.
    But, you can used another information during the update in LIS user exit (MCS10001) with this condition XVBAP-UPDKZ = UPDKZ_DELETE (see in MV45AFZZ, doc_prepare).
    Why not ??
    That's all folks !!!
    Regards,
    Lionel

  • Retrieve a deleted sales order

    Hi,
    Is it possible to retrieve a deleted sales order?
    Rgds
    TV

    Dear TV,
    Deleted Sales Orders can not be retrieved. However, you can retrieve the data if you had stored them in custom tables during sales order creation with the help of BAdi/Enhancement.
    However, you can not retrieve the data from standard tables (VBAK, VBAP etc) as the data will be deleted as soon as you delete the sales order.
    Hope this will help.
    Regards,
    Naveen.

  • Retrieve deleted sales order

    Hi Everybody,
    Is there any way to find the date the sales order is deleted and who deleted it?
    Srinivasan Kannan.

    Hi Srinivas
    The following steps given will  give you all  the informatio you need.   I have tested the same here and it works.
    Regards
    Yatin Thakkar
    Re: Retrieve deleted sales order  
    Posted: Sep 10, 2009 4:00 PM    in response to: cheenu           Reply 
    Hi,
    Can you try step 1 with VA03. Dont hit enter button, just go to menu Environment ->changes.
    Regards

  • Find deleted sales order

    hi all
    can any one help me finding out the deleted sales order
    what is the process for it.
    thanks
    sridhar

    HI,
    Try FTWB or SARA.
    or
    after deliting sales order its gone out of database, then also you can see the change history of who deleted the order and when. To do this (I'm on 3.1I), go to Sales Order --> Display --> put the number in and go to Environment --> Changes. Then Green check and it will tell you the history.
    After the record (order) gets deleted from the database, to get a list of records deleted you will need to run a report (user defined), with the query for VBAK table, for order type and the missing numbers. The date may also be required. Once you get this, you can find out when and who changed (deleted) the documents.

Maybe you are looking for

  • Setting Real Instruments Problem

    I have a problem setting the task info dialog box for real instruments. Although I select Real Instruments on the setup, the task info box shos only choices for software instruments and , I think, master task. Therefore, the box where the input setti

  • How to submit a request set from plsql

    Its Apps Request ,, Im using below code STAT := FND_SUBMIT.SET_REQUEST_SET(APPLICATION => V_APPL, REQUEST_SET => 'FNDRSSUB2237'); V_REQ_ID1 := FND_SUBMIT.SUBMIT_SET(START_TIME => SYSDATE, SUB_REQUEST => TRUE); FND_FILE.PUT_LINE(FND_FILE.OUTPUT, V_REQ

  • 2011 imac thunderbolt ports dead

    My first time on here - desperate for a solution having taken my machine to Apple Store 3 times, had on-site maintenance from a specialist Apple authorised repairer, all through AppleCare. So far it hasn't cost me anything (and must have cost Apple a

  • What's the difference between restore from backup and restore to factory settings?

    I have just updated my iPad 2 to os 5.1. I backed it up in iTunes before beginning the download. Do I use the restore button to get my apps and files back? The prompt says it will restore the device to the factory settings. I assume this means the pr

  • How long should my Curve 8530 Smartphone hold a charge?/What's w/the tiny keyboard keys?

    Hi, I love Bberries--ever since I got to use one at work; I don't recall that model but it was about 7 or so years ago.  I never had to charge it so much; and the keys were much larger. I am very disappointed. Any input greatly appreciated.  I am pay