SAP ABAP Class CL_SAM_METADATA_PERSISTENCE (SAM Metadata persistence class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ESI-SAM (Application Component) Status and Action Management
⤷
SESF_SAM_RT (Package) S&AM Runtime
⤷
⤷
Properties
| Class | CL_SAM_METADATA_PERSISTENCE | |
| Short Description | SAM Metadata persistence class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SESF_SAM_RT | S&AM Runtime |
| Created | 20090618 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_SAM_METADATA_PERSISTENCE has no interface implemented.
Friends
Class CL_SAM_METADATA_PERSISTENCE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | STRING | 20100708 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | DEVCLASS | Package | 20100708 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | MASTERLANG | Original Language in Repository objects | 20100708 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | MASTERLANG | Original Language in Repository objects | 20100708 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TRKORR | Request/Task | 20100708 | |||
| 6 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_SAM_METADATA_PERSISTENCE | SAM Metadata persistence class | 20090702 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TT_SAM_ELEMENTS | SAM elements | 20090625 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TT_SAM_HEADER | BO Node to Status Model Relation | 20090625 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | TT_SAM_RELATIONS | SAM Relations | 20090625 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | TT_SAM_STAT_VALUE | SAM Status values | 20090625 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | TT_SCHEMA_IDS | 20090713 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Clear the session data | 20100322 | |
| 2 | Instance method | Public | Method | Creates S&AM status model for S&AM db tables | 20090623 | |
| 3 | Instance method | Public | Method | Deletes S&AM status model | 20090623 | |
| 4 | Static method | Public | Method | Gets S&AM persistence class instance | 20090623 | |
| 5 | Instance method | Public | Method | Get SAM RT metadata for a BO | 20091102 | |
| 6 | Instance method | Public | Method | Returns the status model created | 20100319 | |
| 7 | Instance method | Public | Method | Retireves S&AM status model | 20090623 | |
| 8 | Instance method | Public | Method | Saves S&AM status model to S&AM db tables | 20090623 | |
| 9 | Instance method | Private | Method | Deletes S&AM status model | 20100708 | |
| 10 | Instance method | Private | Method | Dequeue SAMS object | 20100708 | |
| 11 | Instance method | Private | Method | Enqueue SAMS object | 20100708 | |
| 12 | Instance method | Private | Method | Insert SAM metadata to a transport request | 20100708 | |
| 13 | Instance method | Private | Method | Process segment | 20090713 |
Events
Class CL_SAM_METADATA_PERSISTENCE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_SAM_ELEMENTS | Public | See coding | 20090713 | tt_sam_elements TYPE STANDARD TABLE OF sam_elements WITH KEY bo_name schema_id element_name element_type
|
||
| 2 | TT_SAM_HEADER | Public | See coding | 20090713 | tt_sam_header TYPE STANDARD TABLE OF sam_header WITH KEY bo_name node_name schema_name
|
||
| 3 | TT_SAM_RELATIONS | Public | See coding | 20090713 | tt_sam_relations TYPE STANDARD TABLE OF sam_relations WITH KEY bo_name schema_id rel_name
|
||
| 4 | TT_SAM_STAT_VALUE | Public | See coding | 20090713 | tt_sam_stat_value TYPE STANDARD TABLE OF sam_stat_value WITH KEY bo_name schema_id variable_name status_value
|
||
| 5 | TT_SCHEMA_IDS | Public | See coding | 20090713 | tt_schema_ids TYPE STANDARD TABLE OF ty_schema_ids WITH KEY node_name schema_name
|
||
| 6 | TY_SAM_DATA | Public | See coding | 20091102 | BEGIN OF ty_sam_data,
header TYPE tt_sam_header,
elements TYPE tt_sam_elements,
relations TYPE tt_sam_relations,
status_values TYPE tt_sam_stat_value,
END OF ty_sam_data
|
||
| 7 | TY_SCHEMA_IDS | Public | See coding | 20090713 | BEGIN OF ty_schema_ids,
node_name TYPE string,
schema_name TYPE if_sam_types=>ty_status_schema,
schema_id TYPE sam_schema_id,
END OF ty_schema_ids
|
Method Signatures
Method CLEAR Signature
Method CLEAR on class CL_SAM_METADATA_PERSISTENCE has no parameter.
Method CLEAR on class CL_SAM_METADATA_PERSISTENCE has no exception.
Method CREATE_STATUS_MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IB_SIMULATION | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100322 | |||
| 2 | ID_BO_NAME | Call by reference | Type reference (TYPE) | SCOOLBUSINESSOBJECT | ESF: Business Object | 20090623 | |||
| 3 | IS_SAM_METADATA | Call by reference | Type reference (TYPE) | SAM_METADATA | S&AM metadata | 20090623 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schemas of the BO failed | 20090623 |
Method DELETE_STATUS_MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_BO_NAME | Call by reference | Type reference (TYPE) | SCOOLBUSINESSOBJECT | ESF: Business Object | 20090623 | |||
| 2 | ID_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20100708 | |||
| 3 | ID_TRANSPORT_REQUEST | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20100708 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for S&AM persistence | 20100708 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_SAM_METADATA_PERSISTENCE | Value transfer | Object reference (TYPE REF TO) | CL_SAM_METADATA_PERSISTENCE | SAM Metadata persistence class | 20090623 |
Method GET_INSTANCE on class CL_SAM_METADATA_PERSISTENCE has no exception.
Method GET_SAM_METADATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DYNAMIC_DATA | Call by reference | Type reference (TYPE) | TY_SAM_DATA | 20091102 | ||||
| 2 | ES_STATIC_DATA | Call by reference | Type reference (TYPE) | TY_SAM_DATA | 20091102 | ||||
| 3 | ID_BO_NAME | Call by reference | Type reference (TYPE) | SCOOLBUSINESSOBJECT | ESF: Business Object | 20091102 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schemas of the BO failed | 20091102 |
Method GET_STATUS_MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SAM_METADATA | Call by reference | Type reference (TYPE) | TY_SAM_DATA | 20100319 | ||||
| 2 | ID_BO_NAME | Call by reference | Type reference (TYPE) | SCOOLBUSINESSOBJECT | ESF: Business Object | 20100319 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schemas of the BO failed | 20100319 |
Method RETRIEVE_STATUS_MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SAM_METADATA | Call by reference | Type reference (TYPE) | SAM_METADATA | S&AM metadata | 20090623 | |||
| 2 | ID_BO_NAME | Call by reference | Type reference (TYPE) | SCOOLBUSINESSOBJECT | ESF: Business Object | 20090623 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schemas of the BO failed | 20090727 |
Method SAVE_STATUS_MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20100708 | |||
| 2 | ID_MASTER_LANG | Call by reference | Type reference (TYPE) | MASTERLANG | Original Language in Repository objects | 20100708 | |||
| 3 | ID_TRANSPORT_REQUEST | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20100708 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for S&AM persistence | 20100708 |
Method _DELETE_STATUS_MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_BO_NAME | Call by reference | Type reference (TYPE) | SCOOLBUSINESSOBJECT | ESF: Business Object | 20100708 |
Method _DELETE_STATUS_MODEL on class CL_SAM_METADATA_PERSISTENCE has no exception.
Method _DEQUEUE Signature
Method _DEQUEUE on class CL_SAM_METADATA_PERSISTENCE has no parameter.
Method _DEQUEUE on class CL_SAM_METADATA_PERSISTENCE has no exception.
Method _ENQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_MODE | Call by reference | Type reference (TYPE) | IF_WB_MODEL=>ENQUEUE_MODE | 20100708 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100708 | |||
| 2 | 20100708 |
Method _INSERT_TRANSPORT_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_MODE | Call by reference | Type reference (TYPE) | IF_WB_MODEL=>ENQUEUE_MODE | 20100708 | ||||
| 2 | ID_TRANSPORT_REQUEST | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20100708 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100708 | |||
| 2 | 20100708 |
Method _PROCESS_SEGMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IB_UPS | Call by reference | Type reference (TYPE) | SAM_BOOLEAN | SAM boolean | 20100505 | |||
| 2 | ID_BO_NAME | Call by reference | Type reference (TYPE) | SAM_BUSINESS_OBJECTS | ESF: Business Object | 20090728 | |||
| 3 | ID_SEGMENT_NAME | Call by reference | Type reference (TYPE) | SAM_SEGMENT_NAME | SAM segment name | 20090713 | |||
| 4 | IS_DERIVATIONS | Call by reference | Type reference (TYPE) | SAM_DERIVATIONS | SAM Derivation Info | 20090729 | |||
| 5 | IS_SAM_NODE | Call by reference | Type reference (TYPE) | SAM_NODE | SAM Segment Structure | 20090713 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schemas of the BO failed | 20090713 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 72L |