SAP ABAP Class CL_SAMDT_RT_METADATA (S&AM Runtime persistence)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-ESI-SAM (Application Component) Status and Action Management
⤷ SESF_SAM_DT_MANAGER (Package) S&AM Desing time core
⤷ BC-ESI-SAM (Application Component) Status and Action Management
⤷ SESF_SAM_DT_MANAGER (Package) S&AM Desing time core
Properties
Class | CL_SAMDT_RT_METADATA | |
Short Description | S&AM Runtime persistence | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SESF_SAM_DT_MANAGER | S&AM Desing time core |
Created | 20100325 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | IF_SAMDT_CORE_TYPES | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_SAMDT_RT_METADATA has no interface implemented.
Friends
Class CL_SAMDT_RT_METADATA has no friend class.
Attributes
Class CL_SAMDT_RT_METADATA has no attribute.
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_SCHEMA_FROM_PARENT | Static method | Private | Method | Add the Parent Schema and remove the duplicates from child | 20110519 |
2 | CONVERT_DB_TO_MEMORY_SCHEMA | Static method | Private | Method | Converts DB format to Memory format to get OwnerID | 20100422 |
3 | CREATE_RT_METADATA | Static method | Public | Method | Generates RT Metadata | 20100325 |
4 | GET_BO_SCHEMAS_FROM_DB | Static method | Private | Method | Gets S&AM Schemas | 20100325 |
Events
Class CL_SAMDT_RT_METADATA has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TT_DB_ELEMENTS | Public | See coding | 20100422 | tt_db_elements TYPE TABLE OF samdt_elements
|
||
2 | TT_ELEMENTS | Public | See coding | 20100325 | tt_elements TYPE TABLE OF ty_element WITH KEY element_id
|
||
3 | TT_RELATIONS | Public | See coding | 20100325 | tt_relations TYPE TABLE OF ty_relation WITH KEY relation_id
|
||
4 | TT_SEGMENT_HEADERS | Public | See coding | 20100325 | tt_segment_headers TYPE TABLE OF ty_segment_header WITH KEY segment_id
|
||
5 | TY_ELEMENT | Public | See coding | 20100325 | BEGIN OF ty_element,
segment_id TYPE if_samdt_core_types=>ty_id.
INCLUDE TYPE if_samdt_core_types=>ty_element.
TYPES: END OF ty_element
|
||
6 | TY_RELATION | Public | See coding | 20100325 | BEGIN OF ty_relation,
segment_id TYPE if_samdt_core_types=>ty_id,
source_name TYPE sam_element_name,
source_type TYPE sam_element_type,
target_name TYPE sam_element_name,
target_type TYPE sam_element_type.
INCLUDE TYPE if_samdt_core_types=>ty_relation.
TYPES: END OF ty_relation
|
||
7 | TY_SEGMENT | Public | See coding | 20100325 | BEGIN OF ty_segment,
segment_headers TYPE tt_segment_headers,
elements TYPE tt_elements,
relations TYPE tt_relations,
END OF ty_segment
|
||
8 | TY_SEGMENT_HEADER | Public | See coding | 20100325 | BEGIN OF ty_segment_header,
segment_id TYPE if_samdt_core_types=>ty_id,
segment_name TYPE sam_segment_name,
segment_type TYPE sam_segment_type,
schema_name TYPE sam_segment_name,
depends_on TYPE sam_segment_name,
adaptable TYPE abap_bool,
bo_name TYPE sam_business_objects,
bo_node_name TYPE sam_business_object_node,
esr_name TYPE sam_esr_name,
esr_namespace TYPE sam_esr_namespace,
created_by TYPE syuname,
created_at TYPE timestamp,
changed_by TYPE syuname,
changed_at TYPE timestamp,
used TYPE abap_bool,
END OF ty_segment_header
|
Method Signatures
Method ADD_SCHEMA_FROM_PARENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CH_SEGMENT_IN_CHILD | Call by reference | Type reference (TYPE) | TY_SEGMENT | final segment table | 20110519 | ||
2 | Importing | IN_SEGMENT_FROM_PARENT | Call by reference | Type reference (TYPE) | TY_SEGMENT | segment from Parent | 20110519 |
Method ADD_SCHEMA_FROM_PARENT on class CL_SAMDT_RT_METADATA has no exception.
Method CONVERT_DB_TO_MEMORY_SCHEMA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ES_SCHEMA | Call by reference | Type reference (TYPE) | IF_SAMDT_CORE_TYPES=>TY_SCHEMA | 20100422 | |||
2 | Importing | IS_DB_SCHEMA_HEADER | Call by reference | Type reference (TYPE) | SAMDT_SCHEMAS | S&AM Schemas | 20100422 | ||
3 | Importing | IT_DB_ELEMENTS | Call by reference | Type reference (TYPE) | TT_DB_ELEMENTS | S&AM Elements | 20100422 |
Method CONVERT_DB_TO_MEMORY_SCHEMA on class CL_SAMDT_RT_METADATA has no exception.
Method CREATE_RT_METADATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ES_SAM_METADATA | Call by reference | Type reference (TYPE) | SAM_METADATA | S&AM metadata | 20100325 | ||
2 | Importing | ID_BO_NAME | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECTS | SAM Business objects | 20100325 | ||
3 | Importing | ID_CHILD_BO | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECTS | 20100813 | |||
4 | Importing | IO_BO_METADATA | Call by reference | Object reference (TYPE REF TO) | IF_SAMDT_METADATA_ADAPTER | Adapter to retrieve metadata from the consuming framework | 20100614 | ||
5 | Importing | IS_MEMORY_SEGMENT | Call by reference | Type reference (TYPE) | TY_SEGMENT | 20100325 | |||
6 | Importing | IT_BO_HIERARCHY | Call by reference | Type reference (TYPE) | IF_SAMDT_TYPES=>TT_BUSINESS_OBJECTS | 20100813 |
Method CREATE_RT_METADATA on class CL_SAMDT_RT_METADATA has no exception.
Method GET_BO_SCHEMAS_FROM_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ES_SEGMENT | Call by reference | Type reference (TYPE) | TY_SEGMENT | 20100325 | |||
2 | Importing | ID_BO_NAME | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECTS | SAM Business objects | 20100325 |
Method GET_BO_SCHEMAS_FROM_DB on class CL_SAMDT_RT_METADATA has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 72L |