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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Constant | Private | Type reference (TYPE) | ABAP_CLASSNAME | 'CL_EXM_DG_CHANNEL_BASE' | Name of channel base class | 20100702 | ||
| 2 | Static Attribute | Private | Type reference (TYPE) | STRING | 'Data Generator Factory' | 20100812 | |||
| 3 | Constant | Private | Type reference (TYPE) | ABAP_CLASSNAME | 'CL_EXM_DG_TARGET_BASE' | Base class of target | 20100702 | ||
| 4 | Static Attribute | Private | Type reference (TYPE) | TT_CHANNELS | 20100702 | ||||
| 5 | Static Attribute | Private | Type reference (TYPE) | TT_TARGETS | 20100702 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20100702 | |
| 2 | Static method | Private | Method | Fill all available targets | 20100702 | |
| 3 | Static method | Private | Method | Get admin infos of derived data generator objects | 20100702 | |
| 4 | Static method | Public | Method | Get a unique channel instance | 20100702 | |
| 5 | Static method | Public | Method | Get a list of available targets | 20100702 | |
| 6 | Static method | Private | Method | Get the description of a class | 20100705 | |
| 7 | Static method | Public | Method | Get a unique target instance | 20100702 | |
| 8 | Static method | Public | Method | Get a list of available targets | 20100702 | |
| 9 | 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 | ET_ADMIN_INFOS | Value transfer | Type reference (TYPE) | TT_ADMIN_INFOS | 20100705 | ||||
| 2 | IV_ATTR_2 | Call by reference | Type reference (TYPE) | STRING | 20100705 | ||||
| 3 | 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 | IT_TARGET_NAMES | Call by reference | Type reference (TYPE) | CL_EXM_DG_TARGET_BASE=>TT_TARGET_NAMES | Name of data generation target | 20100702 | |||
| 2 | IV_CHANNEL_NAME | Call by reference | Type reference (TYPE) | CL_EXM_DG_CHANNEL_BASE=>TY_CHANNEL_NAME | Name of data generation channel | 20100702 | |||
| 3 | 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 | 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 | RT_CHANNEL_LIST | Value transfer | Type reference (TYPE) | TT_CHANNEL_ENTRIES | 20100712 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_CLASSNAME | Call by reference | Type reference (TYPE) | ABAP_CLASSNAME | 20100705 | ||||
| 2 | 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 | IV_TARGET_NAME | Call by reference | Type reference (TYPE) | CL_EXM_DG_TARGET_BASE=>TY_TARGET_NAME | Name of data generation target | 20100702 | |||
| 2 | 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 | 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 | RT_TARGET_LIST | Value transfer | Type reference (TYPE) | TT_TARGET_ENTRIES | 20100712 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EV_SYNTAX_IS_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | Flag: Syntax is ok ( yes / no ) | 20100702 | |||
| 2 | IV_ABAP_CLASS_NAME | Call by reference | Type reference (TYPE) | ABAP_CLASSNAME | ABAP class name | 20100702 | |||
| 3 | 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 |