Mass deletion of open orders

Dear Experts,
I have more than 1000 open orders in system, and i found VKM3 ll be good option to close the orders even at item level & orders partially delilvered , is it right way to do it?
or do i have any other easier option?
thanks & regards

Dear Jitesh,
VKM3 is for releasing the orders which are blocked for delivery due to credit check.
You can try MASS and give reason for rejection as advised above.
But if i were in your place, i will go for a Zprogam which will call a BDC.
In the program i will call all the orders which do not have a delivery.
If you need to close the orders which are partially delivered, then you can write another condition to check the orders with delivery but delivery qty less than order qty and if so, edit the order delivery qty with the actual delivered qty.
The program will call the BDC (in which delete the sales order in case 1 and edit the qty field in case 2)
By writing a Z program, the advantage is i will be able to use this Zprogram in future, (i can even include the order type / order date etc as selection criteria in the Zprogram.)
Thanks & Regards,
Hegal K Charles
Edited by: Hegal . K . Charles on Nov 21, 2011 9:34 AM

Similar Messages

  • Trasaction code for mass delete of open Pur req.

    I was looking for is a way to perform a mass delete of open PRu2019s prior to running MRP.  My reasoning is if a PR has not been converted to a PO by the time the next MRP runs we  want to delete all open PRu2019s so items are re-planned based on the most current data.
    Is there a mass delete transaction code for PRu2019s?
    Thanks

    The blw are the options'
    1- Try with MEMASSPR for PR
    2- You cannot directly delete PRs, You can only mark them as "deleted". To delete them physically from DB you have to "archive" them via transaction SARA.
    Deletion of PR can be done using ME52N
    This is only possible provided that no purchase order have been assigned. If po has been created, you can only Flag for Deletion.
    To delete the PR, select the line(s) you wish to delete and then click on the dustbin (Thrash) icon.
    3 - Try with LSMW

  • 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

  • Mass Deletion of Open Sale Orders

    Hi,
       I want to implement Dynamic Credit Check in my Organisation, for that I want to delete all open sale orders. Is transaction code MASS suitable for deleting only <b>OPEN SALE ORDERS</b> or it deletes all sale orders. Can anyone help me out please.
    Regrds,
    Binayak

    Hi Binayak,
    The sales order deletion process would be updating many tables and hence I wouldnt recommend [MASS]. I feel it's better to use CATT. Check out the following link and let me know if you need any clarification on how to go about it.
    <a href="http://www.sap-img.com/sap-catt.htm">CATT - Intro</a>
    Also have a look at a CATT procedure explained, step by step, on 31/03/2007 for another mass updation requirement in the same forum with subject as 'Regarding Customer Master'.
    Regards
    Pratheb Nadarajah

  • Mass Deletion of Sales Orders

    Hi Gurus,
       I have some unused old sales orders which  affects the MRP run , to rectify this we want to delete or archieve the old SOs. How to do Mass deletion or Archieve the unused SOs?
    Kindly help to resolve .
    Thanks in Advance,
    Regards,
    Joseph

    hello again, Joseph.
    until someone comes up with a standard solution, i believe what ABAP will do is to come up with a customized table that will show all sales orders with status 'not yet processed' (from table VBUK) within a date range.  when the list is called, you will be enable to enter a value in the field 'reason for rejection' (field name ABGRU).
    when you have entered a reason for rejection, the sales orders are effectively closed (completed) and a subsequent transaction based on these orders cannot be done.  you can ask ABAP to use an available user exit to further prevent the re-opening of these orders.
    regards.

  • Mass deletion of open PR & PO

    hai all MM gurus,
    How to delete the open or pending PR's & PO's which are created on duration of any periods like 1.1.2008 to 31.3.2008?.

    Hi,
    Deletion of PR & PO will be done by archiving process.
    Archiving of Purchase Requisition (PR) with Archiving object MM_EBAN
    Purchase Order MM_EKKO.
    Archiving process is done in transaction SARA
    Pre-requisites for archiving of PR & PO are
    1. PR or PO should be completed.
    2. It should be marked for deletion
    Solution to achive the pre-requisites
    1. If there are open item then manually flag it for deletion.
    2. Marking for deletion: Residence period Time one should be defined and during the preprocessing of PO and Write job processing of PR will set the corresponding document for deletion indicator.
    Archiving Process:
    Customizing:
    1. Basic customizing of Archiving development tool should be configured. Example File system customizing, Archiving object specific configuration should be done.
    2. Residence period should be configured. This is an important step in setting the deletion indicator. Consider Residence Time 1 as 1 day for testing your archiving process.
    Archiving:
    1. Preprocessing Process: Preprocessing process will be there for PO after 4.7version. This will help in setting the deletion indicator for the purchase orders.
    2. Write Job: Variant should be created by selecting all the required PO or PR for archiving. Consider one step procedure
    3. Schedule the job and execute it.
    4. Deletion Job: Deletion job should be scheduled and executed based on the archive session no of Archive Write job.
    This process will help in deleting PR & PO.
    Reward if it benifits.
    -Thanks,
    Ajay

  • Mass deletion of maintenance orders

    Hello Experts,
    I want to mass delete orders (approx. 3000 orders) which are in created status.
    For this I need to set "do not execute status" first & then I can put the deletion flag.
    But in list mode of orders, there is no facility to do this.
    Pl suggest.
    Regards,
    Vijay

    Sir
    I was trying to delete mass orders from SAP PM module, just wanted to know what has to be assigned in the Maintain Source Fields,
    We have made the partner responsible mandatory while doing any action so when i do do not exectute system props me to enter the Partner responsible
    Also with the lsmw only the first order gets closed remaining orders no action take place

  • Mass deleting process for BW metadata

    Dear BW women and BW men,
    My question: how to initialyze  a BW system without implement BW a another time the master.
    I would like to have it in the state like after the implementation, so without metadata created or activated.
    I would like to make a saving and not implement the BW master a second time.
    I would like a kinf of operation or a program to delete all the cubes, all the io, all the objects.
    I would like all the object in a status delivery and not activated or something like that...
    Probably there is a automatised solution and not a manual one.
    Thanks,
    Ronan.

    Hi Rakesh,
    Following may Help you
    1. For Cancelling Excise invoice use T-Code J1IH and click on the option Cancel Excise invoice it will reverse the entry which is created in J1IIN
    2. I dont think you need to cancel Proforma Invoice however you can try with VF11
    3. For reversing all PGI , use T-code VL09 with the selection of date
    4. Create any BDC with the help of Abaper to reverse PGI and Mass deletion of Delivery order in single transaction.
    Regards
    Shambhu Sarkar

  • Deletion of open sales orders

    Dear all,
    we want to delete open sales orders .I searched forum unable to do .Please guide me.
    Regards,
    Suresh

    hi
    You can  delete the sales order using transaction VA02, but there should not be any subsequent document is created against it. Please let me know the error message you are still getting unable to delete so.
    Deletion /cancellation can only happen even if the subsequent documents are NOT created. After cancelling the invoice and deleting the delivery document, we can set the reason for rejection at the Sales Order Header Level.
    Steps:
    1. Cancel the invoice through T code VF11
    2. Reverse the Goods Issue using VL09, turn the pick quantity u2018zerou2019 in the delivery document
    3. Delete the delivery document using VL02n.
    4. Finally set the reason for rejection at the Sales Order Header Level. (So Bala, just check the SO you want to delete ever had any subsequent document? )
    Note: An Invoice cannot be deleted but canceled. It can only be canceled with (VF11) only if the relevant accounting document is not generated. Generation of accounting document means the value is posted into accounts and G/L accounts are hit.
    SAP FI department needs to reverse the accounting doc on a real-time scenario. Only after the accounting doc is reversed invoice can be canceled. Tax documents generated through the Invoice (Tax is maintained on a separate account) also need to be reversed but this is a part of FI so an SD consultant just needs to request the FICO guy to do the reversal
    transaction MASS or VA05 you should be able to set the reason for rejection

  • Massive Deletion of Open Sales Orders/Deliveries

    Hi, I was wondering if anyone knows a massive transaction to delete open sales orders and deliveries.
    I try using de MASS transaccion but here I can only reject the items (in sales orders) but the thing is that the customer wants the open orders and deliveries to be deleted.
    Could anyone help me please?
    Thanks and regards!
    Lore

    Hi,
    You can only delete a complete sales document or delivery if there are no subsequent documents. For example, you could not delete a complete sales document if items had already been delivered and therefore, delivery documents had been created.
    If you want to delete a sales document, you effectively remove it from the database which means that it is no longer possible to analyze it. Therefore, its recommend that you work with reasons for rejection. Being the case it can be considered to reject the items rather.
    Hope it helps.
    Thanks & Regards
    Sadhu Kishore

  • Due to deleted Sales order line items and Archived Sales order is still showing as Incomplete in BW as Open Order reports because of Incorrect SAP R/3 Rejection Status("A") in VBUP table.

    In a archived saler Order user had deleted Line Item and completed overall sales order. Now this sales order is archived, but it is stll appearing in BW report as open order because of deleted item  with rejection Status is maintained as “A” (Not yet Processed).
    We want to change this status from "A" (Not yet Processed) to "C" as completed.
    I have tried to reload Archive data but due to some limitation I was not able to do it. Also I feel this will like this s not the proper way to do it.
    Could you please help me to correct way to do it???
    Thanks in advance....

    Hi Vaibhav,
    If you can get the list of Sales orders which has deleted line items and force completion status. You can manage them in BI via lookup  or navigation attribute.
    Just my views I am sharing .
    Thanks,
    KDJ

  • Mass change on production order (assembly type) to put deletion flag status

    Dear all,
    I've make a mass change on production orders to settle the status DLFL through the Tcode CO78.
    Some of the production orders  are "assembly order" type. Those could not be up-dated with the DLFL because there are linked to customer order. The customers orders are closed.
    What can I do to change the status for this kind of production orders. It is necessary for me to be able to put the DLFL status in order to improve the process of production closure done each month.

    Hi kiran 
    Thanks for the response. As I cannot put deletion indicator on the Assembly order directly, Do we have to put deletion indicator on the sales order item?. If so, Can we put a deletion indicator after the sales order was delivered and invoiced. What exactly have you guys done to put deletion flag on the production order.

  • Mass deletion of orders in Livecache using Internal Number (GUID)

    Dear Experts
    I use program /SAPAPO/OM_DELETE_INCON_ORDERS to delete Orders from livecache using internal order numbers.
    However on the selection screen, we can enter only a single Order GUID. I would like to mass process the deletion of orders. do you know an equivalent program or a way to mass delete a list of order GUID rather than deleting one by one?
    Thanks for your answers
    Elynn

    Hi,
        Which Orders you want to delete from livecache? you can use the BAPIs available where you can pass more than one ORDER GUIDs to delete the orders from livecache.
    Deletion of Planned Independent Requirements- BAPI_PIRSRVAPS_DELMULTI
    Deletion of One or More Sales Orders- BAPI_SLSRVAPS_DELMULTI
    Deletion of One or More Procurement Documents- BAPI_POSRVAPS_DELMULTI
    Delete Manufacturing Orders - BAPI_MOSRVAPS_DELEMULTI
    Regards,
    Saurabh

  • 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

  • Set Mass Deletion Flag for production orders

    Hi,
    I am planning to set mass deletion flag for production orders using programme PPARCHP1.
    My users dont have access to SE38/SA38 and they cant run this program from directly.
    I dont wnat my users to do this preprocessig using SARA or CO78 as it will give access to them for whole archiving process + it only works in background.
    I am thinking to create a Z tocde for this program and use it in dialogue mode also. Do you guys see any aftereffects with this process?
    Let me know if creating a Z tocde sounds a good idea?
    Edited by: santosh sarda on Mar 10, 2011 3:23 AM
    Edited by: santosh sarda on Mar 10, 2011 3:28 AM

    The standard SAP procedure to set the archive is that
    - you run COAC in background to set deletion flag and deletion indicator.   It should be set as the variant and run periodically (i.e., monthly). 
    - The system get all orders with DLV status in the past xx days depending on your variant to set deletion flag. 
    - Also it will change the status DLFL to DLT based on your residence time 1. 
    - The orders with DLT that reside in system longer than residence time 2 then archive.
    This should be done by IT department or background jobs.  Not the users.
    Which, in my opinion, is enough.  However, if you do need the user to select by themselves which orders they want to set deletion flag (why is that?).  Then you may want to explore enhancement. 
    For the sake of simplicity, I will recommend to use user status (normal cohv can change that, as we know; therefore no new fancy screen needed).  Then develop the user exit to set deletion indicator in PPCO0002 - EXIT_SAPLCORE_001 based on user status.  The rest of the procedure should remain the same.
    If you want to allow user to do every steps and develop some Z* screen for users, they must have the authorization for archiving anyway.  They just don't have the t-code COAC, and SARA.  In my opionion, it is overkill.  Plus in terms of users, I don't think they have skills enough if there is some errors during archiving (i.e., logical file error, etc.).
    Hope it helps.

Maybe you are looking for

  • Bridge - screen layout

    I am using Adobe CS5 on a Mac with the latest OSX. I am trying to sort through large numbers of shots - and to delete many. At the moment I am using the Filmstrip view. This has a major problem - currently I can only see one shot at a time in the lar

  • Grey screen is displayed when loading pdf file in Adobe 11

    Hi, PDF file is not loaded in the adobe reader 11. Some time I am getting the grey screen instead of the pdf file. Some time my application is displaying the message saying that It is stopped working. its happening sporadically. But if I downgrade th

  • New to Mac Book Pro 2011

    i just got a new mac book pro. after start up, the cursor can move to icons, but nothing happen, no drawdown showing up. Can anyone help on this? Thanks

  • How come my pc can't not see something  (video,flash)  on IE9?

    my pc just buy for 1 week only when i updata finished then can't see just only have sound and (balck) help!!!!

  • Error Message flashing on Screen of 7410 All in One

    The screen on my officejet 7410 all in one printer fax  is flashing the word error (Ox84714145e1) and the auto answer light is alternatingly flashing. We have done the obvious by unplugging everything and trying to reboot but it is frozen.  Cannot tu