SAP ABAP Class CL_DD_DDL_VIEW_DEF (Describes a DDL view)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-DIC (Application Component) ABAP Dictionary
     SDDL (Package) DDL-Specific Dictionary Functions
Properties
Class CL_DD_DDL_VIEW_DEF  
Short Description Describes a DDL view    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SDDL   DDL-Specific Dictionary Functions 
Created 20130225   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IF_DD_DDL_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_DD_DDL_VIEW_DEF has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_DD_DDL_HANDLER 20130225 DDL Handler Class
2 CL_DD_DDL_OBJ 20130524 Dictionary object generated from DDL
3 CL_DD_DDL_VIEW 20130524 DDL View
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CLIDEP Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_true: client-specific 20130528
2 CURR_SELECT_NR Instance attribute Private Type reference (TYPE) TY_SELECT_NR 0 Current Number of Select 20130226
3 DD25V_EXT_WA_L Instance attribute Private Type reference (TYPE) IF_DD_DDL_TYPES=>TY_S_DD25V_EXT 20130611
4 DD26V_EXT_TAB_L Instance attribute Private Type reference (TYPE) IF_DD_DDL_TYPES=>TY_T_DD26V_EXT 20130325
5 DD27P_TAB_L Instance attribute Private Type reference (TYPE) DD27PTAB 20130325
6 DD28V_TAB_L Instance attribute Private Type reference (TYPE) DD28VTAB 20130325
7 DDLNAME_L Instance attribute Private Type reference (TYPE) DDLNAME Name of DDL Source 20130225
8 SELDEF Instance attribute Private Type reference (TYPE) TY_T_SELECTINFO 20130325
9 SQLVIEW_L Instance attribute Private Type reference (TYPE) VIEWNAME View Name 20130225
10 STMT Instance attribute Private Type reference (TYPE) STRING create statement 20130225
11 VIEWENTITY Instance attribute Private Type reference (TYPE) DDSTRUCOBJNAME View Entity 20130225
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20130524
2 EX_SELECT_WITH_ASTERISK Instance method Private Method Return Selection Information for Select * 20130904
3 EX_STDFUNC_IN_SELECTLIST Instance method Private Method Information on a Standard Function in the Selection List 20130502
4 GET_CLIENT_DEPENDENCY Instance method Private Method Returns client dependency 20130528
5 GET_CURRENT_SELECT Instance method Private Method Returns select information with distinct 20130903
6 GET_CURR_SELECT_NR Instance method Private Method Returns index of current selection 20130903
7 GET_SELECT Instance method Private Method Returns all selection lists (also through Union) 20130502
8 GET_SELECTLISTS Instance method Private Method Returns all selection lists (also through Union) 20130228
9 GET_SELECTS_WITH_ASTERISK Instance method Private Method Return Selection Information for Select * 20130402
10 GET_SELECTS_WITH_DISTINCT Instance method Private Method Returns select information with distinct 20130225
11 GET_SELECTS_WITH_GROUP_BY Instance method Private Method Returns select information with distinct 20130911
12 SET_ASTERISK_INFO Instance method Private Method Selection List 20130402
13 SET_CLIENT_DEPENDENCY Instance method Private Method Sets the client dependency 20130528
14 SET_COL_FROM_EXPRESSION Instance method Private Method Stores a column from an expression 20130828
15 SET_EXTENSION_INFO Instance method Private Method Selection List 20130403
16 SET_GROUP_BY_ELEMENT Instance method Private Method Group by 20130225
17 SET_HAVING_ELEMENT Instance method Private Method 'Having' Clause 20130226
18 SET_NAMES Instance method Private Method Set Names of Involved Objects 20130225
19 SET_ORDER_BY_ELEMENT Instance method Private Method Group by 20130301
20 SET_SELECTLIST_ELEMENT Instance method Private Method Selection List 20130225
21 SET_SELINFO_PROPERTIES Instance method Private Method Set Further Properties of a Select 20130226
22 SET_STATEMENT Instance method Private Method Sets the statement 20130226
23 SET_VIEW_CORE_INFO Instance method Private Method View Core Information 20130225
24 START_CURR_SELECT Instance method Private Method Initializes a select definition and sets its number 20130225
Events
Class CL_DD_DDL_VIEW_DEF has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_SELECT_NR Private Type reference (TYPE) I Number of Select in View 20130225
2 TY_S_SELECTINFO Private See coding Information on Select 20130225 begin of ty_s_selectinfo, select_nr type ty_select_nr, asterisk type abap_bool, "select * extension type abap_bool, "&extension.* or $extension. distinct type abap_bool, "select distinct union type string, "UNION or UNION_ALL where_cond_ex type abap_bool, "where condition exists? group_by_ex type abap_bool, "group by exists? having_ex type abap_bool, "having exists? selectlist type ty_t_selectlist, "Columns in selectlist expressions e.g., case, predefined functions, arithmetic expr. "which are relevant for group by columns_in_expr type ty_t_expr_cols_for_group_by, group_by type ty_t_group_by, having type ty_t_having, order_by type ty_t_order_by, end of ty_s_selectinfo
3 TY_T_EXPR_COLS_FOR_GROUP_BY Private See coding Columns in expressions that are relevant for Group By 20130911 ty_t_expr_cols_for_group_by type table of ddelementinfo with empty key
4 TY_T_GROUP_BY Private See coding group by Information 20130225 ty_t_group_by type table of ddelementinfo with empty key
5 TY_T_HAVING Private Type reference (TYPE) IF_DD_DDL_TYPES=>TY_T_DD28V_EXT having Information 20130225
6 TY_T_ORDER_BY Private See coding 20130301 ty_t_order_by type table of ddelementinfo with empty key
7 TY_T_SELECTINFO Private See coding 20130225 ty_t_selectinfo type table of ty_s_selectinfo with empty key
8 TY_T_SELECTLIST Private See coding Selection List 20130225 ty_t_selectlist type table of ddelementinfo with empty key
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_DD_DDL_VIEW_DEF has no parameter.
Method CLASS_CONSTRUCTOR on class CL_DD_DDL_VIEW_DEF has no exception.

