ARTICLE
ABAP Objects, OO Transaction
This example demonstrates the linking of a transaction code with the
method of a local class.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
The program DEMO_OO_TRANSACTION is a subroutine pool that does
not contain any subroutines. Instead, the program contains the
definition of the local class demo_class , with which the
transaction code DEMO_OO_METHOD is linked. When the transaction
is called, the program is loaded, one instance of the class is created,
and the method is called.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved