HI about CATT Scripts
HI Thanks for every one who gave me the reponse to my previous thread. Now i can run both CATT and ECATT scripts.
But can any one clearly tell me the differences or advantages of ECATT scripts over CATT Scripts.
Hi Sreekanth,
I obsereved the follwing differences btw CATT and eCATT
1. By using CATT you can test transaction in R/3 system. Where as by using eCATT you can test SAPGUI for Windows and SAP GUI for Java (As it works with SAP Web Application Server 6.20)
2. In eCATT you can write any ABAP login you want, and you can also call RFC,BAPI in the script itself.
3. By using eCATT you can test the web interfaces as well
4. Using eCATT you can have the functionality of other testing tools in the market. like QTP.
5. eCATT provides an interface for external tools. This allows companies to perform automated tests from an SAP system in a complete IT solution landscape across system boundaries. These new options enable complete automation of solution landscapes under standard Windows and Web-based user interfaces- resulting in low-cost operation of an IT Solution.
i think we can consider the above all points as advanteages over CATT tool.
hope this helps. Rewars if it help.
-Manjula P
Similar Messages
-
Hi !
Could you please help me out about CATT Scripts. I guess this will be a job of abaper, but in bpp's it asking to run the CATT script.
Pls help me out.
Regards,
Ben Hur
Moderator: Please, search help.sap.com for CATT and try posting on the relevant forum next timeSee shoblock's answer
call sql script from unix
masterfile.sql:
@file1 &1
@file2 &2
@file3 &3
@file4 &4
then just call the master script:
sqlplus userid/password @masterfile <p1> <p2> <p3> <p4> -
Ran CATT Script for the role assignment to users
Hi All,
I have ran ECATT script for doing role assignment in QAS and completed successfully. I did this through CUA. What is the next step after running catt script? Do I need to doing anything with PFUD in each child system? Because I checked in the child systems many derived single roles are not generated in QAS.(RED). Is it because of running catt script or it might have came like that only from development? Please advise..
Regards,
Masood>
Salman123 wrote:
> Please let me know how should I proceed from here
Hi,
I have told you why the error message is there. What do you not understand about the resolution? Your parent roles are out of sync with the child roles so you need to re-sync them. An example of how do do this is to "adjust derived" from the master role. Only when you have done this will your roles be in sync again. -
hi Experts,
can anybody pls tell me about the CATThi ...
go thru the below details...
reward points if it is useful...
CATT: Enhanced Mode (BC-CAT-TOL)
http://help.sap.com/saphelp_nw04/helpdata/en/ae/410b37233f7c6fe10000009b38f936/frameset.htm
Use
The Test Workbench contains the Computer Aided Test Tool (CATT) to create manual or automatic test cases.
Manual test cases
Manual test cases are most useful for acceptance tests. They are descriptions of tests which a tester must perform manually on the system.
Automatic test cases
Automatic test cases are performed by the R/3 System without user dialog, and are most useful for function tests. The result of an automatic test case is a detailed log which documents the test. The use of automatic tests can considerably reduce the test effort.
Test cases test individual transactions or whole business transactions. Test cases are constructed modularly, to minimize the creation and maintenance effort, above all for business transactions.
The procedure for testing one transaction or function is described in test modules. The creation of test modules is greatly simplified by the CATT recording functionality.
Test procedures can be constructed from the test modules. Test modules are referred to and linked in the test procedure.
In modular test procedures:
n test modules can be reused
n changes to test modules are immediately effective in the test procedures which use them.
Simple test case creation
The transaction test procedure is recorded with a transaction recorder for the test module. The creator runs the application as in normal dialog operation. At the end of the transaction, you go back to CATT.
You can make test cases flexible by subsequently replacing the values input when recording by parameters.
You can store frequently used parameter settings in variants which you use in tests.
This functionality has been available since 4.6 in an additional CATT maintenance mode which can be used by users without technical background knowledge.
Implementation notes
Test cases usually make R/3 System database changes, so they should not run in the productive system. To control this centrally, the client table maintenance has a flag which allows tests to be run in the system.
Authorizations are also checked in CATT.
Integration
The ABAP Workbench infrastructure provides general functions such as correction and transport, the Repository information system, and multi-lingual applications.
In addition, it guarantees the correctness of a test run by updating synchronously, thereby explicitly refreshing the table buffer. This is especially important for transaction chains, where transactions use the results of previously executed transactions.
You can also test processes from one central R/3 system in a different R/3 or R/2 satellite system. The test procedure runs in the central R/3 system and controls the transactions via Remote Function Call (RFC) in the satellite systems.
The CATT logs created contain all information relevant for the test run and are stored centrally in the database of the executing R/3 system.
Functions
CATT can:
test transactions
check system messages
check authorizations (user profiles)
testing results and database updates
setup customizing tables
test the effect of customizing setting changes
These processes are less suited for CATT:
lists and display results
menu paths
Online help (F1, F4)
editor functions
Restrictions
You cannot use CATT for the following transaction types:
Transactions that contain the statement LEAVE TO TRANSACTION
SAP CATT - Computer Aided Test Tool
User Guide for Data Upload
The use of CATT is for bulk uploading of data. Although CATT is primarily a testing tool, it can be used for the mass upload of data. The way CATT works is like a real user actually inputting on the SAP screen. You prepare a set of data that are required to be input into the system and execute what you called a Test Case and CATT will do the boring task of keying for you.
Over-all procedure
The over-all procedure to upload data using CATT is as follows:
Creation of the CATT test case & recording the sample data input.
Download of the source file template.
Modification of the source file.
Upload of the data from the source file.
Details of each step are provided in the following paragraphs.
Detailed Procedure
Creation of the CATT test case:
Creation of the test case is completed as follows:
Execute Transaction SCAT
Name the test case. Test case name must start with Z. It is also good practise to include the transaction code in
the test case name (e.g. Z_IE01_UPLOAD for the upload of equipment)
Click the Record button.
Enter the transaction code (e.g. IE01)
Continue recording the transaction. Ensure data is entered into every field that is to be used during the upload.
Save the test case.
Download the source file template
Click the Field List button (Field list is displayed).
For every field that you wish to upload data, double click in the Column New field contents (This creates an
import parameter).
In the Maintain Import Parameter Pop-Up:
Delete the default value if not required.
Press Enter
The New field contents column now contains the character & followed by the field name (e.g. &EQART). This
is the name of the import parameter.
Repeat this for every field (in every screen) to be uploaded.
Back out and save the CATT test case
Download of source file template:
Use the path GOTO -> Variants -> Export Default
Select path and file name (e.g. C:\TEMP\Z_IE01_UPLOAD.TXT)
Click Transfer
Modify the source file
The downloaded source file template is now populated with the data that is to be uploaded. This is completed as follows:
Using Excel, open the tab-delimited text file.
Do not change any of the entries that already exist.
1st row contains the field names.
2nd row contains the field descriptions.
3rd row displays the default values which are set in the test case.
4th row contains a warning that changing the default values in the spreadsheet has no effect on the actual default values.
The data to be uploaded can be entered in the spreadsheet from row 4 onwards (delete the 4th row warning &
replace with data for upload).
Save the file as a Text file (Tab delimited).
Upload data from the source file
Uploading the data is completed as follows:
Execute the CATT test case
In the Execute screen:
Set processing mode to Errors or Background (your choice).
Set variants to External from file.
Click the Choose button and select the file to be uploaded.
If uploading to another client, click the Remote execution button and select the RFC connection to the required client.
If uploading to the current client, click the execute button.
SAP users use CATT frequently to upload master data or to make changes to master data records. SAP Consultants and Abapers tend to used it for creating test data. The transactions run without user interaction. You can check system messages and test database changes. All tests are logged. The CATT records your keystrokes while performing the actual transaction. You then identify the fields that you wish to change in that view. Then export this data to a spreadsheet to populate with the data required. This is uploaded and executed saving you keying in the data manually.
To perform CATT, it has to be enabled in your production environment (your systems administrator should be able to do this - SCC4). You will also need access to your development system to create the CATT script.
The process of uploading data with a CATT
Activate CATT in your client
In transaction code SCC4 - click the change button
Double click on the client number
In the Restriction section, tick Allows CATT processes to be started.
Upload data using CATT
1. Create Import variant for the fields you need
Transaction SCAT
Goto Parameters
Create Import Variant
Goto Variant -> Edit
Goto Variant -> Fast entry or F9
Duplicate 01
2. To change the MRP Group for a list of Material
Assuming that I want to change the MRP Group for a list of Material.
My text files should look something like this:
[Variant ID] [Variant Text] &ZDISGR &ZMATNR
--> Parameter texts MRP group Material
--> Default Values M1 A001
Changes to the default values displayed above not effective
#01 M1 A001
#02 '' A002
#03 M1 A003
Note : '' denotes a blank in the field. e.g. Material A002 MRP group will be replaced by a blank.
3. Configure the recorded entry fields to read from the imported text file data
In the CATT : Maintain functions test case Screen
Double click on the Object Name
Double click on the screen number with your desired fields
Park the cursor on the fields
Click Edit -> Details
Fill in the Parameters Name and Field Contents
Finish Save it.
Assign your text file data.
In the CATT : Execute test case Screen
Click External from file and choose your text file
CATT will now read from your text file and update whatever data you have specified.
Summary:
How can I use the CATT procedure?
Full Article:
Disclaimer: Contents are not reviewed for correctness and are not endorsed or recommended by ITtoolbox or any vendor. FAQ contents include summarized information from ITtoolbox SAP-R3-Log discussion unless otherwise noted.
1) Adapted from response by Pat on Fri, 12 Apr 2002
http://Groups.ITtoolbox.com/archives/archives.asp?l=sap-r3-log&i=84548
CATTs are very useful for creating mass transactions. I use them when I don't have an abap programmer available to write a BDC.
I actually use CATTs to load inventory, change material type, extending views, change valuation, creating master data for storage bins in WM. You name it, a CATT can be used to create the transaction. It's kind of hard to use for BOM's and Routings but not impossible.
Think of it like a macro.
2) Adapted from response by Anja on Fri, 12 Apr 2002
http://Groups.ITtoolbox.com/archives/archives.asp?l=sap-r3-log&i=84509
Transaction SCAT
1. Record your transaction
2. Save the CATT
3. Go into your recorded CATT Procedure and edit the parameters - you set these per SCREEN that you have visited. Double click on the screen number - you will get the screen layout. Place your cursor on a field and mark it as "input", "constant",...
4. Save again
5. If you have input parameters, you can prepare your input file in Excel. Display your parameters. The first ROW in Excel contains the technical description of the parameter. The second row in Excel contains the parameter description the third row contains a default value (this record is therefore NOT uploaded in the CATT) from the 4th row onwards, you will upload the data.
6. Save the Excel file as
7. Run the CATT (choose the processing you like, point it at the text tab delimited file) and go.
3) Adapted from response by Chris on Fri, 12 Apr 2002
http://Groups.ITtoolbox.com/archives/archives.asp?l=sap-r3-log&i=84720
If you really want to get into CATT, try the book Testing SAP R/3 Systems; Authors: Gerhard Oberniebermaier / Marcus Geiss; yr: 2000; Pearson Education, LTD. It compliments relatively good documentation that SAP provides in the Application Help area.
More information:
More information on SAP R/3 Logistics is available in the SAP-R3-Log discussion group. Enter a topic or subject and click the search button for detailed results.
SAP CATT (Computer Aided Test Tool) Tutorial Hints and Tips
Although CATT is meant for as a testing tools, many SAP users have now use CATT frequently to upload vendors master data and make changes to other master record.
SAP Consultant and Abapers tends to used it for creating test data.
With CATT, you don't have to create any ABAP upload programs and this save on development time. However, you still have to spend time on data mapping into the spreadsheet format.
The transactions run without user interaction. You can check system messages and test database changes. All tests are logged.
What CATT does is record you performing the actual transaction once.
You then identify the fields that you wish to change in that view.
Then export this data to a spreadsheet to populate with the data required.
This is uploaded and executed saving you keying in the data manually.
To perform CATT, it has to be enabled in your production environment (your systems administrator should be able to do this - SCC4).
You will also need access to your development system to create the CATT script.
SAP CATT Books
Testing SAP(R) R/3(R) Systems: Using the Computer Aided Test Tool
CATT activation
Activate CATT in your client -
Issue with Creating CATT Script for Generating Derived Roles
Hi Experts,
I am desperately trying to find the solution on how I create a CATT Script to generate derived roles from few 100 master roles.
I posted a thread on Security (Can I do a 'mass generation' of dervied roles?) .. however, since it turns out to be a SCAT issue, I thought I'll ask someone from this forum too.
Extract from the other thread is as follows :
"I cannot get the script to automate the generation of derived roles.
when Entering parameters for a test case, I can only see the Initial PFCG Screen. Display/Change Authorization screen doesn't seem to get recorded / logged in the test screen.
I.e : All screens with program SAPLPRGN_TREE is recorded, however all screens with program SAPMSSY0 is not.
I hope it makes sense.. Any suggestions on how I can automate the generation of derived roles tasks?
Thanks.
DineishHi,
I have the same problem just now.
Have you found some solutions about it ?
thx
Luigi -
Urgent - How to Run a FM using CATT script tool,
Hi All,
How to Run a FM using CATT script tool,
Thanks in advance,
KSRchoose type as "Function module test" (if you are in release less than 6.4 abap) after entering into t.code SCAT.
Pl. refer to this documentation for creating function module test cases
<a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/CACATTOL.pdf">http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/CACATTOL.pdf</a>
reward if it helps
Krishna -
Role Tab(section) is not getting captured through CATT script on PI/XI.
Role Tab(section) is not getting captured through CATT script on PI/XI system
I am trying to create CATT script for user creation and role assignment on PI/XI. Every screen except ROLE and GROUPS is getting captured.Hi Plaban,
I have had the same problem in the past but I didn't investigate too far.
What I prefer to do is have 2 scripts.
1. User Creation using SU01
2. Role assignment using SU10 -
Usage of CATT scripts in Sap FI/CO module
Hello guru's
Please explain the usage of CATT scripts in FI/CO module .
and is there any specifications for using this CATT script in month end FI/Co activities.
please explain me in detail
Thanks & Regards
Chandra.Dear Chandra,
CATT is a SAP tool for testing certain procedures. It could act like a macro-recorder in Excel. That is, you record your actions for certain transaction via CATT and then replay it for the data that you store in an ASCII file. Some people use CATT for uploading the initial master data as well (e.g. cost centres, internal orders, etc.) instead of other SAP tools (LSMW, IDOC).
Bottom line, there is no activity of using CATT in FI-CO; nor in the routine maintenance, neither in end-period procedures. Someone has mislead you on this point. However, if you'd like to use CATT, you can look at the following link:
http://help.sap.com/erp2005_ehp_03/helpdata/EN/48/c521a8f6ec11d2bdde080009b4534c/frameset.htm
Regards,
Eli -
'Display a notification about every script error' not working in IE11
Hi all,
I want to see script errors when script errors occur in pages (as a developer). In older versions of IE when you enable 'Display a notification about every script error' a yellow icon appeared at the bottom of IE and when you clicked it, you could see what
was wrong in the scripting.
In IE11 this no longer works. Is this a bug ?
Callant
Callant"This is actually by design. The scenario you are describing is better served by the F12 developer tools, and in IE11 we disabled this dialog entirely because of the performance overhead these old dialogs incurred and the fact that the F12 tools
are a better place for this information to surface."
- Christian Stockwell [MSFT], The Internet Explorer Team
Please see the Connect comments
here.
Please read:
Using the F12 developer tools
Regards,
Vincenzo Di Russo
Microsoft® MVP Windows Internet Explorer, Windows & Security Expert - since 2003.
Moderator in the Microsoft Community and TechNet Forums
My MVP Profile -
Information to study about java script
could some one tell me information to study about java script. i need material for java script. which book is better
You of course know that JavaScript is entirely different from Java and [JSP (JavaServer Pages)|http://en.wikipedia.org/wiki/JavaServer_Pages]?
You can find a forum devoted to JavaScript here: [http://www.webdeveloper.com/forum/forumdisplay.php?f=3].
You can find a forum devoted to JSP here: [http://forums.sun.com/forum.jspa?forumID=45&start=0]. -
Edit catt script for changes in in web appl server higher than 6.4 release
Hello Gurus,
Will you help me in editing the CATT script for changes in Web application server release higher than 6.4 release, when I look for edit mode it was showing the following message. will anyone suggest me is there any way to make changes.
While I was choosing change mode it was displaying the above message ( Message No:TT005)
Full points for the answerIt seems there there is no problem with my FireFox 7.0.1 on my Mac OSX 10.7.2. So, maybe you can solve the problem by updating your OS. The only minor problem here is that Firefox doesn't display in the Tibetan fonts that you choose, it always display in Kailas font for Tibetan.
-
Question about calculation script 'Fix'
Hi Guys,
I have a question about calculation script 'Fix'. Below is the sample for my question:
Dimension 'Period' has members '2009','2010','2011'. We want to Fix the data which 'Period' is not '2009'.
From Database Administrator's Guide we could use @NOTEQUAL, but version 11.1.1.3.0 seems not support @NOTEQUAL.
Actually, the dimension is dynamic so we cannot use the way fixing other memebers. What should I do for this requirement?
Edited by: 842270 on Apr 24, 2011 7:29 PM842270 wrote:
Hi Guys,
I have a question about calculation script 'Fix'. Below is the sample for my question:
Dimension 'Period' has members '2009','2010','2011'. We want to Fix the data which 'Period' is not '2009'.
From Database Administrator's Guide we could use @NOTEQUAL, but version 11.1.1.3.0 seems not support @NOTEQUAL.
Actually, the dimension is dynamic so we cannot use the way fixing other memebers. What should I do for this requirement?
Edited by: 842270 on Apr 24, 2011 7:29 PMYou can use @Remove command to avoid 2009.
@REMOVE
Removes values or members in one list from another list.
Syntax
+@REMOVE (list1, list2)+
Parameter Description
list1
+ A list of member specifications, from which the members specified in list2 are removed.+
list2
A list of member specifications to be removed from list1. -
E-catt Script error while trying to Modify the script
Hi All ,
I get the error while trying to modify the E-catt Script "Entry cannot be changed In User View Object <Objext Name > ". Please let me know if Some one confronted with same error or that can be avoided.
Waiting for your reply
BadariHi Baez,
You have to create a record with country record id in BankDetails table or get record id if country record id is already existed in BankDetails table and use this record id to create qualified link .
1. get Country record id
2. search in Bankdetails table with Country Record id,
3 . if exist in Bank details table, get record id in Bank details table and pass it to createQualifiedLink()method
or
3. if Country record does not exist in BankDetails table, then create new record in bankdetails table with Country record id, pass record id of new record to createQualifiedLink()method
I hope this helps you......
Cheers,
Veeru -
Hi all,
I have an already existing CATT script, in which I need to make changes .
I can't find the Version management page in the script, so is it the usual way that the changes are included in the TR or is there any other way to make the changes ?
Also, how to check the already existing Transports ( Versions ) for this script ?
Thanks,
~Hi..
You can see the Versions for the script
just go to SE71 and enter the script name
then you click on Utilities -
> Versions
there you can find the versions that what gets generated
If it helps reward with points
Regards Rk -
hi,
I have done catt script to create user in BW 3.5 ... now I am trying to crete the same script in BW 7.0......
I have created catt script using SECATT transaction....
I download the varient to .txt file
[VARIANT] [DESCRIPTION] ZTEST898
BDC field value
*ECATTDEFAULT ztest898
If I pass parameter directly , the script executing fine ...
If I try to pass parameters through .....txt file ... it is giving error
Variants that Match Selection Cannot Be Found
help me please.
Regards
Ben1. Create a text file with the UDML to create a new user(s):
DECLARE USER "NewUser" AS "NewUser" UPGRADE ID 1 FULL NAME {New User} PASSWORD '' PERIODICITY 90
HAS ROLES (
"Administrators",
"XMLP_ADMIN" )
DESCRIPTION {password = Empty}
PRIVILEGES ( READ);
Merge it with your your current repository using nQUDMLExec.exe
E:\OracleBI\server\Bin>nQUDMLExec.exe -U Administrator -P Administrator -I E:\temp\NewUser.txt -B E:\temp\paint.rpd -O e:\temp\newrep.rpd
Regards John
http://obiee101.blogspot.com/
Maybe you are looking for
-
Tables TCURM and T001W inconsistent; notify your systems administrator
Hi, I'm getting the M3820 error while creating material master. I have assigned the plant to the valuation area but this still occurs. Can anyone help? Thank you! Florian
-
How can I find Lion to download it to my Mac Book? It has Snow Leopard and 4GB RAM but it the white plastic model and is not compatible with Mountain Lion. I have been told by the Genius Bar that it will handle Lion.
-
More RAM....BIG improvement
I know I had this question in my mind and saw some discussion about it but I thought I'd answer the question scientifically for all new users who may have the same question. When running itunes on a dual core Pentium 2.0ghz with 1gb or RAM, it was no
-
Help. I can't restore my photo library
I recently had a residential burglary in which my iMac was stolen. It's since been retrieved, but the thief erased every single photo in my library. However, I did have an external hard drive with the library saved on it. While i was without the iMac
-
Changing MTU in 5800 Xpress Music
Is there any way to change the Maximum Transfer Unit (MTU) on a 5800 Xpress Music phone? My Broadband provider (TalkTalk) requires an MTU of 1432 and from searching the net I believe the 5800 has a default value of 1500. This is causing my phone to h