You are on page 1of 10

1/9/2018 SAP eCATT Step by Step Guide | SAP Consulting Development Implementation Remote Support Blog

Home How We Work Clients Services Free SAP Insights Contact

SAP ABAP

SAP BASIS

SAP BI

SAP ECC

SAP NetWeaver

SAP Outsourcing
SAP eCATT Step by Step Guide
SAP Support
In this blog, we would discuss the basic concepts regarding eCATT and how to develop a test
script and test con guration to upload a test data le with a practical example.
Popular Articles
What is eCATT?
SAP Country Version India...
eCATT (extended Computer Aided Test Tool) is an SAP Testing Tool used to automate & test
Use of Java Script and Fo... business scenarios in SAP R/3. Each test that was executed will generate a detailed log that will
Simple Steps to Create SA... give the test process and results. If the testing is successful without any errors log, we can say that
SAP ECC : SAP loans manag... the business scenario mapped in SAP is correct. If the test results shows error then the problem
can be analyzed using the error log that is generated by the system.
SAP Enterprise Portal –...
SAP System Validation And... So in short in this blog you will see what eCATT is, how we can use it; how we can load a test data
from a le in ECC 6.0 with an example.

After reading this blog, you will have understanding about eCATT tool. And you will be able to
create a test script and test con guration in which test data can be loaded from a le.

Prior to execute/create test con guration, we need to create a test script. In many cases, it is
helpful to create a Test Data Container and/or a System Data Container but these will not be used
in this example.

Transaction Code: SECATT

Step-1: Create Test Script

Click Create or F5 and the following screen will be displayed.


http://www.apprisia.com/blog/sap-abap/sap-ecatt-step-by-step-guide/ 1/10
1/9/2018 SAP eCATT Step by Step Guide | SAP Consulting Development Implementation Remote Support Blog

Home How We Work Clients Services Free SAP Insights Contact

SAP ABAP

SAP BASIS

SAP BI

SAP ECC

SAP NetWeaver Enter Title as required and the Component as BC-TWB-TST-ECA and Click on the Pattern Button
on the menu bar.
SAP Outsourcing An Insert Statement dialog box appears.

SAP Support

Popular Articles

SAP Country Version India...


Use of Java Script and Fo...
Simple Steps to Create SA...
SAP ECC : SAP loans manag... Select Group as UI Control, Command as TCD (Record), Transaction code as MM01 and Press
SAP Enterprise Portal –... Enter. The system generates a default interface as a MM01_1.
SAP System Validation And... Click the enter

System will start Record the function that you are attempting to perform i.e creation of Material
Master.

Select the material views, organizational elements as required and follow the views of the
material master. After creating material master system will be returned to the eCATT and prompt
the alert box with message Do You Want to Transfer the Data, click on YES.

You will see the following screen:

http://www.apprisia.com/blog/sap-abap/sap-ecatt-step-by-step-guide/ 2/10
1/9/2018 SAP eCATT Step by Step Guide | SAP Consulting Development Implementation Remote Support Blog

Home How We Work Clients Services Free SAP Insights Contact

SAP ABAP

SAP BASIS

SAP BI

SAP ECC

Now double-click on the interface. In this example the interface was named MM01_1, you will get
SAP NetWeaver
following screen
SAP Outsourcing

SAP Support

Popular Articles

SAP Country Version India...


Use of Java Script and Fo...
Simple Steps to Create SA...
SAP ECC : SAP loans manag...
SAP Enterprise Portal –...
SAP System Validation And...
By using split screen now you can navigate through various screens you are recorded and replace
the xed values with variables.

This is done by opening the Dynpro menu and going through each numbered screen to review
your input.
From the above screen print you can see the values Industry sector “M “and Material Type “FERT”
as in input values i.e. VALIN. You must change it to a value as shown in the next screen.

