12-20-2006 8:55 PM
<b>Is there any chance to delete a set of roles?
If it is there How can we do it?</b>
Thanks & Regads,
Raja
12-21-2006 4:47 PM
<b>Thanks soma Can u plz explain it clearly ste y step.</b>
Thanks & Regards,
Raja
12-20-2006 9:19 PM
Hi Raja,
User T-Code SCAT create a template you can use as and when required.
First try if you are not able to do let me know
I will expalin you in detail.
Cheers
Soma
Message was edited by:
soma pradeep
12-21-2006 6:40 AM
Hi
Use RSCR_ROLES_REORG report in SE38.
Try to look into the fallowing link
http://help.sap.com/saphelp_erp2005vp/helpdata/en/8c/e7d33b16e73b0ae10000000a114084/frameset.htm
kiran umar.v
12-21-2006 4:47 PM
<b>Thanks soma Can u plz explain it clearly ste y step.</b>
Thanks & Regards,
Raja
12-21-2006 7:42 PM
Hi,
Use T-Code SCAT.
You will be prompted with initial screen
Test case enter some name ex: Z_MASS_ROLE_DELETION
Click on Create (Blank page icon)
In the initial screen on left corner button TCD click on this for recording a transaction.
Enter T-code in PFCG
Click on -> arrow button to continue
In the next screen you will be displayed with PFCG screen
Enter the role Name which you want to delete
Click on the Delete button (Bin icon)
You will be prompted with message box with yes or no and cancle
Click on Yes
You will be prompted with information acknowledge it by click on continue
Now the role is deleted.
Click on Back button (F3)
You will prompted with Intial screen where you have enter T-code in the pop-up box (PFCG)
Click on RED small button to stop of recording the transaction
You will be prompted with next screen for Title.
Enter the Title ex: Mass Role Deletion
Click on SAVE button
Save as local object (click local object button0
Go Back by click F3 (Back arrow button on the menu)
Pop up box with save option appears save
Click on YES
You are ready with recording of T-Code PFCG
To create a variable click on the edit (Pencil icon)
In the next screen you will be prompted with
C Funct. Object Text
TCD PFCG Role Maintenance
Double click on TCD column
In the next screen you will have the following information
Test case Z_MASS_ROLE_DELETION PFCG Role Maintenance
Transaction PFCG Role Maintenance
Permitted msg.
Processing Mode
In the above screen click on FILED LIST button which is on top left menu bar.
In the next screen you will find the list of values check for the Variable part (ie role name what we have mentioned at the time of recording (TEST123 ROLE)
Role AGR_NAME_NEU 030 TEST123
Replace TEST123 with & (this is done for the variable to be replace in future for new values)
Go back (F3) twice into initial screen and save
In the initial screen SCAT first screen
Go to the menu
GOTO -> Variant -> Export
Export will create a Text file (Z_MASS_ROLE_DELETION.TXT) save it on your desktop for easy editing
Open with EXCEL above text file (Z_MASS_ROLE_DELETION.TXT)
You will find below values
[Variant ID] [Variant Text] &AGR_NAME_NEU
--> Parameter texts Parameter contents
--> Default Values TEST123
Changes to the default values displayed above not effective
Place the list of roles which you have decided to delete under the column TEST123
Just Save file for any message just click on yes button.
Come back to SCAT initial screen click on execute (F8) clock icon on the right corner of menu tab.
In the next screen you will have option to choose
Log Type Processing Mode Variants
Long Errors External From file Choose
Choose the file (Z_MASS_ROLE_DELETION.TXT) which was edited with new values
Then Execute all the roles which are in file will be deleted.
I hope this helps
Try this with <b>Test roles first</b> then on the <b>Actual roles</b>
If you have any problems let me know
Cheers
Soma
12-22-2006 5:19 PM