SAP ABAP Class CL_SADL_VIEW_DB_GENERATOR (CL_SADL_VIEW_DB_GENERATOR Generates DB views based on Entity)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ESI-ESF-BSA (Application Component) Business Service Adaptation
     SADL_QUERY_VIEW (Package) View generation for SADL Query
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SADL_VIEW_DB DB view generator bases on entity views 20120707
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SADL_VIEW_DB_GENERATOR IF_SADL_VIEW_DB_GENERATOR DB view generator bases on entity 20120707
Properties
Class CL_SADL_VIEW_DB_GENERATOR  
Short Description CL_SADL_VIEW_DB_GENERATOR Generates DB views based on Entity    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SADL_QUERY_VIEW   View generation for SADL Query 
Created 20120707   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SADL_VIEW_DB_GENERATOR has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_SADL_VIEW_DB DB view generator bases on entity views 20120707
2 IF_SADL_VIEW_DB_GENERATOR IF_SADL_VIEW_DB_GENERATOR DB view generator bases on entity 20120707
Friends
# Friend Modeled only Created on Description
1 CL_SADL_AUNIT_FRIEND 20120718 Friend helper class for Unit Tests
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GS_DB_VIEW Static Attribute Protected Type reference (TYPE) IF_SADL_VIEW_DB_GENERATOR=>TY_VIEW_METADATA 20120707
2 GV_NO_OPTIMIZATION Static Attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20120707
3 MO_ENTITY_FACTORY Instance attribute Private Object reference (TYPE REF TO) IF_SADL_ENTITY_FACTORY 20120707
4 MS_ENTITY_VIEW Instance attribute Protected Type reference (TYPE) IF_SADL_VIEW_ENTITY_GENERATOR=>TY_VIEW_METADATA 20120707
5 MV_MANDT_ALIAS_COUNTER Instance attribute Private Type reference (TYPE) I 20120707
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20120707
2 _ADD_CLIENT_FIELDS Instance method Private Method 20120707
3 _CHECK_JOIN Instance method Protected Method 20121120
4 _GET_ELEMENT_DB_COLUMN_NAME Instance method Protected Method 20120707
5 _GET_ELEMENT_SEARCH_ALLOWED Instance method Protected Method 20130614
6 _GET_ENTITY_DB_INFO Instance method Protected Method 20120707
7 _GET_NEXT_MANDT_ALIAS Instance method Private Method 20120707
8 _GET_PRIMARY_KEY_COLUMN_NAMES Instance method Private Method 20120707
9 _MAP_CALCULATED_ELEMENTS Instance method Private Method 20120707
10 _MAP_ELEMENTS Instance method Private Method 20120707
11 _MAP_ENTITIES Instance method Private Method 20120707
12 _MAP_JOINS Instance method Private Method 20120707
13 _MAP_VIEW Instance method Protected Method 20120707
Events
Class CL_SADL_VIEW_DB_GENERATOR has no event.
Types
Class CL_SADL_VIEW_DB_GENERATOR has no local type.
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_SADL_VIEW_DB_GENERATOR has no parameter.
Method CONSTRUCTOR on class CL_SADL_VIEW_DB_GENERATOR has no exception.

Method _ADD_CLIENT_FIELDS Signature

Method _ADD_CLIENT_FIELDS on class CL_SADL_VIEW_DB_GENERATOR has no parameter.
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130125
2 CX_SADL_STATIC 20130111

Method _CHECK_JOIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SOURCE_ENTITY Call by reference Object reference (TYPE REF TO) IF_SADL_ENTITY 20121120
2 Importing IO_TARGET_ENTITY Call by reference Object reference (TYPE REF TO) IF_SADL_ENTITY 20121120
3 Importing IV_SOURCE_ELEMENT Call by reference Type reference (TYPE) STRING 20121120
4 Importing IV_TARGET_ELEMENT Call by reference Type reference (TYPE) STRING 20121120
5 Returning RV_JOIN_OK Value transfer Type reference (TYPE) ABAP_BOOL 20121120
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130125
2 CX_SADL_STATIC 20130111

