Skip to Content

Hot Topics

  • RISE with SAP
  • Events
  • Event Presentations (on demand)
  • Webinars
  • Expert Insights
  • Member Success Stories
  • Regions
    • Americas
    • APAC
    • EMEA
  • Industries
    • Aerospace and Defense
    • Agribusiness
    • Automotive
    • Building and Construction
    • Chemicals
    • Consumer Products
    • Cross Industry
    • Education
    • Fashion and Apparel
    • Financial Services
    • Food and Beverage
    • Healthcare
    • Hospitality
    • Industrial Manufacturing
    • Media and Entertainment
    • Metals and Mining
    • Mill Products
    • Oil Gas and Energy
    • Passenger Travel and Leisure
    • Professional Services
    • Public Sector
    • Retail and eCommerce
    • Technology
    • Telecommunications
    • Transportation and Logistics
    • Utilities
    • Wholesale Distribution
  • Expert Network
  • Vendor Directory
  • Research Reports
  • Webinars
  • Podcasts
  • Events
  • Log In
  • Become an Insider

All Topics

  • SAP Analytics and AI
    • All SAP Analytics and AI
    • SAP AI
    • SAP Analytics
    • SAP Analytics Cloud
    • SAP BI Tools
    • SAP BusinessObjects
    • SAP Business Intelligence
    • SAP Data Science
    • SAP Lumira
    • SAP Machine Learning
    • SAP Predictive Analytics
  • SAP Application Development and Integration
    • All SAP Application Development and Integration
    • SAP ABAP
    • SAP ABAP Development Tools
    • SAP ABAP Test Cockpit
    • SAP API Management
    • SAP BAPI
    • SAP Basis
    • SAP BRF
    • SAP Business Application Studio
    • SAP CMS
    • SAP Design Studio
    • SAP Development Tools
    • SAP DevOps
    • SAP EAI
    • SAP EDI
    • SAP Extension Suite
    • SAP Fiori
    • SAP Fiori Elements
    • SAP Integration Suite
    • SAP Low Code Application Development
    • SAP Low Code Automation
    • SAP Netweaver
    • SAP Release Management
    • SAP UI5
    • SAP Web Application Server
    • SAP Web IDE
  • SAP Business Process Management
    • All SAP Business Process Management
    • SAP BPO
    • SAP Process Analysis
    • SAP Process Automation
    • SAP Process Design
    • SAP Process Integration
    • SAP Process Intelligence
    • SAP Process Orchestration
  • SAP Center of Excellence
    • All SAP Center of Excellence
    • SAP Change Management
    • SAP CoE Framework
    • SAP CoE Leadership
    • SAP CoE Team Structure
    • SAP Learning Organization
  • SAP CIO
    • All SAP CIO
    • RISE with SAP
    • SAP Architecture
    • SAP Business Data Cloud
    • SAP Digital Transformation
    • SAP Executive Forum
    • SAP Sustainability
    • Technology Executive Forum
  • SAP Customer Experience
    • All SAP Customer Experience
    • SAP Commerce Cloud
    • SAP CRM
    • SAP CS
    • SAP Customer Data
    • SAP ecommerce
    • SAP Hybris
    • SAP Marketing Analytics
    • SAP Marketing Automation
    • SAP Marketing Cloud
    • SAP POS
    • SAP Qualtrics
    • SAP Sales Cloud
    • SAP Service Cloud
    • SAP Trade Promotion Management
    • SAP Warranty Management
  • SAP Data and Data Management
    • All SAP Data and Data Management
    • SAP BW
    • SAP BW/4HANA
    • SAP Crystal Reports
    • SAP Data Archiving
    • SAP Data Center
    • SAP Data Governance
    • SAP Data Integration
    • SAP Data Migration
    • SAP Data Quality
    • SAP Data Services
    • SAP Data Strategy
    • SAP Data Visualization
    • SAP Data Warehouse Cloud
    • SAP DMS
    • SAP Document Control
    • SAP EIM
    • SAP ETL
    • SAP ETL Tools
    • SAP HANA
    • SAP HANA Administration
    • SAP HANA Deployment Infrastructure
    • SAP HANA Studio
    • SAP Master Data
    • SAP Master Data Governance
    • SAP MDM
  • SAP Enterprise Architect
    • All SAP Enterprise Architect
    • SAP Enterprise Architecture Designer
    • SAP Enterprise Architecture Framework
    • SAP Enterprise Architecture Tools
    • SAP Platform Architecture
  • SAP Enterprise Asset Management
    • All SAP Enterprise Asset Management
    • SAP Asset Analytics
    • SAP Asset Tracking
    • SAP EAM
    • SAP Field Service
    • SAP GIS
    • SAP Maintenance Management
    • SAP Mobile Asset Management
  • SAP ERP
    • All SAP ERP
    • SAP Business Suite
    • SAP COE
    • SAP Configuration
    • SAP ECC 6.0
    • SAP ECC Migration
    • SAP Migration Strategy
    • SAP PMO
    • SAP Project Management
    • SAP S/4HANA
    • SAP S/4HANA Implementation
    • SAP T Code
  • SAP Finance
    • All SAP Finance
    • SAP Accounting
    • SAP AR AP
    • SAP Asset Accounting
    • SAP Billing Systems
    • SAP BPC
    • SAP BRIM
    • SAP Cash Management
    • SAP Central Finance
    • SAP Controlling
    • SAP COPA
    • SAP Cost Center Accounting
    • SAP Currency Risk
    • SAP e-invoicing
    • SAP FICO
    • SAP Finance Automation
    • SAP Advanced Financial Closing
    • SAP Financial Consolidation
    • SAP Financial Planning
    • SAP FX Risk
    • SAP General Ledger
    • SAP Global Tax Management
    • SAP Hyperion
    • SAP Order to Cash
    • SAP Payment Processing
    • SAP Profitability Analysis
    • SAP Rebate Management
    • SAP S/4HANA Finance
    • SAP SWIFT Compliance
    • SAP Treasury Management
    • SAP Universal Journal
  • SAP Governance Risk and Compliance
    • All SAP Governance Risk and Compliance
    • SAP Access Control
    • SAP Audit Management
    • SAP Fraud Management
    • SAP GRC
    • SAP Process Control
    • SAP Regulatory Compliance
    • SAP Risk Analysis
    • SAP Risk Management
    • SAP SOX Compliance
  • SAP Human Capital Management
    • All SAP Human Capital Management
    • SAP Applicant Tracking
    • SAP Benefits Administration
    • SAP Fieldglass
    • SAP HRIS
    • SAP Payroll
    • SAP SuccessFactors
    • SAP Talent Management
    • SAP Time and Attendance
    • SAP Workforce Planning
  • SAP Intelligent Technologies
    • All SAP Intelligent Technologies
    • SAP Blockchain
    • SAP Internet of Things
    • SAP Leonardo
    • SAP Robotics
    • SAP RPA
    • SAP Simulation
    • SAP Smart Sensing
  • SAP Platform and Technology
    • All SAP Platform and Technology
    • SAP Business Technology Platform
    • SAP Cloud
    • SAP Cloud Connector
    • SAP Cloud Integration Platform
    • SAP Cloud Migration
    • SAP Cloud Platform
    • SAP Cloud Providers
    • SAP Cloud Strategy
    • SAP Digital Signature
    • SAP Container Platform
    • SAP HANA Enterprise Cloud
    • SAP Digital Asset Management
    • SAP Smart Forms
    • SAP HEC
    • SAP Digital Integration Hub
    • SAP Hyperscalers
    • SAP Infrastructure
    • SAP Messaging
  • SAP Quality and Testing
    • All SAP Quality and Testing
    • SAP Code Inspector
    • SAP Performance Testing
    • SAP QA
    • SAP Quality Management
    • SAP Software Testing
    • SAP Testing & Automation Tools
  • SAP Security
    • All SAP Security
    • SAP CyberSecurity
    • SAP Data Security
    • SAP Disaster Recovery
    • SAP Enterprise Threat Detection
    • SAP Identity Management
    • SAP Vulnerability Analysis
  • SAP Spend Management
    • All SAP Spend Management
    • SAP Ariba Supplier Network
    • SAP Concur
    • SAP Contract Management
    • SAP Procure to Pay
    • SAP Procurement
    • SAP Spend Analysis
    • SAP SRM
  • SAP Supply Chain Management
    • All SAP Supply Chain Management
    • SAP APO
    • SAP Asset Management
    • SAP Business Network
    • SAP Digital Manufacturing Cloud
    • SAP Digital Twin
    • SAP EWM
    • SAP IBP
    • SAP Inventory Management
    • SAP Label Printing
    • SAP Logistics
    • SAP Manufacturing
    • SAP Manufacturing Automation
    • SAP MES
    • SAP MII
    • SAP MM
    • SAP MRO
    • SAP MRP
    • SAP Order Management
    • SAP Plant Maintenance
    • SAP PLM
    • SAP Production Planning
    • SAP S&OP
    • SAP SD
    • SAP SPM
    • SAP Supply Chain Planning
    • SAP Track and Trace
    • SAP Transportation Management
  • SAP System Administration
    • All SAP System Administration
    • SAP High Availability
    • SAP Administration
    • SAP Systems Administration
    • SAP Application Maintenance
    • SAP Basis Administration
    • SAP IT Automation
    • SAP Operating Systems
    • SAP Provisioning
    • SAP Service Continuity
    • SAP Solution Manager
    • SAP Workloads
