You are on page 1of 20

SAP – FICO CUSTOMIZING GUIDE 1.

EXTENDED COMPUTER AIDED TEST TOOL

SANDESH KAKDE

EMAIL:sandeshkakde@live.com

SAP CUSTOMIZING – TABLE OF CONTENTS

SAP eCATT Step by Step Guide


I would discuss the basic concepts regarding eCATT and how to develop a test script and
test configuration to upload a test data file with a practical example.

What is eCATT?
eCATT (extended Computer Aided Test Tool) is an SAP Testing Tool used to automate & test
business scenarios in SAP ECC 6.0 & above. It was available in previous version of SAP but it
is slightly different than SAP ECC 6.0 and above. Each test that was executed will generate a
detailed log that will give the test process and results. If the testing is successful without any
errors log, we can say that the business scenario mapped in SAP is correct. If the test results
show error, then the problem can be analysed using the error log that is generated by the
system.

So, in short in this topic you will see what eCATT is, how we can use it; how we can load a
test data from a file in ECC 6.0 with an example. It can be use for master data or large
amount of transaction data.

After reading this topic, you will have understanding about eCATT tool. And you will be able
to create a test script and test configuration in which test data can be loaded from a file.
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

Step-1: Create Test Script

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

Enter Title as required and the Component as FI-GL-GL-MD-SG. This component is used for GL
creation/updating or change. There are several components provided by SAP for several
purpose like user creation, material creation, post large transaction data and many more.
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

Click on the Pattern Button on the menu bar.

An Insert Statement dialog box appears.

Select Group as UI Control, Command as TCD (Record), Transaction code as FS01 and
interface as FS01_1 then Press Enter.
System will start Record the function that you are attempting to perform i.e. creation of GL
Master.
While recording I have maintaine below details to create GLaccount.

1) GL account
2) Company code
3) Account Group
4) Short text
5) Long text
6) Account Currency
7) Only Bal. in local currency tick
8) Line item display tick
9) Sortkey
10) Field status group
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

Click on save button.

After creating GL 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:

Now double-click on the interface. In this example the interface was named FS01_1, you will get
following screen
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

By using split screen now, you can navigate through various screens you are recorded and
replace the fixed values with variables.

This is done by opening the Dynpro menu and going through each numbered screen to review
your input. You will find the parameters here which are used while recording the GL. You will
have to update the Recorded value with new values. For Example, GL account “400139” is
ZGLACCOUT.
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

Please follow below screenshot to replace the value. This procedure we must follow for all the
parameters:
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

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 the Green Square. This icon indicates a variable is present.
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

Repeat this step for all variables.


Now you can change the all the variables.
Click on SAVE icon after completing and save as a local object or place in a development class
to transport the eCATT.
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

We can see above all the parameters are shown in SAP system.

Click on the SAVE icon you can see the message” Test Script: “………..” saved successfully is
generated.
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL
Step-2: Creating Test Configuration
Before executing eCATT first you need to create a Test Configuration. Use Transaction code
SECATT to execute and entering a name for the Test Configuration and clicking on the Create
icon. (In this Example I have given same name as Test Script)

Give Test Configuration a Name and Component and then click on the Configuration tab to see
the following screen:
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

Now go to Variant tab:

CLICK ON EDIT-> VARIANT -> DOWNLOAD

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 file will be
saved in text format
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

Click on Save

Click on Yes Button

Till here we are done with step 2.


SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

Now open the created file in excel as shown below.

You will find the default values created by SAP.

Now add the values or data which you want to upload.


SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

In current scenario I have added 5 GL account for testing purpose.

Note: Please put correct values such as “001” instead of just “1”. This will give an error otherwise.

Now click on save. (Save this excel)

Note: do not change the format. Keep it as .txt only.


SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

Go to SAP again

Provide the new created file which containd new data to upload

Click on Exceute
SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

After execute, below screen will appear.

Select the error behavious “S” – No Termintaion, continue with next scrip command. Also select log
display checkbox.

Execute again.

You can see the log in detail.


SAP – FICO CUSTOMIZING GUIDE 1. EXTENDED COMPUTER AIDED TEST TOOL

To confirm the GL accounts are created or not, go to se16n and check at table level.

END eCATT

You might also like