Method _GET_ELEMENT_DB_COLUMN_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ENTITY Call by reference Object reference (TYPE REF TO) IF_SADL_ENTITY 20120707
2 Importing IV_ELEMENT Call by reference Type reference (TYPE) STRING 20120707
3 Returning RV_DB_COLUMN_NAME Value transfer Type reference (TYPE) STRING 20120707
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130125
2 CX_SADL_STATIC 20130111

Method _GET_ELEMENT_SEARCH_ALLOWED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ENTITY Call by reference Object reference (TYPE REF TO) IF_SADL_ENTITY 20130614
2 Importing IV_ELEMENT Call by reference Type reference (TYPE) STRING 20130614
3 Returning RV_SEARCH_RELEVANT Value transfer Type reference (TYPE) ABAP_BOOL 20130614
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130614
2 CX_SADL_STATIC 20130614

Method _GET_ENTITY_DB_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ENTITY Call by reference Object reference (TYPE REF TO) IF_SADL_ENTITY 20120707
2 Returning RS_DB_INFO Value transfer Type reference (TYPE) IF_SADL_ENTITY=>TY_ENTITY_DB_INFO 20120707
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130125
2 CX_SADL_STATIC 20130111

Method _GET_NEXT_MANDT_ALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ALIAS Value transfer Type reference (TYPE) STRING 20120707

Method _GET_NEXT_MANDT_ALIAS on class CL_SADL_VIEW_DB_GENERATOR has no exception.

Method _GET_PRIMARY_KEY_COLUMN_NAMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ENTITY Call by reference Object reference (TYPE REF TO) IF_SADL_ENTITY 20120707
2 Returning RT_PRIMARY_KEY_FIELDS Value transfer Type reference (TYPE) STRINGTAB 20120707
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130125
2 CX_SADL_STATIC 20130111

Method _MAP_CALCULATED_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CALCULATED_ELEMENTS Call by reference Type reference (TYPE) IF_SADL_VIEW_ENTITY_GENERATOR=>TY_VIEW_METADATA-CALCULATED_ELEMENTS 20120707

Method _MAP_CALCULATED_ELEMENTS on class CL_SADL_VIEW_DB_GENERATOR has no exception.

Method _MAP_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ELEMENTS Call by reference Type reference (TYPE) IF_SADL_VIEW_ENTITY_GENERATOR=>TY_VIEW_METADATA-ELEMENTS 20120707
2 Importing IT_ENTITIES Call by reference Type reference (TYPE) IF_SADL_VIEW_ENTITY_GENERATOR=>TY_VIEW_METADATA-ENTITIES 20120707
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130125
2 CX_SADL_STATIC 20130111

Method _MAP_ENTITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ENTITIES Call by reference Type reference (TYPE) IF_SADL_VIEW_ENTITY_GENERATOR=>TY_VIEW_METADATA-ENTITIES 20120707
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130125
2 CX_SADL_STATIC 20130111

Method _MAP_JOINS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ENTITIES Call by reference Type reference (TYPE) IF_SADL_VIEW_ENTITY_GENERATOR=>TY_VIEW_METADATA-ENTITIES 20120707
2 Importing IT_JOINS Call by reference Type reference (TYPE) IF_SADL_VIEW_ENTITY_GENERATOR=>TY_VIEW_METADATA-JOINS 20120707
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130125
2 CX_SADL_STATIC 20130111

Method _MAP_VIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ENTITY_VIEW Call by reference Type reference (TYPE) IF_SADL_VIEW_ENTITY_GENERATOR=>TY_VIEW_METADATA 20120707
# Exception Resumable Description Created on
1 CX_SADL_CONTRACT_VIOLATION 20130125
2 CX_SADL_STATIC 20130111
History
Last changed by/on SAP  20131127 
SAP Release Created in 740