Topics

Topics

Close Hot Topics
  • RISE with SAP
  • Events
  • Event Presentations (on demand)
  • Webinars
  • Expert Insights
  • Member Success Stories
All Topics
  • SAP Analytics and AI
    • All SAP Analytics and AI
    • SAP AI
    • SAP Analytics
    • SAP Analytics Cloud
    • SAP BI Tools
    • SAP BusinessObjects
    • SAP Business Intelligence
    • SAP Data Science
    • SAP Lumira
    • SAP Machine Learning
    • SAP Predictive Analytics
  • SAP Application Development and Integration
    • All SAP Application Development and Integration
    • SAP ABAP
    • SAP ABAP Development Tools
    • SAP ABAP Test Cockpit
    • SAP API Management
    • SAP BAPI
    • SAP Basis
    • SAP BRF
    • SAP Business Application Studio
    • SAP CMS
    • SAP Design Studio
    • SAP Development Tools
    • SAP DevOps
    • SAP EAI
    • SAP EDI
    • SAP Extension Suite
    • SAP Fiori
    • SAP Fiori Elements
    • SAP Integration Suite
    • SAP Low Code Application Development
    • SAP Low Code Automation
    • SAP Netweaver
    • SAP Release Management
    • SAP UI5
    • SAP Web Application Server
    • SAP Web IDE
  • SAP Business Process Management
    • All SAP Business Process Management
    • SAP BPO
    • SAP Process Analysis
    • SAP Process Automation
    • SAP Process Design
    • SAP Process Integration
    • SAP Process Intelligence
    • SAP Process Orchestration
  • SAP Center of Excellence
    • All SAP Center of Excellence
    • SAP Change Management
    • SAP CoE Framework
    • SAP CoE Leadership
    • SAP CoE Team Structure
    • SAP Learning Organization
  • SAP CIO
    • All SAP CIO
    • RISE with SAP
    • SAP Architecture
    • SAP Business Data Cloud
    • SAP Digital Transformation
    • SAP Executive Forum
    • SAP Sustainability
    • Technology Executive Forum
  • SAP Customer Experience
    • All SAP Customer Experience
    • SAP Commerce Cloud
    • SAP CRM
    • SAP CS
    • SAP Customer Data
    • SAP ecommerce
    • SAP Hybris
    • SAP Marketing Analytics
    • SAP Marketing Automation
    • SAP Marketing Cloud
    • SAP POS
    • SAP Qualtrics
    • SAP Sales Cloud
    • SAP Service Cloud
    • SAP Trade Promotion Management
    • SAP Warranty Management
  • SAP Data and Data Management
    • All SAP Data and Data Management
    • SAP BW
    • SAP BW/4HANA
    • SAP Crystal Reports
    • SAP Data Archiving
    • SAP Data Center
    • SAP Data Governance
    • SAP Data Integration
    • SAP Data Migration
    • SAP Data Quality
    • SAP Data Services
    • SAP Data Strategy
    • SAP Data Visualization
    • SAP Data Warehouse Cloud
    • SAP DMS
    • SAP Document Control
    • SAP EIM
    • SAP ETL
    • SAP ETL Tools
    • SAP HANA
    • SAP HANA Administration
    • SAP HANA Deployment Infrastructure
    • SAP HANA Studio
    • SAP Master Data
    • SAP Master Data Governance
    • SAP MDM
  • SAP Enterprise Architect
    • All SAP Enterprise Architect
    • SAP Enterprise Architecture Designer
    • SAP Enterprise Architecture Framework
    • SAP Enterprise Architecture Tools
    • SAP Platform Architecture
  • SAP Enterprise Asset Management
    • All SAP Enterprise Asset Management
    • SAP Asset Analytics
    • SAP Asset Tracking
    • SAP EAM
    • SAP Field Service
    • SAP GIS
    • SAP Maintenance Management
    • SAP Mobile Asset Management
  • SAP ERP
    • All SAP ERP
    • SAP Business Suite
    • SAP COE
    • SAP Configuration
    • SAP ECC 6.0
    • SAP ECC Migration
    • SAP Migration Strategy
    • SAP PMO
    • SAP Project Management
    • SAP S/4HANA
    • SAP S/4HANA Implementation
    • SAP T Code
  • SAP Finance
    • All SAP Finance
    • SAP Accounting
    • SAP AR AP
    • SAP Asset Accounting
    • SAP Billing Systems
    • SAP BPC
    • SAP BRIM
    • SAP Cash Management
    • SAP Central Finance
    • SAP Controlling
    • SAP COPA
    • SAP Cost Center Accounting
    • SAP Currency Risk
    • SAP e-invoicing
    • SAP FICO
    • SAP Finance Automation
    • SAP Advanced Financial Closing
    • SAP Financial Consolidation
    • SAP Financial Planning
    • SAP FX Risk
    • SAP General Ledger
    • SAP Global Tax Management
    • SAP Hyperion
    • SAP Order to Cash
    • SAP Payment Processing
    • SAP Profitability Analysis
    • SAP Rebate Management
    • SAP S/4HANA Finance
    • SAP SWIFT Compliance
    • SAP Treasury Management
    • SAP Universal Journal
  • SAP Governance Risk and Compliance
    • All SAP Governance Risk and Compliance
    • SAP Access Control
    • SAP Audit Management
    • SAP Fraud Management
    • SAP GRC
    • SAP Process Control
    • SAP Regulatory Compliance
    • SAP Risk Analysis
    • SAP Risk Management
    • SAP SOX Compliance
  • SAP Human Capital Management
    • All SAP Human Capital Management
    • SAP Applicant Tracking
    • SAP Benefits Administration
    • SAP Fieldglass
    • SAP HRIS
    • SAP Payroll
    • SAP SuccessFactors
    • SAP Talent Management
    • SAP Time and Attendance
    • SAP Workforce Planning
  • SAP Intelligent Technologies
    • All SAP Intelligent Technologies
    • SAP Blockchain
    • SAP Internet of Things
    • SAP Leonardo
    • SAP Robotics
    • SAP RPA
    • SAP Simulation
    • SAP Smart Sensing
  • SAP Platform and Technology
    • All SAP Platform and Technology
    • SAP Business Technology Platform
    • SAP Cloud
    • SAP Cloud Connector
    • SAP Cloud Integration Platform
    • SAP Cloud Migration
    • SAP Cloud Platform
    • SAP Cloud Providers
    • SAP Cloud Strategy
    • SAP Digital Signature
    • SAP Container Platform
    • SAP HANA Enterprise Cloud
    • SAP Digital Asset Management
    • SAP Smart Forms
    • SAP HEC
    • SAP Digital Integration Hub
    • SAP Hyperscalers
    • SAP Infrastructure
    • SAP Messaging
  • SAP Quality and Testing
    • All SAP Quality and Testing
    • SAP Code Inspector
    • SAP Performance Testing
    • SAP QA
    • SAP Quality Management
    • SAP Software Testing
    • SAP Testing & Automation Tools
  • SAP Security
    • All SAP Security
    • SAP CyberSecurity
    • SAP Data Security
    • SAP Disaster Recovery
    • SAP Enterprise Threat Detection
    • SAP Identity Management
    • SAP Vulnerability Analysis
  • SAP Spend Management
    • All SAP Spend Management
    • SAP Ariba Supplier Network
    • SAP Concur
    • SAP Contract Management
    • SAP Procure to Pay
    • SAP Procurement
    • SAP Spend Analysis
    • SAP SRM
  • SAP Supply Chain Management
    • All SAP Supply Chain Management
    • SAP APO
    • SAP Asset Management
    • SAP Business Network
    • SAP Digital Manufacturing Cloud
    • SAP Digital Twin
    • SAP EWM
    • SAP IBP
    • SAP Inventory Management
    • SAP Label Printing
    • SAP Logistics
    • SAP Manufacturing
    • SAP Manufacturing Automation
    • SAP MES
    • SAP MII
    • SAP MM
    • SAP MRO
    • SAP MRP
    • SAP Order Management
    • SAP Plant Maintenance
    • SAP PLM
    • SAP Production Planning
    • SAP S&OP
    • SAP SD
    • SAP SPM
    • SAP Supply Chain Planning
    • SAP Track and Trace
    • SAP Transportation Management
  • SAP System Administration
    • All SAP System Administration
    • SAP High Availability
    • SAP Administration
    • SAP Systems Administration
    • SAP Application Maintenance
    • SAP Basis Administration
    • SAP IT Automation
    • SAP Operating Systems
    • SAP Provisioning
    • SAP Service Continuity
    • SAP Solution Manager
    • SAP Workloads
