What are SAP T-Codes?
Transaction codes, or T-codes in SAP, are short alphanumeric abbreviations designed to execute specific tasks or functions within the SAP system quickly. Using these codes, users can navigate through different SAP modules and perform other tasks, such as accessing applications, configurations, or reports directly from anywhere within the SAP software system.
SAP T-codes are the entry points into different modules or functional areas within the SAP system. Users can enter a T-code in the search or command field to quickly access a function or module instead of going through complex hierarchical menus.
Primary tasks are creating sales and purchase orders, managing inventories, maintaining HR data, and generating reports. Users’ authorization and maintenance, accessing SAP dictionaries and tables, running SQL queries, or controlling transactions can also be done using transaction codes.
When a user enters a T-code, the SAP system executes predefined functions, modules, or programs. The system verifies the user’s permissions and roles to ensure they have the authorization to perform that transaction. The transaction code processes data based on logic defined in the code behind it. Then, the SAP system presents a structured interface comprised of forms, reports, tables, or wizards to the user.
SAP T-Code List of 120 Common Codes in ECC
# | Transaction Code | Transaction Description | Application Component | Module |
---|---|---|---|---|
1 | F-53 | Outgoing Payments | FI-AP | Accounts Payable |
2 | FB70 | Enter Customer Invoice | FI-AR | Accounts Receivable |
3 | F-28 | Incoming Payments | FI-AR | Accounts Receivable |
4 | AW01N | Asset Explorer | FI-AA-AA | Basic Functions |
5 | FB60 | Enter Incoming Invoices | FI-GL-GL | Basic Functions |
6 | VF02 | Change Billing Document | SD-BIL | Billing |
7 | VF01 | Create Billing Document | SD-BIL | Billing |
8 | VF03 | Display Billing Document | SD-BIL | Billing |
9 | SE11 | ABAP Dictionary | BW | Business Warehouse |
10 | SE38 | ABAP Editor | BW | Business Warehouse |
11 | ST22 | ABAP Runtime Error | BW | Business Warehouse |
12 | RSA7 | BW Delta Queue Monitor | BW | Business Warehouse |
13 | RSD1 | Characteristic Maintenance | BW | Business Warehouse |
14 | RSRQ | Data Load Monitor for a Request | BW | Business Warehouse |
15 | RSA1 | Data Warehousing Workbench: Modeling | BW | Business Warehouse |
16 | RSD5 | Edit InfoObjects | BW | Business Warehouse |
17 | RSA3 | Extractor Checker | BW | Business Warehouse |
18 | RSA5 | Install Business Content | BW | Business Warehouse |
19 | RSA6 | Maintain DataSources | BW | Business Warehouse |
20 | RSD2 | Maintenance of Key Figures | BW | Business Warehouse |
21 | RSD4 | Maintenance of Time Characteristics | BW | Business Warehouse |
22 | RSD3 | Maintenance of Units | BW | Business Warehouse |
23 | SE80 | Object Navigator | BW | Business Warehouse |
24 | SM37 | Overview of Job Selection | BW | Business Warehouse |
25 | RSPC1 | Process Chain Display | BW | Business Warehouse |
26 | RSPC | Process Chain Maintenance | BW | Business Warehouse |
27 | SM59 | RFC Destinations (Display/Maintain) | BW | Business Warehouse |
28 | RSRT | Start of the Report Monitor | BW | Business Warehouse |
29 | KSB1 | Cost Centers: Actual Line Items | CO | Controlling |
30 | FS10N | Balance Display | FI | Financial Accounting |
31 | FB02 | Change Document | FI | Financial Accounting |
32 | F-03 | Clear G/L Account | FI | Financial Accounting |
33 | F-44 | Clear Vendor | FI | Financial Accounting |
34 | FK03 | Display Vendor (Accounting) | FI | Financial Accounting |
35 | FBZ0 | Display/Edit Payment Proposal | FI | Financial Accounting |
36 | F-02 | Enter G/L Account Posting | FI | Financial Accounting |
37 | F110 | Parameters for Automatic Payment | FI | Financial Accounting |
38 | FB01 | Post Document | FI | Financial Accounting |
39 | FB05 | Post with Clearing | FI | Financial Accounting |
40 | FB50 | Enter G/L Account Document | FI-GL | General Ledger |
41 | FB1S | Clear G/L Account | FI-GL | General Ledger Accounting |
42 | FBL5N | Customer Line Items | FI-GL-IS | Information System |
43 | FBL3N | G/L Account Line Items | FI-GL-IS | Information System |
44 | FBL1N | Vendor Line Items | FI-GL-IS | Information System |
45 | MM02 | Change Material | MM-IM | Inventory Management |
46 | MM01 | Create Material | MM-IM | Inventory Management |
47 | MM03 | Display Material | MM-IM | Inventory Management |
48 | MB03 | Displaying the Material Document | MM-IM | Inventory Management |
49 | MB1A | Goods Issue | MM-IM | Inventory Management |
50 | MB51 | Goods Movement | MM-IM | Inventory Management |
51 | MIGO | Goods Movement | MM-IM | Inventory Management |
52 | MB1C | Goods Receipt | MM-IM | Inventory Management |
53 | VL06 | Inbound Delivery Report | MM-IM | Inventory Management |
54 | MB25 | Reservation | MM-IM | Inventory Management |
55 | MB52 | Stock List | MM-IM | Inventory Management |
56 | MIRO | Enter Invoice | MM-IV | Invoice Verification |
57 | MIR4 | Invoice List | MM-IV | Invoice Verification |
58 | MMBE | Stock Overview | LO-MD-MM | Material Master |
59 | XK02 | Change Vendor | MM | Materials Management |
60 | XK01 | Create Vendor | MM | Materials Management |
61 | XK03 | Display Vendor | MM | Materials Management |
62 | MM60 | Material Cockpit | MM | Materials Management |
63 | MKVZ | Vendor Cockpit | MM | Materials Management |
64 | PP01 | Maintain HR Planning Data | HR-OM | Organizational Management |
65 | PA30 | Maintain HR Master Data | HR-PD | Personnel Management |
66 | PA40 | Personnel Actions | HR-PD | Personnel Management |
67 | IW32 | Change Maintenance Order | PM-WOC | Plant Maintenance – Work Orders |
68 | IW31 | Create Maintenance Order | PM-WOC | Plant Maintenance – Work Orders |
69 | COR2 | Change Process Order | PP | Production Planning |
70 | CO02 | Change Production Order | PP | Production Planning |
71 | CA02 | Change Routing | PP | Production Planning |
72 | COGI | Check COGI Records | PP | Production Planning |
73 | C223 | Check Production Versions | PP | Production Planning |
74 | COR1 | Create Process Order | PP | Production Planning |
75 | CO01 | Create Production Order | PP | Production Planning |
76 | CA01 | Create Routing | PP | Production Planning |
77 | COR3 | Display Process Order | PP | Production Planning |
78 | CO03 | Display Production Order | PP | Production Planning |
79 | CA03 | Display Routing | PP | Production Planning |
80 | MD04 | Display Stock | PP | Production Planning |
81 | CO15 | Enter Production Order Confirmation | PP | Production Planning |
82 | COOISPI | Process Order Information System | PP | Production Planning |
83 | COOIS | Production Order Information System | PP | Production Planning |
84 | CR05 | Resource | PP | Production Planning |
85 | ME22N | Change Purchase Order | MM-PUR | Purchasing |
86 | ME02 | Change Source List | MM-PUR | Purchasing |
87 | ME3N | Contract List | MM-PUR | Purchasing |
88 | ME21N | Create Purchase Order | MM-PUR | Purchasing |
89 | ME01 | Create Source List | MM-PUR | Purchasing |
90 | ME11 | Create Standard Info Record | MM-PUR | Purchasing |
91 | ME23N | Display Purchase Order | MM-PUR | Purchasing |
92 | ME03 | Display Source List | MM-PUR | Purchasing |
93 | ME1M | Info Record | MM-PUR | Purchasing |
94 | ME2N | Purchase Order List | MM-PUR | Purchasing |
95 | ME2L | Purchase Orders by Vendor | MM-PUR | Purchasing |
96 | ME5A | Purchase Requisition List | MM-PUR | Purchasing |
97 | ME80FN | Scheduling Agreement List | MM-PUR | Purchasing |
98 | ME0M | Source List | MM-PUR | Purchasing |
99 | QE02 | Change Characteristic Results | QM | Quality Management |
100 | QA02 | Change Inspection Lot | QM | Quality Management |
101 | QP02 | Change Inspection Plan | QM | Quality Management |
102 | QA01 | Create Inspection Lot | QM | Quality Management |
103 | QP01 | Create Inspection Plan | QM | Quality Management |
104 | QE03 | Display Characteristic Results | QM | Quality Management |
105 | QA03 | Display Inspection Lot | QM | Quality Management |
106 | QP03 | Display Inspection Plan | QM | Quality Management |
107 | QGA2 | Display Inspection Results | QM | Quality Management |
108 | QM11 | Notification Worklist | QM | Quality Management |
109 | QE01 | Record Characteristic Results | QM | Quality Management |
110 | QE51N | Results Recording Worklist | QM | Quality Management |
111 | QA32 | Worklist for Inspection Lots | QM | Quality Management |
112 | VA02 | Change Sales Order | SD-SLS | Sales |
113 | VA01 | Create Sales Order | SD-SLS | Sales |
114 | VA03 | Display Sales Order | SD-SLS | Sales |
115 | XD02 | Change Customer | SD | Sales and Distribution |
116 | XD01 | Create Customer | SD | Sales and Distribution |
117 | XD03 | Display Customer | SD | Sales and Distribution |
118 | VL02N | Change Outbound Delivery | SD-SHP | Sales and Distribution -Shipping |
119 | VL01N | Create Outbound Delivery | SD-SHP | Sales and Distribution -Shipping |
120 | VL03N | Display Outbound Delivery | SD-SHP | Sales and Distribution – Shipping |
What do Numbers Before Letters in an SAP T-Code Mean?
SAP T-codes are designed as structured naming conventions, which help users understand the purpose of these codes. Not all T-codes follow this numbering format, but many follow this pattern depending on the functions of different modules.
SAP T-codes follow the common numbering convention as follows:
Number | Meaning | Description | Examples |
---|---|---|---|
01 | Create | Creates new records, such as master data, invoices, or orders. | ME21N: Create Purchase Order. |
02 | Amend/Change | Modifies existing records. | ME22N: Change Purchase Order. |
03 | View/Display | View the transaction without modification. | ME23N: Display Purchase Order. |
Letter-based Conventions in SAP T-Codes by Function
Along with numbering conventions, SAP transaction codes follow letter-based conventions corresponding to different functions or modules. These prefixes help quickly understand the purpose of transactions. Below is a breakdown of some major SAP modules’ letter-based conventions for SAP transaction codes by each functions.
Financial Accounting
T-Code Starts with | Module | Use | Examples |
---|---|---|---|
F | FINANCIAL | General financial accounting. | F-28 T-code for incoming payments. |
FB | SHARED FINANCIAL TRANSACTIONS | Shared financial transactions in AP, AR, Assets, or GL. | FB50, FB60, or FB70 are T-codes for G/L, vendor, and customer invoice entries |
FK | FINANCIAL VENDOR MASTER | Create, change, or display vendor master data. | Examples are FK01, FK02, and FK03. |
FS | LEDGER ACCOUNTS | Maintenance of G/L master record, the | Example is FS00. |
Material Management
Below are letters used for purchasing, inventory, and invoice verification-related applications, along with examples.
T-Code Starts with | Module | Use | Examples |
---|---|---|---|
M | MATERIALS MANAGEMENT | Goods movement in general materials management | MIG0 |
MB | GOODS RECEIPT – INVENTORY MANAGEMENT | Goods issue, goods transfer posting, or goods receipt in Inventory Management | FMB1A, MB1B, and MB1C. |
ME | PURCHASING | Creating, changing, or displaying purchase orders. | ME21N, ME22N, ME23N |
ME1 | PURCHASE REQUISITION | Creation, modification, or displaying purchase requisition | ME51N, ME52N and ME53N |
ME2 | PURCHASE ORDER | Purchase order reports transactions | ME2L, ME2M and ME2N. |
MK | MATERIAL VENDOR MASTER | Used for creating, modifying, and displaying vendor master data. | MK01, MK02, and MK03 . |
MM | MATERIAL MASTER | Create, modify, and display material master | MM01, MM02 and MM03. |
MR | INVOICE VERIFICATION | Canceling an invoice document or GR/IR account maintenance. | MR8M and MR11. |
Sales and Distribution
Below are T-code letters for managing sales orders, billing, and deliveries.
T-Code Starts with | Module | Use | Examples |
---|---|---|---|
V | SALES AND DISTRIBUTION | Pricing and procedure configurations in sales and distribution. | V/08 |
VA | SALES ORDERS | Create, modify, and display sales orders. | VA01, VA02, and VA03. |
VF | BILLING | Create, modify, and display billing documents. | VF01, VF02, and VF03 are the prime examples. |
Master Data
These T-code letters represent customer and vendor master and are used across the modules.
T-Code Starts with | Module | Use | Examples |
---|---|---|---|
XD | CENTRAL CUSTOMER MASTER | Create, modify, and display central customer master data | XD01, XD02 and XD03 are prime examples |
XK | CENTRAL VENDOR MASTER | Create, manage, and display central vendor master data | XK01, XK02, and XK03 are examples of T-codes. |
Essential Steps for Testing SAP T-Codes
SAP systems manage critical enterprise-wide operations, so testing T-codes is essential. Due to their complexity and criticality, SAP systems require transaction codes to perform as expected and match businesses’ requirements.
Poorly tested or untested transaction codes can lead to security breaches or data inconsistencies. Therefore, the primary goal of T-code testing is to identify potential issues, such as security vulnerabilities, functional errors, or performance issues, before they impact daily business operations.
T-code testing ensures functional accuracy, response time, validation of processed data, prevention of unauthorized access, seamless integration within SAP modules, and user acceptance.
Below are some key areas and steps that are vital for T-code testing:
Functionality Testing
Execution of functionality testing requires checking if the transaction code performs the expected transaction by validating field-level inputs, required fields, and error handling. Then, compare actual system behavior with expected behavior.
Data Validation
Test T-codes with multiple data sets to validate the integrity and consistency of the data. Test with valid, invalid, or boundary test cases to see how the T-code handles the different inputs. Test how master data, e.g., vendors, customers, or materials, are processed.
Integration Testing
Integration testing verifies that T-codes smoothly work across other SAP modules and external systems. For example, it tests the flow of data across the Financial Accounting, Human Resources, Sales and Distribution, or Materials Management modules. This test also checks the validation of interface transactions with external applications like supplier portals or banking systems.
Performance Testing
This testing ensures that the T-code matches the performance benchmarks under different system loads by assessing the response time of transaction execution for normal load and peak load and running the tests for many users simultaneously. Performance tests also identify memory leaks, database locks, or insufficient ABAP programming, which impact large data sets and consume transaction execution time.
Security Testing
Security testing evaluates whether the T-codes follow SAP security best practices and prevent unauthorized access by verifying the authorization objects assigned to T-codes, testing with several user roles to execute critical transactions, and checking for conflicts for segregation of duties. These checks ensure that proper security restrictions are enforced.
User Acceptance Testing (UAT)
This is the final phase of testing, during which end users validate that T-code meets the usability and operational requirements. This requires end users to test scenarios such as real-world transactions, record the behavior, and gather and provide feedback on process effectiveness, error handling, and usability.
Regression Testing
This testing is conducted after code changes or system updates to check whether they introduce new issues or break existing functionality. After configuration changes, patches, or SAP system upgrades, the test cases are executed again. The latest results are compared with the test results that were previously conducted to identify any discrepancies. Regression testing can be automated with SAP test automation tools or any third-party automation tools.
Authorization Check Process
SAP systems provide extensive authorizations administration and roles for controlling access to data and use of T-codes to:
- Provide full support in the Segregation of Duties (SOD)
- Prevent errors, conflicts of interest, and fraud.
SAP uses a role-based access control (RBAC) model to assign different roles to users to grant access permissions. These roles contain authorization objects, which provide granular control for the permitted operations, such as creating, modifying, viewing, or deleting data. Roles, transaction codes, authorization objects, and their respective fields can be managed using PFCG (Profile Generator) in the SAP system.
These roles define the job responsibilities. For example:
- A buyer role should be granted access to purchase orders T-codes (ME21N, ME22N, or ME23N)
- The Financial Controller role should be granted access to financial and accounting T-codes such as (FBL3N or FB50) or payment processing roles T-code (F110).
None of these roles should have access to the operations granted to other roles, keeping the segregation of duties. Governance, Risk, and Compliance (GRC) solutions can detect expressive access violations.
To ensure access control is efficient and aligned with business needs, authorization roles could be customized further for a user’s job duty. To prevent conflicts, critical transactions should be monitored carefully. SAP GRC or any other tool providing similar functionality can be used to analyze and simulate SOD risks before assigning roles to end users.
How Pathlock can Facilitate SAP Testing
Pathlock is an industry-level GRC (Governance, Risk, and Compliance) solution for securing, monitoring, and automating SAP systems. Its code scanning module continuously monitors and tests custom ABAP code to identify security, vulnerabilities, and compliance issues and helps organizations maintain compliance.
Pathlock provides automation via pre-built test cases and script-based testing, reducing manual effort in regression testing, whether code is deployed or in development. This ensures that SAP updates, upgrades, or patches do not impact business processes.
The code scanning module increases the ability of the SAP ABAP Test Cockpit (SAP ATC) with more than 150 plus out-of-the-box rule sets. Pathlock provides Segregation of Duties and role-based access testing analysis by identifying conflicts in SAP roles before testing and generating compliance reports based on those analyses.
Key Takeaways
SAP Transaction codes provide end users quick access to different functions and modules within the SAP system, such as the Finance, Sales, and Purchase modules and their key functions.
- Each T-code is typically written in Advanced Business Application Programming (ABAP), a special programming language for SAP systems. It is linked to an SAP action that leads to programs, reports, or dialog boxes for different purposes, executing transactions and processing data based on predefined logic.
- Some roles contain authorization objects to ensure the segregation of duties and prevent unauthorized personnel from accessing sensitive transactions, such as payments or administrative tasks.
- SAP T-codes should be tested for effectiveness, e.g., functionality, data validation, integration, performance, security, and user acceptance. After system upgrades or patches, thorough regression testing should be followed.
- SAP T-codes use numbering (e.g., 01=Create, 02=Change, etc.) and letter convention (e.g., F=Financial, M=Material, etc.). Understanding those patterns is important to improving navigation and efficiency within SAP systems.
Frequently Asked Questions
You can type the transaction code SE16 in the command field, provide the table name TSTC, and press enter. This will open another dialog box where you can type the first letter or two letters with * asterisk, e.g., MM*, and you will get all the T-codes related to those letters.
Below are some common basic SAP T-codes:
ME21N – Create Purchase Order
FB50 – G/L Account Posting
VA01 – Create Sales Order
MIGO – Goods Movement
FBL1N – Vendor Line Items Display
SE80 – Object Navigator (for developers)
You can type the T-code SE93 in the command field in the SAP system and then type the relevant T-code you want to view. You can also search for the T-code with their short description or application component.
To see the list of all company codes, type T-code OBY6 in the command bar. This will show you all the company codes in your SAP system, including the hidden ones.
You can use the SE93 transaction code and find the T-code for which you want to see the objects, but there is only one object listed there, and sometimes, it doesn’t show any object listed for the T-code. You can use the SE16 T-code and type the table name “USOBT.” In the following dialog box, you can type any T-code and see the list of objects associated with it.
To see the associated roles, use the SE16 T-code and type the table name “AGR_TCODE ” in the “Extended Name” field.
Codes are short alphanumeric identifiers that can be used to access functions and modules quickly.
Advanced Business Application Programming (ABAP) is the program behind T-code. It is used to write the logic behind T-code’s action to execute a function or module.
Authorization checks ensure only authorized users can access a function or module, such as a financial, purchasing, or material module. T-codes are assigned authorization objects under their assigned role.
T-codes provide quick access to functions and modules, reducing the hassle an end user faces when manually navigating the system’s hierarchy and menus.
Yes, SAP T-codes are not limited only to financial or purchasing processes. They also include other business processes like Materials Management, Sales and distribution, Human Resource Management, and Warehouse management. These include procurement, inventory, receipts, delivery, billing, personal data management, and maintenance orders.