Professional Documents
Culture Documents
Go to Tcode - SECATT On the eCATT (tcode -SECATT) initial screen, select the Test Script radio button and enter a name for your new test script in the field beside it. Here, we will name it ZDERIVE_ROLE and then click on CREATE Button.
We need to put below information as per our requirement Title: Create Derive Roles Personal Responsible : <User name> Component : BC-SEC
This will start recording and take you to the Role create screen and continue the derived role creation. In our example a role: ZCREATEROLE1 is created from already existed master role. Save the role and hit the back button. This will end the recording and you will be asked to save the recording. Click Yes.
Select the PFCG_1 and double click the same. Go to DYNPRO as shown in bottom half, highlight it and click on simulator button marked in red circle.
This will switch to simulation mode and we have to parameterize the steps we ran in PATTERN. We parameterized. Role name (derived), description, and master roles And child roles and The Screen will be like this. Double click on Role field (###) and it will open a pop up for Maintain field entry Put Parameter name as per your choice as shown ZDERIVE and hit enter or click on Green tick. Then click on next screen button as shown in red square box and continue the same process to parameterize other fields want to maintain.
Then we need click Change Authorization Data if we want to maintain org level values and parameterize same as before. But this tool is not that good to maintain Org level values, it is better to create derive roles first then update org value by manually or some Z-program.
Once it is done it will bring the start point of simulator screen. Save this and come out.
Go to SECATT again. Then create a test configuration with this script as shown below
Assign test script we have created earlier with this test configuration. If you need to run it in other target system then put the logical name of the target system as mention below but make sure that there is a trusted RFC between the systems.
It would be text file and you need to open it as excel. Maintain all values we parameterize earlier. Those which should be default values will be in ECATTDEFAULT row. Then save this file as .txt form and note down the saved location path.
Now save this test configuration as local object. Then go into change mode and execute it. Then you can put your selection as per your requirement as shown below.
Only make sure that the text file name and location path should be correct in variants tab.
In UI control you can select this to run in Foreground or Background as per your choice. It is better to process in background (option N).
To check log you can open a new session and go to SECATT and then
And if you execute this with your id you can see the current logging.