Regions

Regions

Close
  • Americas
  • APAC
  • EMEA
Industries

Industries

Close
  • Cross Industry
  • Aerospace and Defense
  • Agribusiness
  • Automotive
  • Building and Construction
  • Chemicals
  • Consumer Products
  • Education
  • Fashion and Apparel
  • Financial Services
  • Food and Beverage
  • Healthcare
  • Hospitality
  • Industrial Manufacturing
  • Media and Entertainment
  • Metals and Mining
  • Mill Products
  • Oil Gas and Energy
  • Passenger Travel and Leisure
  • Professional Services
  • Public Sector
  • Retail and eCommerce
  • Technology
  • Telecommunications
  • Transportation and Logistics
  • Utilities
  • Wholesale Distribution
  • Expert Network
  • Vendor Directory
  • Research Reports
  • Webinars
  • Podcasts
  • Events
  • Log In
  • Become an Insider
Consider using SAP's Computer-Aided Test Tool (CATT) when you are implementing a new system or upgrading. The author uses the example of the order-to-cash process to demonstrate its capabilities.

Key Concept

SAP's Computer-Aided Test Tool (CATT) helps you test R/3 transactions using test cases. You record a transaction, set parameters for the field values, create a variant for the set of parameters, and execute the test case to verify the results. eCATT is an extended CATT that allows you to test business processes across multiple systems, such as R/3, APO, CRM, and BW. Although the Computer-Aided Test Tool (CATT) has been part of standard SAP since Release 3.0, many companies do not fully utilize it. This might be due to several misconceptions — that you need strong technical skills to use it, that CATT cannot verify test results, or that testing in a production environment may cause data issues. None of these are true. I'm going to demonstrate how to use CATT to test end-to-end processes, which is essential when you are implementing a new system or upgrading an existing one. I'll also show how to pass the results of one test case to another using import parameters, export parameters, and local variables. The SAP help documentation does not elaborately cover testing such end-to-end processes. This may be another reason that CATT is not used extensively. My example will be the testing of one of the most common end-to-end processes — order-to-cash. You test four individual transactions — create sales order, create delivery, create an invoice, and receive cash — and then link them together. You could also use CATT for other processes such as purchase-to-pay, which consists of create purchase order, create goods receipt, post invoice receipt, and post payment. Both of these end-to-end processes are depicted in Figure 1.
Figure 1
Examples of end-to-end processes consisting of individual transactions
 