Method EX_SELECT_WITH_ASTERISK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning WITH_ASTERISK Value transfer Type reference (TYPE) ABAP_BOOL ABAP_true: select * gefunden 20130904

Method EX_SELECT_WITH_ASTERISK on class CL_DD_DDL_VIEW_DEF has no exception.

Method EX_STDFUNC_IN_SELECTLIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EXISTS Value transfer Type reference (TYPE) ABAP_BOOL ABAP_true: Stdfunktion existiert 20130502

Method EX_STDFUNC_IN_SELECTLIST on class CL_DD_DDL_VIEW_DEF has no exception.

Method GET_CLIENT_DEPENDENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_CLI_DEP Value transfer Type reference (TYPE) ABAP_BOOL ABAP_true: Mandanten-abhängig 20130528

Method GET_CLIENT_DEPENDENCY on class CL_DD_DDL_VIEW_DEF has no exception.

Method GET_CURRENT_SELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SELECTINFO Value transfer Type reference (TYPE) TY_S_SELECTINFO Ausgewählte Select Information 20130903

Method GET_CURRENT_SELECT on class CL_DD_DDL_VIEW_DEF has no exception.

Method GET_CURR_SELECT_NR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning NR Value transfer Type reference (TYPE) SYTABIX Nummer des aktuell bearbeiteten Selects 20130903

Method GET_CURR_SELECT_NR on class CL_DD_DDL_VIEW_DEF has no exception.

Method GET_SELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SELECTINFO Value transfer Type reference (TYPE) TY_S_SELECTINFO Selektionsliste 20130502
2 Importing SELECT_NR Call by reference Type reference (TYPE) I Nummer des Selects 20130502

Method GET_SELECT on class CL_DD_DDL_VIEW_DEF has no exception.

Method GET_SELECTLISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SELECTLISTS Value transfer Type reference (TYPE) TY_T_SELECTLIST Selektionsliste 20130228

Method GET_SELECTLISTS on class CL_DD_DDL_VIEW_DEF has no exception.

Method GET_SELECTS_WITH_ASTERISK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SELECTINFO Value transfer Type reference (TYPE) TY_T_SELECTINFO Ausgewählte Select Information mit distinct 20130402

Method GET_SELECTS_WITH_ASTERISK on class CL_DD_DDL_VIEW_DEF has no exception.

Method GET_SELECTS_WITH_DISTINCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SELECTINFO Value transfer Type reference (TYPE) TY_T_SELECTINFO Ausgewählte Select Information mit select * 20130226

