on 08-04-2017 1:36 PM
Dear Experts
Is there any way to delete(Flush out) all the Maintenance Plan and maintenance items from the system?
There are around 450 Plans and 1200+ Items. While running the LSMW, due to some error, extra 521 items got created. So I want to know, if there is any way to flush out all the data (Plan and items) from the system, so that I can create them again.
Or else suggest me an alternate way of correcting this
Hi,
Use below steps
Maintenance Plan
1. Run program RIARCMPL via SE38 transaction and enter in the Maintenance Plan. Set delete flag in maintenance plan
2. Run program RIARCMPV via SE38 transaction and enter in the Maintenance Plan.
3. Then execute program RIARCMPA via SE38 transaction, which will create a file.
4. Execute program RIARCMPD, and select the session from above step 2, after executing which will delete the Maintenance Plan
Regards
Terence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sir
I have followed the steps which you have mentioned above. I got stuck in the 3rd step, RIARCMPA. I am getting an error. Please find the file attached. Kindly suggestcapture.jpg
before you can archive you have to do your archive customizing, and yours is just wrong as it points to C:/temp
which is a local directory on your PC, which cannot be reached in a background job. so you have to use the transaction FILE (usually a task of the basis folks) and change the storage to store the archive in your application server.
Hi Jurgen and Maria
Thanks a lot for your help. My problem got resolved.
Hi Shiv,
Make sure none of the plans was scheduled no call object is generated from them.
Currently there is no transaction which allows for mass setting of status in the items and plans.But you can try checking LOG_EAM_CI_7 business function. This function brings in mass change options in maintenance plans and items but validate if you can mass change the status as well
You might have to write an SHDB program to mass set these to deletion and run the archiving program. Below link has some details. More similar links can also be found online.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
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.