Business Case

Let's start with the end-to-end process of order-to-cash. As shown in Figure 1, it may consist of four SAP transactions: VA01 (create sales order), VL01 (create delivery), VF01 (create invoice), and F-28 (receive cash). Usually, you would create four different test cases to test these four R/3 transactions. To test the end- to-end process, you need to create one "parent" test case, which in turn calls these four test cases. To accomplish this, you need to pass the results of one test case to the subsequent test case. For example, for the create delivery transaction, you pass the sales order number created in the previous create sales order transaction. Properly setting up the individual transaction test cases with import and export parameters is the crux of the solution. Using local variables, you can pass the values between individual test cases, thus creating a flow of test transactions. If you need more information on parameters, see the sidebar, "Pass Values to Fields via Parameters."

Business Solution

Let's look at the first two transactions, create sales order and create delivery. I'll create a parent test case in which the value of the sales order number from the first test case is passed on to the subsequent test case. Once you understand the basics of linking two transactions, you can extend the logic to other transactions and create a test case for any end-to-end process. The solution consists of three steps:
Step 1. Create a test case for creating a sales order Step 2. Create a test case for creating a delivery Step 3. Create an end-to-end test case
Step 1. Create a test case for creating a sales order. Use transaction code SCAT to create a test case Z_FIAR_CREATE_SORDER. Use the record transaction icon to record transaction VA01. Follow the R/3 screens and enter appropriate values. When you save the sales order transaction, stop the recording. The system then generates the recording and a basic test case is created (Figure 2).
Figure 2
Basic test case for VA01 with the recording
  Double-click on the rows to review the fields (Figure 3). Note that the field values are the same ones you entered during the recording.