Method GET_SELECTS_WITH_DISTINCT on class CL_DD_DDL_VIEW_DEF has no exception.

Method GET_SELECTS_WITH_GROUP_BY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SELECTINFO Value transfer Type reference (TYPE) TY_T_SELECTINFO Ausgewählte Select Information mit select * 20130911

Method GET_SELECTS_WITH_GROUP_BY on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_ASTERISK_INFO Signature

Method SET_ASTERISK_INFO on class CL_DD_DDL_VIEW_DEF has no parameter.
Method SET_ASTERISK_INFO on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_CLIENT_DEPENDENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CLI_DEP Call by reference Type reference (TYPE) STRING Mandanten-Abhängigkeit 20130528

Method SET_CLIENT_DEPENDENCY on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_COL_FROM_EXPRESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ALIAS Call by reference Type reference (TYPE) STRING Alias Basis-Tabelle oder Basis-View 20130911
2 Importing COLUMNNAME Call by reference Type reference (TYPE) STRING Spaltenname, string, falls Feld Alias übergeben wird 20130828
3 Importing TAB_OR_VIEWNAME Call by reference Type reference (TYPE) TABNAME Tabellenname oder Viewname Basisobjekt 20130911

Method SET_COL_FROM_EXPRESSION on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_EXTENSION_INFO Signature

Method SET_EXTENSION_INFO on class CL_DD_DDL_VIEW_DEF has no parameter.
Method SET_EXTENSION_INFO on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_GROUP_BY_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ELEMENT Call by reference Type reference (TYPE) DDELEMENTINFO Element in Selektionslist, group by, having 20130225

Method SET_GROUP_BY_ELEMENT on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_HAVING_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ELEMENT Call by reference Type reference (TYPE) IF_DD_DDL_TYPES=>TY_S_DD28V_EXT Element in Selektionslist, group by, having 20130226

Method SET_HAVING_ELEMENT on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_NAMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DDLNAME Call by reference Type reference (TYPE) DDLNAME Name Ddl Source 20130225
2 Importing SQLVIEW Call by reference Type reference (TYPE) VIEWNAME Viewname 20130225
3 Importing VIEWNAME Call by reference Type reference (TYPE) DDSTRUCOBJNAME Name View Entity 20130225

Method SET_NAMES on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_ORDER_BY_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ELEMENT Call by reference Type reference (TYPE) DDELEMENTINFO Element in Selektionslist, group by, having 20130301

Method SET_ORDER_BY_ELEMENT on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_SELECTLIST_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ELEMENT Call by reference Type reference (TYPE) DDELEMENTINFO Element in Selektionslist, group by, having 20130225

Method SET_SELECTLIST_ELEMENT on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_SELINFO_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DISTINCT Call by reference Type reference (TYPE) STRING Distinct 20130226
2 Importing UNION_EX Call by reference Type reference (TYPE) ABAP_BOOL Union oder Union all existiert 20130226
3 Importing UNION_S Call by reference Type reference (TYPE) STRING Union oder Union all 20130226

Method SET_SELINFO_PROPERTIES on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_STATEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing STMT_STRING Call by reference Type reference (TYPE) STRING Statement 20130226

Method SET_STATEMENT on class CL_DD_DDL_VIEW_DEF has no exception.

Method SET_VIEW_CORE_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DD25V_EXT_WA Call by reference Type reference (TYPE) IF_DD_DDL_TYPES=>TY_S_DD25V_EXT View Header, erweitert 20130611
2 Importing DD26V_EXT_TAB Call by reference Type reference (TYPE) IF_DD_DDL_TYPES=>TY_T_DD26V_EXT Basisobjekte, erweitert um Entityname 20130321
3 Importing DD27P_TAB Call by reference Type reference (TYPE) DD27PTAB Felder eines Views 20130225
4 Importing DD28V_TAB Call by reference Type reference (TYPE) DD28VTAB Join/Selektionsbedingungen 20130225

Method SET_VIEW_CORE_INFO on class CL_DD_DDL_VIEW_DEF has no exception.

Method START_CURR_SELECT Signature

Method START_CURR_SELECT on class CL_DD_DDL_VIEW_DEF has no parameter.
Method START_CURR_SELECT on class CL_DD_DDL_VIEW_DEF has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740