SAP ABAP Class CL_EXM_DG_FACTORY (EPM: Common factory methods for channels and targets)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-NWD (Application Component) NetWeaver Demonstration
     S_EPM_DG (Package) EPM: New Data Generator
Properties
Class CL_EXM_DG_FACTORY  
Short Description EPM: Common factory methods for channels and targets    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_EPM_DG   EPM: New Data Generator 
Created 20100702   SAP 
Last change 20130531   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 SEOR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_EXM_DG_FACTORY has no interface implemented.
Friends
Class CL_EXM_DG_FACTORY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_CHANNEL_BASE_CLASS_NAME Constant Private Type reference (TYPE) ABAP_CLASSNAME 'CL_EXM_DG_CHANNEL_BASE' Name of channel base class 20100702
2 GC_LOCATION_NAME Static Attribute Private Type reference (TYPE) STRING 'Data Generator Factory' 20100812
3 GC_TARGET_BASE_CLASS_NAME Constant Private Type reference (TYPE) ABAP_CLASSNAME 'CL_EXM_DG_TARGET_BASE' Base class of target 20100702
4 GTH_CHANNELS Static Attribute Private Type reference (TYPE) TT_CHANNELS 20100702
5 GTH_TARGETS Static Attribute Private Type reference (TYPE) TT_TARGETS 20100702
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20100702
2 FILL_INSTANCES Static method Private Method Fill all available targets 20100702
3 GET_ADMIN_INFOS Static method Private Method Get admin infos of derived data generator objects 20100702
4 GET_CHANNEL Static method Public Method Get a unique channel instance 20100702
5 GET_CHANNEL_LIST Static method Public Method Get a list of available targets 20100702
6 GET_CLASS_DESCRIPTION Static method Private Method Get the description of a class 20100705
7 GET_TARGET Static method Public Method Get a unique target instance 20100702
8 GET_TARGET_LIST Static method Public Method Get a list of available targets 20100702
9 PERFORM_CLASS_SYNTAX_CHECK Static method Private Method Perform a syntax check for the given ABAP class 20100702
Events
Class CL_EXM_DG_FACTORY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_ADMIN_INFOS Private See coding 20100702 tt_admin_infos type standard table of ty_admin_info with default key
2 TT_CHANNELS Public See coding 20100702 tt_channels TYPE HASHED TABLE OF ty_channel WITH UNIQUE KEY name target_set
3 TT_CHANNEL_ENTRIES Public See coding 20100702 tt_channel_entries TYPE HASHED TABLE OF ty_channel_entry WITH UNIQUE KEY name type
4 TT_TARGETS Public See coding 20100702 tt_targets TYPE HASHED TABLE OF ty_target WITH UNIQUE KEY name
5 TT_TARGET_ENTRIES Public See coding 20100702 tt_target_entries TYPE HASHED TABLE OF ty_target_entry WITH UNIQUE KEY name type
6 TY_ADMIN_INFO Private See coding 20100702 BEGIN OF ty_admin_info, name TYPE string, type TYPE string, description TYPE string, syntax_ok TYPE abap_bool, abap_class_name TYPE seoclsname, END of ty_admin_info
7 TY_CHANNEL Public See coding 20100702 BEGIN OF ty_channel, name TYPE cl_exm_dg_channel_base=>ty_channel_name, type TYPE cl_exm_dg_channel_base=>ty_channel_type, description TYPE cl_exm_dg_channel_base=>ty_channel_description, target_set TYPE string, syntax_ok TYPE abap_bool, abap_class_name TYPE seoclsname, abap_class_inst TYPE REF TO cl_exm_dg_channel_base, END OF ty_channel
8 TY_CHANNEL_ENTRY Public See coding 20100702 BEGIN OF ty_channel_entry, name TYPE cl_exm_dg_channel_base=>ty_channel_name, type TYPE cl_exm_dg_channel_base=>ty_channel_type, description TYPE cl_exm_dg_channel_base=>ty_channel_description, target_names TYPE stringtab, END OF ty_channel_entry
9 TY_TARGET Public See coding 20100702 BEGIN OF ty_target, name TYPE cl_exm_dg_target_base=>ty_target_name, type TYPE cl_exm_dg_target_base=>ty_target_type, description TYPE cl_exm_dg_target_base=>ty_target_description, syntax_ok TYPE abap_bool, abap_class_name TYPE seoclsname, abap_class_inst TYPE REF TO cl_exm_dg_target_base, END OF ty_target
10 TY_TARGET_ENTRY Public See coding 20100702 BEGIN OF ty_target_entry, name TYPE cl_exm_dg_target_base=>ty_target_name, type TYPE cl_exm_dg_target_base=>ty_target_type, description TYPE cl_exm_dg_target_base=>ty_target_description, END OF ty_target_entry
Method Signatures

