SAP ABAP Class CL_RSDRCRM_SESSION (Session for CRM Segmentation)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSDRCRM (Package) Service Layer for CRM Segmentation
Properties
Class CL_RSDRCRM_SESSION  
Short Description Session for CRM Segmentation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSDRCRM   Service Layer for CRM Segmentation 
Created 20091202   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_RSDD_LTIP_PUBLISH Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_RSDRCRM_MRI Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_RSDRCRM_QSI Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 RSSG Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSDRCRM_SESSION has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_RSDRCRM_INFOPROV 20100107 InfoProvider access
2 CL_RSDRCRM_MRI 20100107 Materialized Result Index (MRI)
3 CL_RSDRCRM_MRI_SRVS 20100120 Handler for MRIs
4 CL_RSDRCRM_QSI 20100111 Query Snapshot Index (QSI)
5 CL_RSDRCRM_SESSION_HANDLER 20100422 CRM Session for Segmentation
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_C_MSGID Constant Public Type reference (TYPE) SYMSGID 'RSDRCRM' Message ID (RSDRCRM) 20110113
2 O_C_OPTYPE Constant Private See coding Operation Type for Statistics 20100325
3 O_EVENT_CNT Static Attribute Protected Type reference (TYPE) INT4 Remember Event Counter 20100326
4 O_INTERNALCALL Static Attribute Protected Type reference (TYPE) RS_BOOL RS_C_FALSE Internal Call of RSDRC Service Layer 20100325
5 P_COUNTER_MRI Instance attribute Private Type reference (TYPE) I MRI counter 20100126
6 P_SESSIONIDENT Instance attribute Private Type reference (TYPE) SYSUUID_25 Globally Unique Identifier 20091202
7 P_THX_MRIMAP Instance attribute Private Type reference (TYPE) TP_THX_MRIMAP 20100119
8 P_TSTMP_CREATE Instance attribute Private Type reference (TYPE) RSTIMESTMP Time Stamp 20091202
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20091202
2 DELETE_MRI Instance method Public Method Deletes individual MRI 20091202
3 DELETE_MRIS_OLDER_THAN Instance method Public Method Deletes all MRIs older than specified timestamp 20100128
4 DELETE_MRI_ALL Instance method Public Method Deletes all MRIs in session 20091202
5 EXISTS_MRI_IN_SESSION Instance method Public Method Is there an MRI in this session? 20091207
6 GET_MRI_LIST Instance method Public Method Returns a list of all MRIs in this session 20091202
7 GET_SESSIONIDENT Instance method Public Method Returns unique session ID 20091202
8 GET_TIMESTAMP_OF_CREATION Instance method Public Method Returns the timestamp for creation of the session 20091202
9 _ADD_MRI Instance method Protected Method Adds MRI to session 20100107
10 _DEL_AINM Instance method Protected Method clears AINM out of MRIMAP 20101105
11 _END_SESSION Instance method Protected Method Ends session and deletes associated MRIs 20100120
12 _EXISTS_AI_ON_MRI Instance method Protected Method Returns if a QSI has been built on the specified MRI 20100119
13 _GET_INFOPROV_OF_MRI Instance method Protected Method Returns original InfoProv of MRI 20100415
14 _GET_LOGIDXID_BY_ALIAS Instance method Protected Method return MRI-ID by specified MRI-alias 20130402
15 _GET_MRIID_BY_ALIAS Instance method Protected Method Return MRI ID by specified MRI alias 20100107
16 _GET_MRIID_NEW Static method Protected Method Returns a new index ID for MRI 20100107
17 _GET_MRI_DETAILS Instance method Protected Method Returns QSI name of MRI if found 20100108
18 _GET_NEW_MRIALIAS Instance method Private Method Returns new MRI alias (unique for each session) 20100204
19 _IS_SETMRI Instance method Protected Method Returns RS_C_TRUE if MRI is result MRI from set operation 20100223
20 _SET_AIINFOS_FOR_MRI Instance method Protected Method Adds QSI ID to specified MRI 20100201
21 _SET_SETOP_FOR_MRI Instance method Protected Method Sets value of SetOperation MRI 20100223
22 _STAT_EVENT_RSDRCRM_END Static method Protected Method Ends statistic event for CRM segmentation service layer 20100325
23 _STAT_EVENT_RSDRCRM_START Static method Protected Method Starts statistics for CRM segmentation service layer 20100325
24 _STAT_SAVE_AI_INFOS Instance method Protected Method Saves info about the analytical index for statistics 20100416
Events
Class CL_RSDRCRM_SESSION has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TO_OPTYPE Protected See coding 20100325 to_optype(5) TYPE c
2 TP_SX_MRIMAP Private See coding 20100203 BEGIN OF tp_sx_mrimap, alias TYPE rsdrcrm_mrialias, idxid TYPE cl_rsdrcrm_mri=>tn_mriid, th_sfc TYPE rsdri_th_sfc, th_sfk TYPE rsdri_th_sfk, has_metaiobjs TYPE rs_bool, th_map_org_ai TYPE cl_rsdrcrm_mri=>tp_th_map_org_ai, ainm TYPE rsinfoprov, t_aimapcha TYPE cl_rsdrcrm_mri=>tp_t_aimapcha, t_aimapkyf TYPE cl_rsdrcrm_mri=>tp_t_aimapkyf, timestmp TYPE rstimestmp, setop(1) TYPE c, org_infoprov TYPE rsinfoprov, END OF tp_sx_mrimap
3 TP_THX_MRIMAP Private See coding 20100203 tp_thx_mrimap TYPE HASHED TABLE OF tp_sx_mrimap WITH UNIQUE KEY alias
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SESSIONIDENT Call by reference Type reference (TYPE) RSSG_UNI_IDC25 20091207

