Ansicht
Dokumentation
ABAPCLASS-METHODS_FOR_DDL_OBJECT - CLASS-METHODS FOR DDL OBJECT
Fill RESBD Structure from EBP Component Structure Vendor Master (General Section)This documentation is copyright by SAP AG.
CLASS-METHODS, FOR DDL OBJECT
CLASS-METHODS meth FOR DDL OBJECT
$[OPTIONS CDS CLIENT REQUIRED$].
Additions
1. ... OPTIONS CDS CLIENT REQUIRED.
Effect
Methods defined with FOR DDL OBJECT are used to support DDL objects with AMDP. For example, the following DDL objects can be used with AMDP:
- L libraries
Database tables are not considered as DDL objects.
The methods have the following characteristics:
- Must be defined and implemented in an AMDP class.
- Must be static, i. e. only using CLASS-METHODS statements.
- Can be public, protected or private.
- Must not have any parameters and exceptions.
- Must not be defined in interfaces.
- Can be based on DDIC artifacts and are therefore be client-dependent. In this case, the addition using OPTIONS ... is required.
- Cannot be called as methods in ABAP.
- Cannot be redefined.
The method implementation must be included for the respective DDL object following the syntax outlined
in the topic METHOD, BY DATABASE ....
Addition 1
... OPTIONS CDS CLIENT REQUIRED.
Effect
Informs the caller of the method that another client is used. The methods using FOR DDL OBJECT can be based on DDIC artifacts and are therefore client-dependent. Currently, the addition is only required if a graph workspace is defined using client-dependent views.
The example - Graph processing demonstrates graph processing using a graph workspace and a graph procedure. In this context, a graph workspace is declared using the CLASS-METHODS statement with the addition FOR DDL OBJECT.
BAL Application Log Documentation Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 3938 Date: 20240328 Time: 182241 sap01-206 ( 69 ms )