Method CLASS_CONSTRUCTOR Signature

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

Method FILL_INSTANCES Signature

Method FILL_INSTANCES on class CL_EXM_DG_FACTORY has no parameter.
Method FILL_INSTANCES on class CL_EXM_DG_FACTORY has no exception.

Method GET_ADMIN_INFOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_ADMIN_INFOS Value transfer Type reference (TYPE) TT_ADMIN_INFOS 20100705
2 Importing IV_ATTR_2 Call by reference Type reference (TYPE) STRING 20100705
3 Importing IV_BASE_CLASS_NAME Call by reference Type reference (TYPE) ABAP_CLASSNAME Key structure of a class 20100702

Method GET_ADMIN_INFOS on class CL_EXM_DG_FACTORY has no exception.

Method GET_CHANNEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TARGET_NAMES Call by reference Type reference (TYPE) CL_EXM_DG_TARGET_BASE=>TT_TARGET_NAMES Name of data generation target 20100702
2 Importing IV_CHANNEL_NAME Call by reference Type reference (TYPE) CL_EXM_DG_CHANNEL_BASE=>TY_CHANNEL_NAME Name of data generation channel 20100702
3 Returning RO_CHANNEL Value transfer Object reference (TYPE REF TO) CL_EXM_DG_CHANNEL_BASE Abstract base class for EPM/ESM targets 20100702
# Exception Resumable Description Created on
1 CX_EXM_API_EXCEPTION EPM/ESM data generator exceptions 20100702

Method GET_CHANNEL_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_CHANNEL_LIST Value transfer Type reference (TYPE) TT_CHANNEL_ENTRIES 20100712
# Exception Resumable Description Created on
1 CX_EXM_API_EXCEPTION EPM/ESM data generator exceptions 20100702

Method GET_CLASS_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLASSNAME Call by reference Type reference (TYPE) ABAP_CLASSNAME 20100705
2 Returning RV_DESCRIPTION Value transfer Type reference (TYPE) STRING 20100705

Method GET_CLASS_DESCRIPTION on class CL_EXM_DG_FACTORY has no exception.

Method GET_TARGET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TARGET_NAME Call by reference Type reference (TYPE) CL_EXM_DG_TARGET_BASE=>TY_TARGET_NAME Name of data generation target 20100702
2 Returning RO_TARGET Value transfer Object reference (TYPE REF TO) CL_EXM_DG_TARGET_BASE Abstract base class for EPM/ESM targets 20100702
# Exception Resumable Description Created on
1 CX_EXM_API_EXCEPTION EPM/ESM data generator exceptions 20100702

Method GET_TARGET_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_TARGET_LIST Value transfer Type reference (TYPE) TT_TARGET_ENTRIES 20100712
# Exception Resumable Description Created on
1 CX_EXM_API_EXCEPTION EPM/ESM data generator exceptions 20100702

Method PERFORM_CLASS_SYNTAX_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_SYNTAX_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL Flag: Syntax is ok ( yes / no ) 20100702
2 Importing IV_ABAP_CLASS_NAME Call by reference Type reference (TYPE) ABAP_CLASSNAME ABAP class name 20100702
3 Importing IV_SUPPRESS_SYNTAX_CHECK Call by reference Type reference (TYPE) ABAP_BOOL 20130424

Method PERFORM_CLASS_SYNTAX_CHECK on class CL_EXM_DG_FACTORY has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 703