SAP ABAP Class CL_DD_DDL_VISITOR (Visitor Methodes for DDL Parsing)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-DIC (Application Component) ABAP Dictionary
⤷
SDDL (Package) DDL-Specific Dictionary Functions
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_QLAST_VISITOR | Visitor | 20130204 |
Properties
| Class | CL_DD_DDL_VISITOR | |
| Short Description | Visitor Methodes for DDL Parsing | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SDDL | DDL-Specific Dictionary Functions |
| Created | 20130204 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_QLAST_VISITOR | Visitor | 20130204 |
Friends
Class CL_DD_DDL_VISITOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | TY_T_BASEOBJECT | Base Objects with Type of Occurrence | 20130204 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | DDLNAME | Name of a DDL Source | 20130613 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | IF_QLAST_VISITOR=>CLASS2METHOD_TABLE | Visitor Mapping | 20130204 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_true: If an ON condition is not set to initial value | 20130814 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Visitor Constructor | 20130204 | |
| 2 | Instance method | Private | Method | Determines base objects that are target of an association | 20130613 | |
| 3 | Instance method | Private | Method | Determines a base object from the select statement | 20130204 | |
| 4 | Instance method | Private | Method | Determines a base object from the From clause | 20130613 | |
| 5 | Instance method | Public | Method | Returns all base objects of a select statement | 20130204 | |
| 6 | Instance method | Public | Method | Sets the DDL name | 20130613 | |
| 7 | Instance method | Public | Method | Information whether ON conditions of all assoc. are initial | 20130814 |
Events
Class CL_DD_DDL_VISITOR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_BASEOBJECT | Public | See coding | Base Object Information | 20130204 | begin of ty_s_baseobject,
objname type objectname,
objtype type tabtype, "Ntab value for table or view
srcposition(1),
ddlname type ddlname,
end of ty_s_baseobject
|
|
| 2 | TY_T_BASEOBJECT | Public | See coding | Table of Base Object Information | 20130204 | ty_t_baseobject type table of ty_s_baseobject
with empty key
|
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_DD_DDL_VISITOR has no parameter.
Method CONSTRUCTOR on class CL_DD_DDL_VISITOR has no exception.
Method EXTRACT_ASS_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT | Call by reference | Object reference (TYPE REF TO) | OBJECT | Objekt der AST Klasse | 20130613 |
Method EXTRACT_ASS_OBJECTS on class CL_DD_DDL_VISITOR has no exception.
Method EXTRACT_BASEOBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT | Call by reference | Object reference (TYPE REF TO) | OBJECT | Objekt der AST Klasse | 20130204 |
Method EXTRACT_BASEOBJECT on class CL_DD_DDL_VISITOR has no exception.
Method EXTRACT_FROM_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT | Call by reference | Object reference (TYPE REF TO) | OBJECT | Objekt der AST Klasse | 20130613 |
Method EXTRACT_FROM_OBJECTS on class CL_DD_DDL_VISITOR has no exception.
Method GET_BASEOBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BASEOBJECTS | Value transfer | Type reference (TYPE) | TY_T_BASEOBJECT | Tabelle über Basisobjekt Informationen | 20130204 |
Method GET_BASEOBJECTS on class CL_DD_DDL_VISITOR has no exception.
Method SET_DDLNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DDLNAME | Call by reference | Type reference (TYPE) | DDLNAME | Name einer Ddl Source | 20130613 |
Method SET_DDLNAME on class CL_DD_DDL_VISITOR has no exception.
Method VALID_ASS_COND_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_true: Mindestens eine valide ON Bedingung existiert | 20130814 |
Method VALID_ASS_COND_EXISTS on class CL_DD_DDL_VISITOR has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |