"Ask the FI/CO Expert" is a monthly Q&A column where readers can ask FI/CO Expert senior consultants questions on difficulties they've encountered using R/3 functionality. The question for this month's column concerns doing mass updates to accounting information on customer masters. A guest FI/CO Expert senior consultant from ICM America carefully details, step by step, how two SAP end-user tools, the Computer Aided Test Tool (or CATT) and the newer, cross-application Mass Maintenance Tool, can be used to create and change customer master and transaction data.
Key Concept
Dear FI/CO Expert,
Several years ago, our consultants used a tool called CATT to automatically create customer master data prior to our cutover. As I recall, this was based on a list we had prepared in a spreadsheet. It seemed so easy. I would like to use this tool again, as I have a "Sort Key" field setting that needs to be changed on all our sold-to customer masters.
At this point, I’ve been able to record and save a CATT. I’ve also prepared a spreadsheet that contains my data and has three columns, one for the customer number, one for the Company Code, and one for the Sort Key setting I want to change to.
Also, I was able to find the place in the transaction used to run a CATT where I could select my spreadsheet as the file I wanted R/3 to process (I used the "External from file" option).
Yet, when I try to execute the CATT, I only get the error message "Error 0022 reading external variants from file."
What am I doing wrong? And, is there another, less cumbersome, way to update this Customer Master data?
Regards,
Stephen McCarthy
Hi Stephen,
Thanks for your question! In short, the answer to your question is "Yes," there is another way to make mass updates to master data other than using CATT. I’ll touch on that in just a moment.
At the same time, why don’t I describe what is meant by CATT and its intended use? Then I’ll try to provide some pointers on your particular issue.
CATT — What Is It?
SAP provided the Computer Aided Test Tool — or "CATT" — to help us succeed with user acceptance and general functionality testing, by providing an automated way of performing otherwise manual end-user transactions.
So, instead of manually executing 75 slightly different versions of the "Post a Vendor’s Invoice" transaction, for example, we can set up one CATT to do all 75 iterations for us.
The CATT can also be set up to perform a "string" of transactions, such as Create a Purchase Order, then the Goods Receipt for Purchase Order, and finally the Invoice Receipt for Purchase Order.
Because of its powerful uses, many companies, like yours, have elected to use this tool to help create and change both master data and transaction data across the system landscape, as well as in the production client.
Using Variants in a CATT
The feature of CATT that you are specifically asking about is the ability to use variants. Variants allow the use of different sets of data to be passed to the CATT. In general, using variants in a CATT is easy.
Basically, just prepare, in a text file — using a spreadsheet application, which allows a tab-delimited format — the data entry values that you want the CATT to use. Then tell the system where to find your file when executing the CATT.
Below is a list of pointers that may be helpful when working with variants in a CATT and in determining the issue causing your particular error message:
- Make sure that the Customer Master fields that you would need to populate if you were manually performing the R/3 transaction are created in your CATT as "import parameters."
- Verify that your CATT contains default values for the import parameters only where this makes sense (i.e., if the value for the field "Company Code" never needs to change, then it is okay to allow that particular import parameter a default value).
- Create the External Variant as a TXT file (in R/3’s CATT, known as "exporting the variant"). Pay close attention to where the file is saved on your computer.
- Open the TXT file as a "tab-delimited" text spreadsheet (i.e., launch a spreadsheet application, and then choose: "File > Open"), populate with the data values you want the CATT to use, and save your data entry work also as the same TXT file as before.
- Upload the TXT file during execution of the CATT (in R/3’s CATT, known as "importing the variant"). Remember to direct R/3 to the specific directory on your computer where you saved the text file.
Now let’s talk about your second question — that easier, quicker way to perform the same update tasks — using the new "Cross-Application" Mass Maintenance Tool that was provided standard in R/3’s 4.5 version.1
Mass Maintenance Tool — What Is It?
SAP provided the Mass Maintenance Tool to help facilitate changes to large amounts of master data without having to create a CATT, or maintain a spreadsheet, or write a custom upload program. This tool also includes a feature that allows you to create new data from existing data, as when extending an existing customer to another sales organization or a material to another plant.
Where Can I Use It?
Due to the newness of the Mass Maintenance Tool, it has limited availability. It is currently only supported in the following applications:
- Customer, Material, and Vendor Masters
- Rental Units (Real Estate Management)
How Do I Use It?
Let’s use your example for updating the "Sort Key" to explain how to work with this tool. You can get to the Mass Maintenance transaction through the Logistics / Central Functions menu path (transaction code: MASS). There are also other paths to the tool through the specific applications listed above — e.g., Customer Master via transaction XD99, or through the Sales & Distribution / Customer Master menu path.
1. If you go to the tool through the "MASS" transaction code or the Logistics / Central Functions menu path, you will need to enter an object type. The object type tells the system what application area you want to work in (from the list outlined above).
In this case, we are changing customer masters, so enter "KNA1" in the object type field, or select "KNA1" from the pull-down list,2 as shown in Figure 1, and then go forward by clicking on the Execute icon (green and white clock).

Figure 1
Step 1 in Using the Mass Maintenance Tool: Choosing an "Object Type"
Note
If you have a FI/CO-related question about R/3 that you would like to “Ask the FI/CO Expert,” visit the FI/CO Expert Web site at www.FICOExpertOnline.com. You will be able to submit your question there. 2. On the next screen, choose from the list the tables to be used as sources for search criteria fields and update fields. In this case, choose "KNA1" (Customer Master general data) and "KNB1" (Customer Master company code data).
By selecting multiple tables, all the fields from both tables will be available for you to use as the search criteria, enabling you to be very specific regarding which of your current Customer Masters are changed during this process. Execute the transaction.
3. At this point, you’ll have the chance to further define the search criteria by choosing the "Selection Fields" button from a screen that looks similar to the one shown in Figure 2 (next page).
For example, you can choose "customer account group" to be used as a filter so that only one specific group of your Customer Masters (e.g., the "Sold-To" customers) is selected for editing. Use the "Green check" to then copy that selection criteria.

Figure 2
Accessing the "Selection Fields" and "Fields" Buttons While Using the Mass Maintenance Tool
4. Once the search criteria are established, choose the "Fields" button from that screen (also shown in Figure 2).
In response, the Mass Maintenance Tool will display a list of which Customer Master fields it will allow you to make mass changes to. Using your example, you would select the "Sort Key" field.
5. At the bottom of the list, choose "Values" and enter the new value that you want the Mass Maintenance Tool to change the "Sort Key" field to. Use the "Green Check" icon to go forward.
6. You can now execute the transaction. You’ll be shown a list. Verify that the Customer Masters shown are the ones you want to be changed, and then click on the "save" icon.
During the "save," the system will update all of those Master Data records with your new Sort Key value.
That’s it … a lot fewer and simpler steps than when making changes to master data by creating and executing a CATT!
I hope that you will try out this new Mass Maintenance Tool functionality for future updates.
All for now, and thanks again for your question!
Laura Sigman
Laura Sigman is a Senior Consultant for ICM America LLC, specializing in cross-application integration scenarios and management strategies for system deployments, testing cycles, and end-user training. Laura has considerable experience in master data management, including configuration development, conversions, and transactional testing.
You may contact the author at LSigman@ICM.de.
If you have comments about this article or publication, or would like to submit an article idea, please contact the editor.