Make sure the client setting is changed to allow ecatt. Follow the instruction below
Execute transaction SCC4
SAP R/3 Menu : Tools -> Administration -> Administration -> Client Administration -> Client Maintenance
Then carry out the following steps:
1. Choose Display
2. Confirm the warning message Caution: The table is cross client.
3. Select your SAP R/3 client and choose Details.
4. In the Change View Clients: Details screen, activate the following settings:
• eCATT and CATT allowed.
5. Save.
6. Go back to the SAP Easy Access menu.
Now lets start with creating ecatt
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 ZCREATE_USER. Leave the remaining fields empty.
Choose the Create Object icon, as shown above, to open the editor for the test script.
On the Attributes tab, enter the following information:
Field |
Entry |
Title |
Create user - SU01 |
Component |
BC-SEC |
System Data Container |
TUTORIAL (optional) |
Leave the Target System field empty. We will not use this field in this tutorial.

Switch to editor tab and click on pattern. On the insert Statement window fill in as below

Field |
Entry |
Group |
All Commands |
Command |
TCD (Record) |
Transaction |
SU01 |
This will start recording and take you to the user create screen and continue the user creation. In our example a userid (ZTEST_97) is created with Z:TESTROLE. Save the user and hit the back button. This will end the recording and you will we asked to save the recording. Click Yes.

Save the Object as local object.

Go back and swith to change mode

Click on the button shown below

Select SU01_1 and click on the button shown below

Highlight Dynpro and click on the button shown below

This will switch to simualation mode and we have to parameterize. We paramerterized. User id , password and role. Look at the video
Hit the back button and save the script.
Create Test Configuation
|