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 IF_WB_MODEL 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 MD_BO_NAME Instance attribute Private Type reference (TYPE) STRING 20100708
2 MD_DEVCLASS Instance attribute Private Type reference (TYPE) DEVCLASS Package 20100708
3 MD_MASTER_LANGUAGE Instance attribute Private Type reference (TYPE) MASTERLANG Original Language in Repository objects 20100708
4 MD_MODIFICATION_LANGUAGE Instance attribute Private Type reference (TYPE) MASTERLANG Original Language in Repository objects 20100708
5 MD_TRANSPORT_REQUEST Instance attribute Private Type reference (TYPE) TRKORR Request/Task 20100708
6 MR_SAM_METADATA_PERSISTENCE Static Attribute Private Object reference (TYPE REF TO) CL_SAM_METADATA_PERSISTENCE SAM Metadata persistence class 20090702
7 MT_SAM_ELEMENTS Instance attribute Private Type reference (TYPE) TT_SAM_ELEMENTS SAM elements 20090625
8 MT_SAM_HEADER Instance attribute Private Type reference (TYPE) TT_SAM_HEADER BO Node to Status Model Relation 20090625
9 MT_SAM_RELATIONS Instance attribute Private Type reference (TYPE) TT_SAM_RELATIONS SAM Relations 20090625
10 MT_SAM_STAT_VALUE Instance attribute Private Type reference (TYPE) TT_SAM_STAT_VALUE SAM Status values 20090625
11 MT_SCHEMA_IDS Instance attribute Private Type reference (TYPE) TT_SCHEMA_IDS 20090713
Methods
# Method Level Visibility Method type Description Created on
1 CLEAR Instance method Public Method Clear the session data 20100322
2 CREATE_STATUS_MODEL Instance method Public Method Creates S&AM status model for S&AM db tables 20090623
3 DELETE_STATUS_MODEL Instance method Public Method Deletes S&AM status model 20090623
4 GET_INSTANCE Static method Public Method Gets S&AM persistence class instance 20090623
5 GET_SAM_METADATA Instance method Public Method Get SAM RT metadata for a BO 20091102
6 GET_STATUS_MODEL Instance method Public Method Returns the status model created 20100319
7 RETRIEVE_STATUS_MODEL Instance method Public Method Retireves S&AM status model 20090623
8 SAVE_STATUS_MODEL Instance method Public Method Saves S&AM status model to S&AM db tables 20090623
9 _DELETE_STATUS_MODEL Instance method Private Method Deletes S&AM status model 20100708
10 _DEQUEUE Instance method Private Method Dequeue SAMS object 20100708
11 _ENQUEUE Instance method Private Method Enqueue SAMS object 20100708
12 _INSERT_TRANSPORT_REQUEST Instance method Private Method Insert SAM metadata to a transport request 20100708
13 _PROCESS_SEGMENT 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 Importing IB_SIMULATION Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100322
2 Importing ID_BO_NAME Call by reference Type reference (TYPE) SCOOLBUSINESSOBJECT ESF: Business Object 20090623
3 Importing IS_SAM_METADATA Call by reference Type reference (TYPE) SAM_METADATA S&AM metadata 20090623
# Exception Resumable Description Created on
1 CX_SAM_SCHEMA_DEPLOY_FAILED 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 Importing ID_BO_NAME Call by reference Type reference (TYPE) SCOOLBUSINESSOBJECT ESF: Business Object 20090623
2 Importing ID_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Package 20100708
3 Importing ID_TRANSPORT_REQUEST Call by reference Type reference (TYPE) TRKORR Request/Task 20100708
# Exception Resumable Description Created on
1 CX_SAM_METADATA_PERSIST 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 Returning 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 Exporting ES_DYNAMIC_DATA Call by reference Type reference (TYPE) TY_SAM_DATA 20091102
2 Exporting ES_STATIC_DATA Call by reference Type reference (TYPE) TY_SAM_DATA 20091102
3 Importing ID_BO_NAME Call by reference Type reference (TYPE) SCOOLBUSINESSOBJECT ESF: Business Object 20091102
# Exception Resumable Description Created on
1 CX_SAM_SCHEMA_DEPLOY_FAILED 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 Exporting ES_SAM_METADATA Call by reference Type reference (TYPE) TY_SAM_DATA 20100319
2 Importing ID_BO_NAME Call by reference Type reference (TYPE) SCOOLBUSINESSOBJECT ESF: Business Object 20100319
# Exception Resumable Description Created on
1 CX_SAM_SCHEMA_DEPLOY_FAILED 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 Exporting ES_SAM_METADATA Call by reference Type reference (TYPE) SAM_METADATA S&AM metadata 20090623
2 Importing ID_BO_NAME Call by reference Type reference (TYPE) SCOOLBUSINESSOBJECT ESF: Business Object 20090623
# Exception Resumable Description Created on
1 CX_SAM_SCHEMA_DEPLOY_FAILED 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 Importing ID_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Package 20100708
2 Importing ID_MASTER_LANG Call by reference Type reference (TYPE) MASTERLANG Original Language in Repository objects 20100708
3 Importing ID_TRANSPORT_REQUEST Call by reference Type reference (TYPE) TRKORR Request/Task 20100708
# Exception Resumable Description Created on
1 CX_SAM_METADATA_PERSIST 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 Importing 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 Importing ID_MODE Call by reference Type reference (TYPE) IF_WB_MODEL=>ENQUEUE_MODE 20100708
# Exception Resumable Description Created on
1 CX_WB_ACCESS_EXCEPTION 20100708
2 CX_WB_PERMISSION_EXCEPTION 20100708

Method _INSERT_TRANSPORT_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_MODE Call by reference Type reference (TYPE) IF_WB_MODEL=>ENQUEUE_MODE 20100708
2 Importing ID_TRANSPORT_REQUEST Call by reference Type reference (TYPE) TRKORR Request/Task 20100708
# Exception Resumable Description Created on
1 CX_WB_CORR_INSERT_EXCEPTION 20100708
2 CX_WB_PERMISSION_EXCEPTION 20100708

Method _PROCESS_SEGMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IB_UPS Call by reference Type reference (TYPE) SAM_BOOLEAN SAM boolean 20100505
2 Importing ID_BO_NAME Call by reference Type reference (TYPE) SAM_BUSINESS_OBJECTS ESF: Business Object 20090728
3 Importing ID_SEGMENT_NAME Call by reference Type reference (TYPE) SAM_SEGMENT_NAME SAM segment name 20090713
4 Importing IS_DERIVATIONS Call by reference Type reference (TYPE) SAM_DERIVATIONS SAM Derivation Info 20090729
5 Importing IS_SAM_NODE Call by reference Type reference (TYPE) SAM_NODE SAM Segment Structure 20090713
# Exception Resumable Description Created on
1 CX_SAM_SCHEMA_DEPLOY_FAILED Schemas of the BO failed 20090713
History
Last changed by/on SAP  20110908 
SAP Release Created in 72L