Figure 3
Field contents for the screen’s fields
  Instead of working with hard-coded values of fields (e.g., hard-coded sales order type OR), you should assign parameters to make the values flexible. To assign a parameter for the sales order type, replace the value of OR with &AUART. Using this method you can assign the name yourself. Alternatively, you can double-click on the field, as shown in Figure 4. The system usually uses technical name of the field and prefixes it with "&" to make it a parameter.
Figure 4
Assign a parameter to an order type
  Because the user enters the order type field as an input, the system automatically makes this parameter (&AUART) an import parameter as shown in Figure 5.
Figure 5
Import parameter for sales order type
  Similarly, assign parameters to all other input values for all the screens of the recording. At this stage, the transaction recording includes the import parameters. When the sales order is saved, the system generates the sales order number. Usually, the system displays a message, StandardOrder 1000123 has been saved, where StandardOrder is the description of order type and 1000123 is the order number. This sales order number (second system message variable — M02) needs to be saved in an export parameter (&E_SO, where "E" represents the export parameter for easy identification).

Note M01, M02, M03, and M04 represent the system message variables. You use message variables to read the variable contents of system messages. System messages contain variables to, for example, display the order number generated. System messages contain up to four variables, so there are four message variables in test cases.

Once the CATT test case has its parameters, it is ready to be tested. It is a good idea to document the test case and include comments for easy reference, as shown in Figure 6.
Tip! It is a good practice to prefix export parameters with "E" and local variables with "L."
Figure 6
Test case for VA01 (create sales order)
  Step 2. Create a test case for creating a delivery. Create a test case with transaction VL01 and parameterize the field's values as shown in Figure 7. The process is similar to the process for creating a test case for create sales order.
