SAP ABAP Class CL_SAMDT_FACTORY (Factory to create editor instances)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ESI-SAM (Application Component) Status and Action Management
⤷
SESF_SAM_DT_EDITOR (Package) S&AM JNet and Form view
⤷
⤷
Properties
| Class | CL_SAMDT_FACTORY | |
| Short Description | Factory to create editor instances | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SESF_SAM_DT_EDITOR | S&AM JNet and Form view |
| Created | 20100408 | 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 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_SAMDT_FACTORY has no interface implemented.
Friends
Class CL_SAMDT_FACTORY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | IF_SAMDT_CORE_TYPES=>SAM_APPLICATION_CONTEXT | 30 Characters | 20100420 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | TT_EDITORS | 20100409 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Checks the schema is added in the child BO | 20100813 | |
| 2 | Static method | Public | Method | Checks the schema is added in the child BO | 20100818 | |
| 3 | Static method | Public | Method | 20100408 | ||
| 4 | Static method | Public | Method | Set the static application context, Not adivised to use this | 20110531 |
Events
Class CL_SAMDT_FACTORY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_EDITORS | Private | See coding | 20100409 | tt_editors TYPE TABLE OF ty_editor WITH KEY bo_name bo_node_name schema_name
|
||
| 2 | TY_EDITOR | Private | See coding | 20100409 | BEGIN OF ty_editor,
bo_name TYPE sam_business_objects,
bo_node_name TYPE sam_business_object_node,
schema_name TYPE sam_schema_name,
editor TYPE REF TO if_samdt_editor,
END OF ty_editor
|
Method Signatures
Method CHECK_PROJECTION_SCHEMA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_IS_PRONECTION_SCHEMA | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100813 | ||||
| 2 | ID_BO_NAME | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECTS | S&AM Business objects | 20100813 | |||
| 3 | ID_BO_NODE_NAME | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECT_NODE | S&AM Business Object Node | 20100813 | |||
| 4 | ID_SCHEMA_NAME | Call by reference | Type reference (TYPE) | STATUS_SCHEMA_NAME | SAM Schema Name | 20100813 | |||
| 5 | IT_BO_HIERARCHY | Call by reference | Type reference (TYPE) | IF_SAMDT_TYPES=>TT_BUSINESS_OBJECTS | 20100813 |
Method CHECK_PROJECTION_SCHEMA on class CL_SAMDT_FACTORY has no exception.
Method GET_BO_FOR_SCHEMA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_BO_FOR_SCHEMA | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECTS | S&AM Business objects | 20100818 | |||
| 2 | ID_BO_NAME | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECTS | S&AM Business objects | 20100818 | |||
| 3 | ID_BO_NODE_NAME | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECT_NODE | S&AM Business Object Node | 20100818 | |||
| 4 | ID_SCHEMA_NAME | Call by reference | Type reference (TYPE) | STATUS_SCHEMA_NAME | SAM Schema Name | 20100818 | |||
| 5 | IT_BO_HIERARCHY | Call by reference | Type reference (TYPE) | IF_SAMDT_TYPES=>TT_BUSINESS_OBJECTS | 20100818 |
Method GET_BO_FOR_SCHEMA on class CL_SAMDT_FACTORY has no exception.
Method GET_SAM_EDITOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GT_BO_LIST | Call by reference | Type reference (TYPE) | IF_SAMDT_TYPES=>TT_BUSINESS_OBJECTS | 20100813 | ||||
| 2 | ID_APPLICATION_CONTEXT | Call by reference | Type reference (TYPE) | IF_SAMDT_CORE_TYPES=>SAM_APPLICATION_CONTEXT | 30 Characters | 20100408 | |||
| 3 | ID_BO_NAME | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECTS | SAM Business objects | 20100408 | |||
| 4 | ID_BO_NODE_NAME | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECT_NODE | SAM Business Object Node | 20100408 | |||
| 5 | ID_CHILD_BO_NAME | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECTS | S&AM Business objects | 20100813 | |||
| 6 | ID_EXTENDED_BO_NAME | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECTS | SAM Business objects | 20100408 | |||
| 7 | ID_IS_CHILD_SCHEMA | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100813 | ||||
| 8 | ID_SCHEMA_NAME | Call by reference | Type reference (TYPE) | STATUS_SCHEMA_NAME | SAM Schema Name | 20100408 | |||
| 9 | IT_BO_HIERARCHY | Call by reference | Type reference (TYPE) | IF_SAMDT_TYPES=>TT_BUSINESS_OBJECTS | 20100813 | ||||
| 10 | RO_SAM_EDITOR | Value transfer | Object reference (TYPE REF TO) | IF_SAMDT_EDITOR | S&AM Editor API | 20100408 |
Method GET_SAM_EDITOR on class CL_SAMDT_FACTORY has no exception.
Method SET_APPLICATION_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_APPLICATION_CONTEXT | Call by reference | Type reference (TYPE) | IF_SAMDT_CORE_TYPES=>SAM_APPLICATION_CONTEXT | Application context | 20110531 |
Method SET_APPLICATION_CONTEXT on class CL_SAMDT_FACTORY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 72L |