Method CONSTRUCTOR on class CL_RSDRCRM_SESSION has no exception.

Method DELETE_MRI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20100108
2 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS 20091207

Method DELETE_MRI on class CL_RSDRCRM_SESSION has no exception.

Method DELETE_MRIS_OLDER_THAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OLDERTHAN Call by reference Type reference (TYPE) RSTIMESTMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20100128
2 Returning R_T_MSG Value transfer Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20100128

Method DELETE_MRIS_OLDER_THAN on class CL_RSDRCRM_SESSION has no exception.

Method DELETE_MRI_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_T_MSG Value transfer Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20100128

Method DELETE_MRI_ALL on class CL_RSDRCRM_SESSION has no exception.

Method EXISTS_MRI_IN_SESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_EXIST_MRI Value transfer Type reference (TYPE) RS_BOOL Boolean 20091211
2 Exporting E_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20091211
3 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS 20091207

Method EXISTS_MRI_IN_SESSION on class CL_RSDRCRM_SESSION has no exception.

Method GET_MRI_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_TS_MRIALIAS 20100203

Method GET_MRI_LIST on class CL_RSDRCRM_SESSION has no exception.

Method GET_SESSIONIDENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_SESSIONIDENT Value transfer Type reference (TYPE) SYSUUID_25 Globally Unique Identifier 20091202

Method GET_SESSIONIDENT on class CL_RSDRCRM_SESSION has no exception.

Method GET_TIMESTAMP_OF_CREATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TSTMP_CREATE Call by reference Type reference (TYPE) TZONREF-TSTAMPL UTC-Zeitstempel in Langform (JJJJMMTThhmmss,mmmuuun) 20091202

Method GET_TIMESTAMP_OF_CREATION on class CL_RSDRCRM_SESSION has no exception.

Method _ADD_MRI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HAS_METAIOBJS Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20100303
2 Importing I_MRIID Call by reference Type reference (TYPE) CL_RSDRCRM_MRI=>TN_MRIID 20100107
3 Importing I_ORG_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20100415
4 Importing I_SETOP Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Is MRI result of setoperation? (UNION, INTERSECT, MINUS) 20100205
5 Importing I_TH_MAP_ORG_AI Call by reference Type reference (TYPE) CL_RSDRCRM_MRI=>TP_TH_MAP_ORG_AI 20100303
6 Importing I_TH_SFC Call by reference Type reference (TYPE) RSDRI_TH_SFC BW-Data-Manager: Liste von Merkmalen 20100119
7 Importing I_TH_SFK Call by reference Type reference (TYPE) RSDRI_TH_SFK BW-Data-Manager: Liste von Kennzahlen 20100119
8 Returning R_MRIALIAS Value transfer Type reference (TYPE) RSDRCRM_MRIALIAS 20100107

Method _ADD_MRI on class CL_RSDRCRM_SESSION has no exception.

Method _DEL_AINM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS MRI-alias 20130402
2 Returning R_SUCCESSFUL Value transfer Type reference (TYPE) RS_BOOL Boolean 20101105

Method _DEL_AINM on class CL_RSDRCRM_SESSION has no exception.

Method _END_SESSION Signature

Method _END_SESSION on class CL_RSDRCRM_SESSION has no parameter.
Method _END_SESSION on class CL_RSDRCRM_SESSION has no exception.

Method _EXISTS_AI_ON_MRI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS 20100119
2 Returning R_AINM Value transfer Type reference (TYPE) STRING Index-ID 20100119

Method _EXISTS_AI_ON_MRI on class CL_RSDRCRM_SESSION has no exception.

Method _GET_INFOPROV_OF_MRI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS Materialized Result Index - alias (CRM-Segmentierung) 20100415
2 Returning R_ORG_INFOPROV Value transfer Type reference (TYPE) RSINFOPROV InfoProvider 20100415

Method _GET_INFOPROV_OF_MRI on class CL_RSDRCRM_SESSION has no exception.

Method _GET_LOGIDXID_BY_ALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS MRI alias 20130402
2 Returning R_LOGIDX Value transfer Type reference (TYPE) TREXD_INDEX_ID logical index id 20130402

Method _GET_LOGIDXID_BY_ALIAS on class CL_RSDRCRM_SESSION has no exception.

