Method Administration for the ABAP Class Builder

SYSTEM-CALL - Method Administration for the ABAP Class Builder

Note

*---------------------------------------------------------*
This statement is intended exculsively for

!!!! internal use within SAP Basis development !!!!

Even within SAP Basis, it may only be used in programs within the ABAP and GUI development groups.

Its use is subject to various restrictions that may not be documented. This documentation is intended merely as a guideline to SAP developers in the ABAP and GUI development groups.

SAP may make incompatible changes at any time without 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.

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().

Variant 2

SYSTEM-CALL CREATE METHOD m OF CLASS c INCLUDE INTO incl.

Effect

Creates a method entry for method m in class c. The program name of the method include is returned in incl.

SY-SUBRC = 4:

Entry for method m in class c already exists.

SY-SUBRC = 8:

Overflow. Unable to create any more method entries for class c.

Effect

The system checks whether there is a basic entry for class c.

Variant 4

SYSTEM-CALL QUERY METHOD m OF CLASS c INCLUDE INTO incl.

Effect

The system checks whether a method entry exists for method m of class c . If the entry exists, the program name of the method include is placed in variable incl.

SY-SUBRC = 4:

Entry for method m of class c does not exist.

Effect

Deletes the basic entry and all method entries for class c.

Effect

Deletes the method entry for method m in class c.

Effect

Renames the basic entry and method entries for class c using the name c2.

Variant 8

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.

SY-SUBRC = 4:

Entry for method m2 in class c already exists.

SY-SUBRC = 8:

Entry for method m in class c does not exist.