http://www.apprisia.com/blog/sap-abap/sap-ecatt-step-by-step-guide/ 3/10
1/9/2018 SAP eCATT Step by Step Guide | SAP Consulting Development Implementation Remote Support Blog

Home How We Work Clients Services Free SAP Insights Contact

SAP ABAP

SAP BASIS

SAP BI

SAP ECC

SAP NetWeaver

SAP Outsourcing The variable names   are MBRSH and MTART for industry sector and Material type respectively.
Once you enter the variable name and press ENTER, the following screen will appear.
SAP Support

Popular Articles

SAP Country Version India...


Use of Java Script and Fo...
Simple Steps to Create SA...
SAP ECC : SAP loans manag...
SAP Enterprise Portal –... The default parameter will be Local. You can change this to Import and click on the Yes button.
The screen will now look like the following screen. Note the icon on screen 1 has changed from
SAP System Validation And...
the Green Square. This icon indicates a variable is present.

Now you can change the all the variables in same process
Click on SAVE icon after completing and save as a local object or place in a development class to
transport the eCATT.

http://www.apprisia.com/blog/sap-abap/sap-ecatt-step-by-step-guide/ 4/10
1/9/2018 SAP eCATT Step by Step Guide | SAP Consulting Development Implementation Remote Support Blog

Home How We Work Clients Services Free SAP Insights Contact

SAP ABAP

SAP BASIS

SAP BI

SAP ECC

SAP NetWeaver

SAP Outsourcing

SAP Support

Popular Articles

SAP Country Version India...


Use of Java Script and Fo...
Simple Steps to Create SA...
SAP ECC : SAP loans manag...
SAP Enterprise Portal –...
SAP System Validation And...

Click on the SAVE icon you can see the message” Test Script: “………..” saved successfully is
generated.

Step-2: Creating Test Con guration


Before executing eCATT rst you need to create a Test Con guration. Use Transaction code
SECATT to executing and entering a name for the Test Con guration and clicking on the Create
icon. (In this Example I have given same name as Test Script)

http://www.apprisia.com/blog/sap-abap/sap-ecatt-step-by-step-guide/ 5/10
1/9/2018 SAP eCATT Step by Step Guide | SAP Consulting Development Implementation Remote Support Blog

Home How We Work Clients Services Free SAP Insights Contact

SAP ABAP

SAP BASIS

SAP BI

SAP ECC

SAP NetWeaver
Give Test Con guration a Name and Component and then click on the Con guration tab to see
SAP Outsourcing the following screen:

SAP Support

Popular Articles

SAP Country Version India...


Use of Java Script and Fo...
Simple Steps to Create SA...
SAP ECC : SAP loans manag...
SAP Enterprise Portal –...
SAP System Validation And...

Enter the name of the Test Script you would like to execute.

Download icon or just press ctrl+shift+F11. You will be prompted with a window “save as”
dialog box. Accept the default name and directory and click save, here le will be saved in text
format (ex: VAR_ECTC_Z_MATERIALMASTER_MM01.TXT)

After click on SAVE system will prompt the following alert box

This appears since we did not create a Test Container. Click on the YES icon and you can see the
message at the bottom of the screen “variants successfully downloaded”.

Now click on the Variants tab and you should see the following screen:

http://www.apprisia.com/blog/sap-abap/sap-ecatt-step-by-step-guide/ 6/10
1/9/2018 SAP eCATT Step by Step Guide | SAP Consulting Development Implementation Remote Support Blog

Home How We Work Clients Services Free SAP Insights Contact

SAP ABAP

SAP BASIS

SAP BI
We must now set the default mode for each time the Test Con guration is executed. Since you will
SAP ECC always be running the script with an external le choose the External Variants /Path option.

SAP NetWeaver

SAP Outsourcing

SAP Support

Popular Articles

SAP Country Version India...


Use of Java Script and Fo...
Simple Steps to Create SA...
Now click on the drop-down on the File and choose the variant le you just created in the previous
SAP ECC : SAP loans manag... step. Your screen should look similar to the one shown below:
SAP Enterprise Portal –...
SAP System Validation And...