Method _GET_MRIID_BY_ALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS 20100107
2 Returning R_MRIID Value transfer Type reference (TYPE) RSDRCRM_MRIALIAS 20100107

Method _GET_MRIID_BY_ALIAS on class CL_RSDRCRM_SESSION has no exception.

Method _GET_MRIID_NEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_MRIID Value transfer Type reference (TYPE) TREXD_INDEX_ID Index-ID 20100107

Method _GET_MRIID_NEW on class CL_RSDRCRM_SESSION has no exception.

Method _GET_MRI_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_AINM Call by reference Type reference (TYPE) RSINFOPROV Index-ID 20100118
2 Exporting E_CREATIONTIME Call by reference Type reference (TYPE) RSTIMESTMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20100128
3 Exporting E_HAS_METAIOBJS Call by reference Type reference (TYPE) RS_BOOL Boolean 20100303
4 Exporting E_MRIID Call by reference Type reference (TYPE) CL_RSDRCRM_MRI=>TN_MRIID 20100108
5 Exporting E_SETOP Call by reference Type reference (TYPE) CHAR1 Boolean 20100205
6 Exporting E_TH_MAP_ORG_AI Call by reference Type reference (TYPE) CL_RSDRCRM_MRI=>TP_TH_MAP_ORG_AI 20100303
7 Exporting E_TH_SFC Call by reference Type reference (TYPE) RSDRI_TH_SFC BW-Data-Manager: Liste von Merkmalen 20100119
8 Exporting E_TH_SFK Call by reference Type reference (TYPE) RSDRI_TH_SFK BW-Data-Manager: Liste von Kennzahlen 20100119
9 Exporting E_T_AICHA Call by reference Type reference (TYPE) CL_RSDRCRM_MRI=>TP_T_AIMAPCHA 20100201
10 Exporting E_T_AIKYF Call by reference Type reference (TYPE) CL_RSDRCRM_MRI=>TP_T_AIMAPCHA 20100201
11 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS 20100108

Method _GET_MRI_DETAILS on class CL_RSDRCRM_SESSION has no exception.

Method _GET_NEW_MRIALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_MRIALIAS Value transfer Type reference (TYPE) RSDRCRM_MRIALIAS 20100204

Method _GET_NEW_MRIALIAS on class CL_RSDRCRM_SESSION has no exception.

Method _IS_SETMRI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS Materialized Result Index - alias (CRM-Segmentierung) 20100223
2 Returning R_ISSETMRI Value transfer Type reference (TYPE) RS_BOOL Boolean 20100223

Method _IS_SETMRI on class CL_RSDRCRM_SESSION has no exception.

Method _SET_AIINFOS_FOR_MRI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AINM Call by reference Type reference (TYPE) RSINFOPROV Index-ID 20100201
2 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS 20100201
3 Importing I_T_AICHA Call by reference Type reference (TYPE) CL_RSDD_LTIP_PUBLISH=>T_T_CHA 20100201
4 Importing I_T_AIKYF Call by reference Type reference (TYPE) CL_RSDD_LTIP_PUBLISH=>T_T_KYF 20100201

Method _SET_AIINFOS_FOR_MRI on class CL_RSDRCRM_SESSION has no exception.

Method _SET_SETOP_FOR_MRI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS Materialized Result Index - alias (CRM-Segmentierung) 20100223
2 Importing I_SETOP Call by reference Type reference (TYPE) CHAR1 Einstelliges Kennzeichen 20100223

Method _SET_SETOP_FOR_MRI on class CL_RSDRCRM_SESSION has no exception.

Method _STAT_EVENT_RSDRCRM_END Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OPERATION_TYPE Call by reference Type reference (TYPE) TO_OPTYPE operation type 20100414
2 Importing I_STEPCLOSE Call by reference Type reference (TYPE) RS_BOOL Boolean 20100414

Method _STAT_EVENT_RSDRCRM_END on class CL_RSDRCRM_SESSION has no exception.

Method _STAT_EVENT_RSDRCRM_START Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20100325
2 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS Materialized Result Index - alias (CRM-Segmentierung) 20100415
3 Importing I_MRIALIAS_RIGHT Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS Materialized Result Index - alias (CRM-Segmentierung) 20100623
4 Importing I_OPERATION_TYPE Call by reference Type reference (TYPE) TO_OPTYPE operation type 20100325
5 Returning R_IS_FIRST_EVENT Value transfer Type reference (TYPE) RS_BOOL Boolean 20100414

Method _STAT_EVENT_RSDRCRM_START on class CL_RSDRCRM_SESSION has no exception.

Method _STAT_SAVE_AI_INFOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AINM Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20100416
2 Importing I_MRIALIAS Call by reference Type reference (TYPE) RSDRCRM_MRIALIAS Materialized Result Index - alias (CRM-Segmentierung) 20100416

Method _STAT_SAVE_AI_INFOS on class CL_RSDRCRM_SESSION has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 730