on 06-21-2007 7:42 AM
Hi Expert,
do you know which transcation code or program is used to mass set the deletion flag for production order?
thank you in advance!
Use transaction CO78.
Here use object name as PP_ORDER. Create a variant. Enter the order numbers in the variant. Save it. Enter the variant name and user name. Maintain the start date parameters. Execute.
Hope useful, if so reward points and close this.
Rgds
ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ALL,
thank you for your help!
I have tested, if the deletion indicator is not sleected, you can maunally revoke the deletion flag.
thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
http://www.sap-img.com/production/how-to-delete-old-production-orders.htm
Note that CO78 is the start of the Archive process. We are not using Archiving yet but the initial process fits the bill for what we need to do as mentioned in the original note.
Decide the range of orders you want to delete. This range will be used in the program variant. Note that we will be running CO78 many times because of the number of orders involved.
Running CO78 calls program PPARCHP1 and this involves the use of a Variant where the parameters for selection etc. are set.
First of all, create the variant via SE38 for PPARCHP1.
Enter details for number range, order type, plant and set deletion flag. Flag Detailed log and set this to go to Spool when running. Save the variant. You can also force the job to run in background at this point (which I would recommend) via menu line Variant --> Attributes. Also here you can flag order number, order type and plant to be required fields.
Run CO78
Press the first button - deletion flag/deletion indicator.
Choose the variant you have just created. Press "Maintain" to update the selection range on subsequent runs. Save changes and return to initial screen.
Press Start date to set date and time for job to run as per any background job. Icon will turn Green.
Press Spool Params to set save output in Spool Q rather than print immediately. Icon will also turn Green.
Press Execute and job can be tracked via SM37.
Details of deleted orders and errors will appear in the Spool.
Rerun as many times as you need with relevant order ranges till all required orders are deleted.
Hope this will resolve your issue.
Regards,
Naveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.