Transactions in SAP

What is Transactions in SAP?

The Transactions in SAP terminology is Execution of a program. The normal way of executing ABAP code in the SAP system is by entering a transaction code (for instance, SE51 is the code for the ABAP workbench). Transactions can be accessed via system-defined or user-specific, role-based menus. They can also be started by entering their transaction code (a mnemonic name of up to 20 characters) in the special command field, which is present in every SAP screen.

Transactions can also be invoked programmatically by means of the ABAP statements CALL TRANSACTION and LEAVE TO TRANSACTION. Transaction codes can also be linked to screen elements or menu entries. Selecting such an element will start the transaction.

The term “transaction” must not be misunderstood here: in the context just described, a transaction simply means calling and executing an ABAP program. In application programming, “transaction” often refers to an indivisible operation on data, which is either committed as a whole or undone (rolled back) as a whole. This concept exists in SAP but is there called a LUW (Logical Unit of Work). In the course of one transaction (program execution), there can be different LUWs.

sap transactions

Transactions in SAP and different kind of transactions

Dialog Transaction


These are the most common kind of transactions. The transaction code of a dialog transaction is linked to a Dynpro of an ABAP program. When the transaction is called, the respective program is loaded and the Dynpro is called. Therefore, a dialog transaction calls a Dynpro sequence rather than a program. Only during the execution of the Dynpro flow logic are the dialog modules of the ABAP program itself are called. The program flow can differ from execution to execution. You can even assign different dialog transaction codes to one program.

Parameter Transaction

In the definition of a parameter transaction code, a dialog transaction is linked with parameters. When you call a parameter transaction, the input fields of the initial Dynpro screen of the dialog transaction are filled with parameters. The display of the initial screen can be inhibited by specifying all mandatory input fields as parameters of the transaction.

Variant Transaction

In the definition of a variant transaction code, a dialog transaction is linked with a transaction variant. When a variant transaction is accessed, the dialog transaction is called and executed with the transaction variant. In transaction variants, you can assign default values to the input fields on several Dynpro screens in a transaction, change the attributes of screen elements, and hide entire screens. Transaction variants are maintained in transaction SHD0.

Report Transaction

A report transaction is the transaction code wrapping for starting the reporting process. The transaction code of a report transaction must be linked with the selection screen of an executable program. When you execute a report transaction, the runtime environment internally executes the ABAP statement SUBMIT—more to come on that.

OO Transaction

A new kind of transaction as of release 6.10. The transaction code of an OO transaction is linked with a method of a local or global class. When the transaction is called, the corresponding program is loaded, for instance methods an object of the class is generated and the method is executed.

Also See: What is ABAP Dictionary?

Online Training Tutorials

  • partner functionsWhat is Partner Functions in SAP SD?Partner functions is two-character identification key that describes the people and organization with whom you do the business, and who are therefore involved in transaction. Here is some […]
  • SAP certificationWhy You Should think about Pursuing SAP Certification?SAP Certification: Although there are many people out there currently debating the value of SAP certification, the truth remains that SAP certified individuals are actually highly demanded […]
  • SAP TrainingIntention and Ways for SAP Training as a Part of EducationForeground and Introduction SAP is the acronym for a German phrase “Systeme Andwendungen Produkte in der Datenverarbeitung” whose English transcription would be Systems Applications, […]
  • sap system monitoringSAP System Monitoring an OverviewSAP System Monitoring: We can imagine if you have a job to monitor the whole SAP system and also non SAP system? Okay, let’s say that you only have 3 system landscapes that would be very […]
  • Batch Management Configuration in SAP MMBatch Management Configuration in SAP MMBatch Management Configuration: This post explains a quick guide on how to use standard SAP Batch Determination for a material transfer.  For an internal goods movement we need SAP to pick […]
  • sap systemWhat is Client on SAP System?A client is organizational and legal entity in the SAP system. All the business management data is protected here because other clients can not access them. The main objective of the […]
  • sap r3 certificationSAP R/3 Certification ProgramFew credentials in the business world carry the value of SAP R/3 certification. Those who hold it have honed their skills through rigorous study or direct experience. They have […]
  • SAP Business One More than 70,000 Customers TrustSAP Business One More than 70,000 Customers TrustBy exceeding the 70,000 client milestone, SAP Business One has achieved a significant milestone. These figures alone demonstrate how well regarded and enterprise-ready SAP Business One is […]