SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
SYSTEM-CALL - Method Administration for the ABAP Class Library
This statement is intended solely for
*** Internal use within SAP Basis Development ***
Even within SAP Basis, it may be used only in programs within the ABAP+GUI dvelopment groups.
Its use is subject to various restrictions, some of which may not be described in the documentation
. This documentation is intended for internal SAP use within the Basis development group ABAP+GUI.
Changes and further developments, which may be incompatible, can occur at any time without prior notice!
Variants:
1. SYSTEM-CALL CREATE CLASS c.
2. SYSTEM-CALL CREATE METHOD m OF CLASS c INCLUDE INTO incl.
3. SYSTEM-CALL QUERY CLASS c.
4. SYSTEM-CALL QUERY METHOD m OF CLASS c INCLUDE INTO incl.
5. SYSTEM-CALL DELETE CLASS c.
6. SYSTEM-CALL DELETE METHOD m OF CLASS c.
7. SYSTEM-CALL RENAME CLASS c NEW NAME FROM c2.
8. SYSTEM-CALL RENAME METHOD m OF CLASS c NEW NAME FROM m2.
9. SYSTEM-CALL QUERY METHOD INCLUDE FROM incl CLASS INTO c
METHOD INTO m.
Effect
Administers the method includes belonging to a class. Is an interface to table TMDIR. Can be called from the C environment using ab_MethodInclAdm().
SYSTEM-CALL CREATE CLASS c.
Effect
A basic entry is created for class c.
Return Value
SYSTEM-CALL CREATE METHOD m OF CLASS c INCLUDE INTO incl.
Addition:
Effect
Creates a method entry for method m in class c. The program name of the method include is returned in incl.
Return Value
... AS EXTENSION
Effect
If the optional addition AS EXTENSION is specified, the method is flagged as an enhancement method
( enhancement implementation element).
SYSTEM-CALL QUERY CLASS c.
Effect
The system checks whether there is a basic entry for class c.
Return Value
SYSTEM-CALL QUERY METHOD m OF CLASS c INCLUDE INTO incl.
Extras:
1. ... NO DBLOCK
2. ... NO EXTENSIONS
Effect
The system checks whether a method entry exists for method m from class
c. If it does, the program name of the related method include is returned in variable incl.
Return Value
... NO DBLOCK
Effect
If the optional addition NO DBLOCK is specified, the system does not set an Update lock on class c.
Effect
If the optional addition NO EXTENSIONS is specified, the call only sets sy-subrc to 0 if the method searched for is not flagged as an enhancement method
enhancement implementation element).
SYSTEM-CALL DELETE CLASS c.
Effect
Deletes the basic entry and all method entries for class c.
Return Value
SYSTEM-CALL DELETE METHOD m OF CLASS c
Effect
Deletes the method entry for method m in class c.
Return Value
SYSTEM-CALL RENAME CLASS c NEW NAME FROM c2.
Effect
Renames the basic entry and method entries for class c using the name c2.
Return Value
SYSTEM-CALL RENAME METHOD m OF CLASS c NEW NAME FROM m2.
Effect
Renames the method entry m in class c using the new name m2.
Return Value
SYSTEM-CALL QUERY METHOD INCLUDE FROM incl CLASS INTO c METHOD INTO m.
Addition:
Effect
The system checks whether or not a method entry exists for the method specified in the include name
incl. If so, the class name in c and the method name in m.
Return Value
Effect
If the optional addition NO EXTENSIONS is specified, the call only sets sy-subrc to 0 if the method searched for is not flagged as an enhancement method
( enhancement implementation element).
Non-Catchable Exceptions