SAP ABAP Class CL_USMD_CR_SERVICE_PROVIDER (USMD Change request service provider)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-AF (Application Component) Application Framework
     USMD_CR (Package) Change request BO implementation
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_USMD_CR_SP Service Provider interface 20120307
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_USMD_CR_SP_ACTION Actions for change requests 20120320
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_USMD_CR_SP_FOR_MODEL ServiceProvider Access for model 20120307
4 Interface implementation (CLASS c. INTERFACES i_ref)  IF_USMD_CR_SP_QUERY Query for change requests 20120328
5 Interface implementation (CLASS c. INTERFACES i_ref)  IF_USMD_CR_SP_TRANSACTION Transaction handler 20120307
6 Interface implementation (CLASS c. INTERFACES i_ref)  IF_USMD_CR_SP_UTILITIES Change Request Service Provider Utilities 20120403
Properties
Class CL_USMD_CR_SERVICE_PROVIDER  
Short Description USMD Change request service provider    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package USMD_CR   Change request BO implementation 
Created 20120222   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_USMD_CR_SERVICE_PROVIDER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
# Interface Abstract Final Description Created on
1 IF_USMD_CR_SP Service Provider interface 20120307
2 IF_USMD_CR_SP_ACTION Actions for change requests 20120320
3 IF_USMD_CR_SP_FOR_MODEL ServiceProvider Access for model 20120307
4 IF_USMD_CR_SP_QUERY Query for change requests 20120328
5 IF_USMD_CR_SP_TRANSACTION Transaction handler 20120307
6 IF_USMD_CR_SP_UTILITIES Change Request Service Provider Utilities 20120403
Friends
# Friend Modeled only Created on Description
1 CL_USMD_CR_FACTORY 20120307 Instance factory
2 TC_USMD_CR_SP 20120323 Unit test for cl_usmd_cr_service_provider
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_CRUD Constant Private See coding update types 20120223
2 CO_SEPARATOR Constant Private Type reference (TYPE) CHAR1 '-' Single-Character Flag 20120420
3 MO_BUFFER Instance attribute Private Object reference (TYPE REF TO) LIF_BUFFER 20120316
4 MO_DB_ACCESS Instance attribute Private Object reference (TYPE REF TO) IF_USMD_CR_DB_ADAPTER Change Request Database adapter 20120309
5 MO_EXT_READ_ACCESS Instance attribute Private Object reference (TYPE REF TO) IF_USMD_CR_SP_EXT_READ_ACCESS Interface of calls from the SP to outside 20120316
6 MT_BUFFER Instance attribute Private Type reference (TYPE) TT_INSTANCE 20120223
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Protected Constructor CONSTRUCTOR 20120227
2 CONVERT_KEY_TO_STRING Instance method Private Method converts key structure into single string 20120417
3 CREATE_OBJECTLIST Instance method Private Method 20120307
4 CREATE_ROOT Instance method Private Method 20120307
5 CR_EDITION_4_CREQUEST_ID Instance method Private Method return model instance for change request 20120418
6 CR_TYPE_4_CREQUEST_ID Instance method Private Method return model instance for change request 20120417
7 DELETE Instance method Private Method 20120307
8 ENQUEUE Instance method Private Method 20120307
9 ENTITY_KEY_2_TABLE Instance method Private Method transform external entity key into internal objectlist key 20120316
10 EXTERNAL_OL_KEY_2_INTERNAL Instance method Private Method transform external entity key into internal objectlist key 20120309
11 GET_BLOCKING_CREQUESTS Instance method Private Method Check if an entity is blocked by the blocklist 20120411
12 RETRIEVE Instance method Private Method 20120307
13 SAVE Instance method Private Method 20120307
Events
Class CL_USMD_CR_SERVICE_PROVIDER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_BLOCKLIST Private See coding 20120402 begin of ts_blocklist, blocklist type usmd_cr_s_blocklist, crud type char1, end of ts_blocklist
2 TS_CREQUEST_BUFFER Private See coding 20120223 begin of ts_crequest_buffer , crud type char1, root type usmd_cr_s_root, objectlist type tt_objectlist, blocklist type tt_blocklist, end of ts_crequest_buffer
3 TS_ENTITY_KEY Private See coding 20120316 begin of ts_entity_key, usmd_entity_obj type usmd_entity, usmd_value type usmd_value, end of ts_entity_key
4 TS_OBJECTLIST Private See coding 20120224 begin of ts_objectlist, objectlist type usmd_cr_s_objectlist, crud type char1, end of ts_objectlist
5 TT_BLOCKLIST Private See coding 20120402 tt_blocklist type sorted table of ts_blocklist with unique key blocklist-node_id
6 TT_ENTITY_KEY Private See coding 20120316 tt_entity_key type sorted table of ts_entity_key with unique key usmd_entity_obj
7 TT_INSTANCE Private See coding 20120223 tt_instance type sorted table of ts_crequest_buffer with unique key root-usmd_crequest
8 TT_OBJECTLIST Private See coding 20120224 tt_objectlist type sorted table of ts_objectlist with unique key objectlist-node_id
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMPTY_BUFFER Call by reference Type reference (TYPE) ABAP_BOOL 20120323

Method CONSTRUCTOR on class CL_USMD_CR_SERVICE_PROVIDER has no exception.

