‎2007 May 07 8:42 AM
here a recording can be created for any tcode. is it possible to build a pgm like how we do in SHDB?
‎2007 May 07 8:45 AM
Hi,
Though we can uplaod the data using scat/catt method,
You can't upload the data with Multiple records like Table control using CATT procedure.
SAP users use CATT frequently to upload master data or to make changes to master data records. SAP Consultants and Abapers tend to use 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.
u can go through this link
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=catt&cat=sdn_all
Reward points if useful
Regards
Anji
Message was edited by:
Anji Reddy Vangala
‎2007 May 07 8:45 AM
No , CATT is a testing Tool , i thin u cannt generate program from out of this.
Regards
Prabhu
‎2007 May 07 8:46 AM
hi,
yes it is possible .you have to hard code the entire program.
rgds,
Prajith
‎2007 May 07 8:53 AM
Tx for the replies.
there is no need to hard code ur pgm while using SHDB.
Is there a similar option using SCAT?