Get Example source ABAP code based on a different SAP table
ABAP_OBJ - Methods Methods are declared using the statements
METHODS>> for instance methods
CLASS-METHODS>> for static methods These are only possible in the declaration part of classes and interfaces. Methods determine the behavior of a class. Instance methods> are declared by the statement METHODS>>, static methods> are declared by the statement CLASS-METHODS>>. The declaration defines the interface of a method. For special tasks there are different types of methods:
General instance methods> and static methods>
Functional instance methods> and static methods>
Instance constructors> and static constructors>
Event handlers> and static event handlers> The following methods are also available:
Test methods> of ABAP Unit, which can only be declared as instance methods.
AMDP> methods, which are implemented in a database-specific language and not in ABAP.