Figure 7
Assign import parameters for VL01 recording
  When the delivery document is saved, the system generates the delivery document number. Store this delivery number in an export parameter &E_DLVY and the test case will look like what you see in Figure 8.
Figure 8
Test case for VL01 (create delivery)
  Step 3. Create an end-to-end test case. Now, you will create a third test case, a parent test case, which calls these two test cases for two transactions. Note that you must save the sales order number generated in the first test case and pass the value to the second test case. I will use the local variable &L_SO (with the letter "L" representing the local variable for easy identification) to temporarily store and pass the value. Use transaction SCAT to create a referenced test case Z_FIAR_SORDER_DELIVERY and refer to the two test cases — Z_FIAR_CREATE_SORDER and Z_FIAR_CREATE_DELIVERY (Figure 9).
Figure 9
Test case, which calls two test cases
  Double-click on row 1 and assign the export parameter &E_SO to local variable &L_SO (Figure 10).
Figure 10
Export parameter is stored as a local variable
  Now, the sales order number generated in first test case is stored in local variable &L_SO. The second test case has an import parameter &VBELN_VLA for the sales order number. Before you call the second test case, assign the value of the local variable to the import parameter. Document the test case and the test case will look like what you see in Figure 11. This test case now can test the end-to-end process of order-to-delivery.
Figure 11
Referenced test case for testing end-to-end order-to-delivery process
  When you execute the test case Z_FIAR_SORDER_DELIVERY, it first calls the test case Z_FIAR_CREATE_SORDER. The system generates the sales order number and assigns it to the export parameter &E_SO, which in turn is stored in local variable &L_SO. Within the main test case, this local variable is assigned to import parameter &VBELN_VLA (SETVAR &VBELN_VLA = &L_SO). The system calls the second test case Z_FIAR_CREATE_DELIVERY for the specific sales order generated in the previous test case. An overview of the flow is shown in Figure 12. Extending the basic concept explained here, you can include test cases such as create invoice and receive cash to test the whole order-to-cash process.
Figure 12
Overview of referenced test case to test an end-to-end process
 
Tip! Starting with Release 4.6A, CATT introduced a feature to automatically link the export parameter of one test to the import parameter of a subsequent test. However, even if you are on an earlier release, you can still use the existing CATT features to test an end-to-end process.
Note Mitresh Kundalia will provide more tips on using CATT at the Financials 2005 conference scheduled for March 14-16 in Orlando, Florida. He also will speak on a number of other topics, including the SAP Sales Information System (SIS), the Legacy System Migration Workbench (LSMW), the CO-PA ledger, and data management. For more information about the conference, go to www.sapfinancials2005.com.
Follow these best practices to design test cases to maximize the benefits of CATT.
  • Use parameters and variables to make CATT test cases flexible Instead of hard-coding and using default values, parameterize the test cases to make these flexible. Similarly, instead of using fixed and hard-coded dates, use system variables like &JHR (year), &DAT (date).
  • Use variants to make test cases manageable Using variants with different sets of parameter values can also give more flexibility to the test cases. For example, you can use different sets of variants to test different scenarios for the same business transaction.
  • CATT test cases should be reusable Try to design test cases so that the test cases can be reused in other test scenarios. For example, the create customer transaction is used in FI as a part of a master data test. The same test case can be used in SD as a part of an order-to-cash scenario test.
  • Test cases should verify the test results A good test case also verifies whether the test case was successful. Using various check functions, test cases should validate and verify the results of a business transaction.
  • Document test cases A good test case not only tests a transaction. It is well documented for easy reference and modifications, if required. Documenting the test case helps in maintaining the test cases for full use.
Pass Values to Fields via Parameters Instead of working with hard-coded values on screen fields, parameters let you pass values to fields and make the test case flexible. Variables are mainly of three types — import parameters, export parameters, and local variables.
  • Import parameters: You pass values to your test case by import parameters. Typically, import parameters have default values that are used if no other value is passed during the test.
  • Export parameters: The results of the test case (e.g., sales order number 1000123 created) are passed to the export parameters.
  • Local variables: Local variables allow you to store and pass values. Local variables are especially useful for passing values between export and import parameters of referenced test cases.
Usually, variants are used to enter the values for import parameters. Variants are also used to collect data into a record format so that multiple records can be passed to a test case at runtime.
 

Mitresh Kundalia