Now click on the SAVE icon and save as a local object or place into a development class (package)
so that it can be transported.

The message appears at the bottom of


the screen.

Now you are ready to execute your new eCATT Test Script via the Test Con guration. Open your
.txt le and convert the le in to excel le (ex: VAR_ECTC_Z_MATERIALMASTER_MM01.xls) enter
your variables.

http://www.apprisia.com/blog/sap-abap/sap-ecatt-step-by-step-guide/ 7/10
1/9/2018 SAP eCATT Step by Step Guide | SAP Consulting Development Implementation Remote Support Blog

Convert the same Excel le to text le to upload during the execution. If you upload it in .xls
format, then SAP will not be able to read it.
Home How We Work Clients Services Free SAP Insights Contact
Now go back to SAP and run tcode SECATT and enter your Test Con guration and click Execute.
You can see the below screen:

SAP ABAP

SAP BASIS

SAP BI

SAP ECC

SAP NetWeaver

SAP Outsourcing

SAP Support

You can choose your Error behavior. Change it to “NO termination, Continue with Next Script
Popular Articles
Command”.
SAP Country Version India... Click on the Variants tab and validate the mode and le path are correct.

Use of Java Script and Fo...


Simple Steps to Create SA...
SAP ECC : SAP loans manag...
SAP Enterprise Portal –...
SAP System Validation And...

Click on the UI control and specify whether you would like to execute in the foreground or
background. The test con guration will normally default to the background. As with the CATT the
foreground method of execution is very helpful when trying to troubleshoot errors in the test
script.

http://www.apprisia.com/blog/sap-abap/sap-ecatt-step-by-step-guide/ 8/10
1/9/2018 SAP eCATT Step by Step Guide | SAP Consulting Development Implementation Remote Support Blog

Then click execute and you are done.


eCATT display log appears:
Home How We Work Clients Services Free SAP Insights Contact

SAP ABAP

SAP BASIS

SAP BI

SAP ECC

SAP NetWeaver

SAP Outsourcing

SAP Support

Popular Articles

SAP Country Version India...


Use of Java Script and Fo...
Simple Steps to Create SA...
SAP ECC : SAP loans manag...
SAP Enterprise Portal –...
SAP System Validation And...

Please send us your questions, comments or assistance, and our team would be glad to assist you.

By Sareeka Bangar (on behalf of SAP Consulting Team)

Apprisia
SAP :: Streamlined

We offer variety of services including SAP ECC ,SAP HR,SAP BW,SAP CRM, SAP SCM,SAP BPM,
Business Objects, SAP ABAP Development, SAP BASIS and SAP NetWeaver consulting. We have
expertise in providing implementation,development, SAP Migration and SAP support services to
SAP customers across diverse industries at a global level.
Have a question on SAP? Write to our SAP Architect.

(We promise a no-obligation consulting reply)

Please Signup to remain Informed of New Blogs!

http://www.apprisia.com/blog/sap-abap/sap-ecatt-step-by-step-guide/ 9/10
1/9/2018 SAP eCATT Step by Step Guide | SAP Consulting Development Implementation Remote Support Blog

Home How We Work Clients Services Free SAP Insights Contact

We look forward to your thoughts - Send us a Message!


SAP ABAP
[contact_form]
SAP BASIS

SAP BI

SAP ECC
Copyright 2007 - 2017 - Apprisia - All Rights Reserved
SAP NetWeaver

SAP Outsourcing

SAP Support

Popular Articles

SAP Country Version India...


Use of Java Script and Fo...
Simple Steps to Create SA...
SAP ECC : SAP loans manag...
SAP Enterprise Portal –...
SAP System Validation And...

http://www.apprisia.com/blog/sap-abap/sap-ecatt-step-by-step-guide/ 10/10