Show TOC

 OO TransactionsLocate this document in the navigation structure

Use

In an OO transaction, you can link a transaction code to a method of a class in ABAP Objects.

Procedure

To create an OO transaction, use transaction SE93 (Transaction Maintenance) or the Object Navigator.

  1. In the Object Navigator, choose Workbench → Edit Object.

    The Object Selection dialog screen appears.

  2. Choose the tab More and enter the name of the transaction you want to create in the Transaction field.
  3. Choose  with the quick info text Create.

    The Create Transaction dialog screen appears.

  4. On the dialog screen, enter the transaction code (up to 20 characters) and a meaningful description of the transaction in the Short Text field.
  5. Choose the option Method of a class (OO  transaction).
  6. Choose Continue.

    The Create OO Transaction screen appears.

  7. Select the OO transaction model field to link an OO transaction to the Transaction Service of the ABAP - Object Services .
    Note

    If you remove this selection, you can link the transaction code to any method of a global or local class of a program. When you call up a transaction linked to an instance method, the system automatically generates an instance of the class in its own internal session (see the example under OO Transactions ).

  8. To protect the dialog transaction against unauthorized use, enter the name of an authorization object in the corresponding field. To enter values for the fields of the authorization object, choose Values. The object is executed with these values when you enter the code.
    Note

    For more information about authorizations in the SAP system, see The SAP Authorization Concept .

  9. Usually the settings in the Classification group box are set by default.
    Note

    Professional User Transactions are the standard transactions executed in the SAP system. An Easy Web Transaction is an ITS-based transaction, which can be executed only in the SAP GUI for HTML. You need to refer to an ITS service in order to use it.

    The SAP GUI settings do not affect the transaction itself; they only inform the user what software is needed to start the transaction: SAP GUI for Windows, SAP GUI for Java or only the browser (SAP GUI for HTML).