Mitresh Kundalia heads the SAP practice at Quality Systems & Software (www.QSandS.com), a consulting firm specializing in SAP S/4HANA, SAP General Ledger, and complex System Landscape Optimization (SLO)-type reorganizations. Mitresh is widely acknowledged as a leading SAP expert, with multiple publications and an SAP-PRESS book to his credit. He has published more than 50 peer-reviewed articles and white papers, and he has given presentations at various SAP conferences and events. Mitresh is the chief solutions architect of General Ledger Migration Optimizer (GLMO), a leading product to accelerate and jump-start the SAP S/4HANA and SAP General Ledger initiatives; SAP Data Reorganization Optimizer (SDRO), an SLO-type product for managing complex system landscape reorganizations; and Group Currency Activation and Conversion (GCAC), a product suite to manage introduction of parallel currencies and conversion of data in a live SAP system. You may contact the author at Mitresh@QSandS.com.
Use CATT to Test Your End-to-End Business Processes

Share this Article

  • Articles
  • Premium

Use CATT to Test Your End-to-End Business Processes

Reading time: 9 mins

Meet the Experts

  • Mitresh Kundalia

    Principal Consultant, Quality Systems & Software

    Expert since 2019

Consider using SAP’s Computer-Aided Test Tool (CATT) when you are implementing a new system or upgrading. The author uses the example of the order-to-cash process to demonstrate its capabilities.

Key Concept

SAP’s Computer-Aided Test Tool (CATT) helps you test R/3 transactions using test cases. You record a transaction, set parameters for the field values, create a variant for the set of parameters, and execute the test case to verify the results. eCATT is an extended CATT that allows you to test business processes across multiple systems, such as R/3, APO, CRM, and BW.

Membership Required

You must be a member to access this content.

Explore related questions

what is this?

View Membership Levels

Already a member? Log in here

More Resources

    Beyond Data Center Monitoring

    Reading time: 5 mins

    • Premium

    Easily Track 401(k) Loans in R/3

    Reading time: 17 mins

    • SAP Global Tax Management

    Key Technology Investments to Facilitate Indirect Tax: An Expert Interview with Avalara

    Reading time: 4 mins

    • Premium

    Automate the Loading of Currency Exchange Rates to BPC, SAP NetWeaver Version

    Reading time: 13 mins

Become a Member

Unlimited access to thousands of resources for SAP-specific expertise that can only be found here.

Sign Up

Become a Partner

Access exclusive SAP insights, expert marketing strategies, and high-value services including research reports, webinars, and buyers' guides, all designed to boost your campaign ROI by up to 50% within the SAP ecosystem.

Sign Up

Upcoming Events

  1. Mastering SAP Connect – Gold Coast 2025

     

    June 05 - 06, 2025

     

    Gold Coast, QLD

     

    Australia

     
    Learn More
    View Event

Sign Up for the SAPInsider Weekly

Always have access to the latest insights with articles, Q&As, whitepapers, webinars, and podcasts. Gain the inside edge. The SAPinsider Weekly helps you stay SAP savvy. Access exclusive bonus materials, discounts, and more.

Get the Newsletter
SAPinsider

SAPinsider is the largest and fastest-growing SAP membership group worldwide, with more than 1.2 million members across 205 countries. It provides SAP professionals with invaluable information, strategic guidance, and road-tested advice, through events, magazine articles, blogs, podcasts, interactive Q&As, benchmark reports and webinars. SAPinsider is committed to delivering the latest and most useful content to help SAP users maximize their investment and leading the global discussion on optimizing technology.

Company

  • About SAPinsider
  • Experts
  • Careers
  • SAPinsider Leadership Team
  • Contact Us

Contribute

  • Meet our Experts
  • Join the Expert Network
  • SAPinsider Survey Hub

Work With Us

  • Partner with us
  • Research Sponsorship
  • 2025 Research Agenda
  • Event Sponsorship

Sign Up for the SAPInsider Weekly

Always have access to the latest insights with articles, Q&As, whitepapers, webinars, podcasts, exclusive bonus materials, discounts and more.

Get the Newsletter
Wellesley Information Services | PO Box 982 Hampstead, NH 03841 |

Copyright © 2025 Wellesley Information Services. All rights reserved.

Privacy Policy | Terms and Conditions

Your request has been successfully sent

This website uses cookies. If you continue to use the site you consent to our use of cookies in accordance with our Cookie Policy.ACCEPT Read More

Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT