Pages

Download SAP Certification Material for FREE @ http://sap-ebooks-den.blogspot.com

Saturday, October 3, 2009

Mass user creation using SCAT

  • Tcode SCAT.
  • First, make sure your client setting (SCC4) is enabled with ' X eCATT and CATT allowed'. Just in case yourProduction disabled this.
  • Then, you need to create a simulation (test case) of creating new user id by calling tcode SU01 later.
  • Test case must start with Z, example ZCREATE_NEW_ USER. Create this case, put title and choose component as BC (basis components).
  • Save and choose Local if you dont want to transport it or choose a dev. class (example ZDEV) if you want to transport it later.
  • Go back and click Change button.
  • Then key -in Object as example SU01, and choose Record button on top. When it prompts to enter Transaction code, key in SU01 (if for roles, key-in PFCG) and begin recording. As usual in SU01 create 1 user id, dept field, password, roles, group and so on.Make sure you press Enter on each field because we want to capture the value/object.

  • You will see a clock on the bottom which means the recording process is on going. Once done, click Back button and press End button to end the recording.

Note - The profiles are all the same. Then this is much easier...no need to enter the roles/profiles, just duplicate this ID and change the name, dept and password only.

  • Then double click the Object to begin inserting parameters. Then you will see an object for each fields thatyou run from SU01.
  • Choose the right field example user id (BNAME) and choose button 'Insert Import Parameter (F6)' and you may click NextScreen to 'watch' what have been recorded and proceed to choose several other objects like password field (PASSWORD1, PASSWORD2),roles field (AGR_NAME), group field etc.
  • If you happen to choose the wrong object, then you can reset back (Edit -> Reset Parameterization) .
  • You may see so many junk fields captured and this is because SCAT records every steps/dialogs.
  • Once done, choose Back and save this case. Then you need to click 'Goto -> Variant -> Export' and save it.
  • After that use Ms Excel to open it and begin inserting all other user ids. Save and close. Remember to close this file because SCAT will use it.
  • Then last one, get back to SCAT and click button execute, processing mode chose Background, choose external file 'the one you created withExcel' and execute.
  • At this moment don't use tcode SU01 bcoz you may interrupt the simulation. Wait for the logs. If you see reds then error was happening.

1 comment:

Related Posts Plugin for WordPress, Blogger...