Method CONVERT_KEY_TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ENTITY_KEY Call by reference Type reference (TYPE) DATA 20120417
2 Returning RV_STRING Value transfer Type reference (TYPE) STRING 20120417

Method CONVERT_KEY_TO_STRING on class CL_USMD_CR_SERVICE_PROVIDER has no exception.

Method CREATE_OBJECTLIST Signature

Method CREATE_OBJECTLIST on class CL_USMD_CR_SERVICE_PROVIDER has no parameter.
Method CREATE_OBJECTLIST on class CL_USMD_CR_SERVICE_PROVIDER has no exception.

Method CREATE_ROOT Signature

Method CREATE_ROOT on class CL_USMD_CR_SERVICE_PROVIDER has no parameter.
Method CREATE_ROOT on class CL_USMD_CR_SERVICE_PROVIDER has no exception.

Method CR_EDITION_4_CREQUEST_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CREQUEST_ID Call by reference Type reference (TYPE) USMD_CREQUEST Change Request 20120418
2 Returning RV_CREQUEST_EDITION Value transfer Type reference (TYPE) USMD_EDITION Edition 20120418

Method CR_EDITION_4_CREQUEST_ID on class CL_USMD_CR_SERVICE_PROVIDER has no exception.

Method CR_TYPE_4_CREQUEST_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CREQUEST_ID Call by reference Type reference (TYPE) USMD_CREQUEST Change Request 20120417
2 Returning RV_CREQUEST_TYPE Value transfer Type reference (TYPE) USMD_CREQUEST_TYPE 20120417
# Exception Resumable Description Created on
1 CX_USMD_CR_ROOT_NO_CR_TYP_4_CR change request type determination failed for change request 20120521

Method DELETE Signature

Method DELETE on class CL_USMD_CR_SERVICE_PROVIDER has no parameter.
Method DELETE on class CL_USMD_CR_SERVICE_PROVIDER has no exception.

Method ENQUEUE Signature

Method ENQUEUE on class CL_USMD_CR_SERVICE_PROVIDER has no parameter.
Method ENQUEUE on class CL_USMD_CR_SERVICE_PROVIDER has no exception.

Method ENTITY_KEY_2_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ENTITY_KEY Call by reference Type reference (TYPE) CL_USMD_CR_SERVICE_PROVIDER=>TT_ENTITY_KEY Characteristic Value 20120316
2 Exporting EV_KEY_IS_TABLE Call by reference Type reference (TYPE) ABAP_BOOL table represents internal key 20120316
3 Importing IS_KEY Call by reference Type reference (TYPE) DATA 20120316
4 Importing IV_ENTITY_TYPE Call by reference Type reference (TYPE) USMD_ENTITY 20120316
5 Importing IV_MODEL Call by reference Type reference (TYPE) USMD_MODEL Data Model 20120413
# Exception Resumable Description Created on
1 CX_USMD_CR_ROOT_MODEL_ERROR change request blocklist exception 20120413
2 CX_USMD_CR_ROOT_NO_MODEL_INSTA no model instance for model name 20120418

Method EXTERNAL_OL_KEY_2_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FIELDNAME Call by reference Type reference (TYPE) USMD_FIELDNAME Field of an Entity Type 20120309
2 Exporting EV_KEY_IS_TABLE Call by reference Type reference (TYPE) ABAP_BOOL table represents internal key 20120309
3 Exporting EV_OBJLIST_KEY Call by reference Type reference (TYPE) USMD_VALUE Characteristic Value 20120309
4 Importing IS_KEY Call by reference Type reference (TYPE) DATA 20120309
5 Importing IV_CR_TYPE Call by reference Type reference (TYPE) USMD_CREQUEST_TYPE Type of Change Request 20120309
6 Importing IV_ENTITY_TYPE Call by reference Type reference (TYPE) USMD_ENTITY 20120309

Method EXTERNAL_OL_KEY_2_INTERNAL on class CL_USMD_CR_SERVICE_PROVIDER has no exception.

Method GET_BLOCKING_CREQUESTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CREQUEST_ID Call by reference Type reference (TYPE) USMD_CR_TS_ROOT_NODE_ID USMD Change Request sorted table of node ids 20120411
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) USMD_CR_T_BLOCKLIST_MESSAGE USMD change request blocklist message table 20120411
3 Importing IS_ENTITY_KEY Call by reference Type reference (TYPE) DATA Entity key 20120411
4 Importing IV_ENTITY_TYPE Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20120411
5 Importing IV_MODEL Call by reference Type reference (TYPE) USMD_MODEL Data Model 20120411
# Exception Resumable Description Created on
1 CX_USMD_CR_ROOT_BAD_ENTITY_TYP Illegal entity typ 20120511
2 CX_USMD_CR_ROOT_BL_PP_ERROR Blocklist entries from pp access adapter illegal 20120418
3 CX_USMD_CR_ROOT_EMP_ENTITY_KEY Initial entity key 20120516
4 CX_USMD_CR_ROOT_NO_MODEL_INSTA no model instance for model name 20120418

Method RETRIEVE Signature

Method RETRIEVE on class CL_USMD_CR_SERVICE_PROVIDER has no parameter.
Method RETRIEVE on class CL_USMD_CR_SERVICE_PROVIDER has no exception.

Method SAVE Signature

Method SAVE on class CL_USMD_CR_SERVICE_PROVIDER has no parameter.
Method SAVE on class CL_USMD_CR_SERVICE_PROVIDER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 732