Mass deleation of Activity groups / Roles

Question: Ladies & Gentelmen,
I would like to request if some knows how to carry out a mass deletion of Activity groups/Roles, We are using the SAP version 4.7 and have lot of junk Activity groups/roles that needs to get deleted , Using PFCG will allow me to do it one at a time , but if there is way fater way than this...it will definitely be very helpful.

Thanks for your time and effort.
Best regards,
Akhan,



Answer:
There is a SAP supplied program you will have to copy and remove the "SPA ONLY" check in it and the run this report, however to delete the ROles everywhere, put the role in a transport, delete the roles and the release ans import the transport. This will delete thte roles int he target clients.

Answer:
CATT scripts! Good for lazy + smart ppl.

Answer:
What is the standard SAP programs name?

Answer:
Search in SE38 for AGR*DELETE*

Answer:
AGR_DELETE_ALL_ACTIVITY_GROUPS is the one you want.

If I recall correctly FM PRGN_CHECK_SYSTEM_TYPE is the bit you need to tickle a bit to get it to do what you want.

Answer:
Thanks a lot Gentlemen for your swift replies ...I have got the Solution and Applied it and its working fine, It was the application of SAP note 313587 and running the ABAP code for the Object Z_AGR_DEL and rest is history!

ThankQ once again !
Copyright ?2007 - 2008 www.jt77.com