SAP ABAP Class CL_RSPP_COMP_MODEL (Model for partition pruning)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM-DBA (Application Component) Data Basis
     RSPP (Package) Partition Pruning for MultiProviders
Properties
Class CL_RSPP_COMP_MODEL  
Short Description Model for partition pruning    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSPP   Partition Pruning for MultiProviders 
Created 20120601   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_RSD_INFOPROV Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSPP_COMP_MODEL has no interface implemented.
Friends
Class CL_RSPP_COMP_MODEL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_C_EXCLUSIVE_LOCK Constant Public Type reference (TYPE) ENQMODE 'E' Exclusive lock 20120620
2 N_C_SHARE_LOCK Constant Public Type reference (TYPE) ENQMODE 'S' Shared lock 20120620
3 P_MPRO Instance attribute Private Type reference (TYPE) RSINFOPROV Name of MultiProvider 20120620
4 P_R_INFOPROV Instance attribute Private Object reference (TYPE REF TO) IF_RSD_INFOPROV InfoProvider Runtime Metadata 20130211
5 P_T_DTA_IOBJ_IDENT Instance attribute Private Type reference (TYPE) RSD_T_MPRO_IOBJ_IDENT Table for Identifying InfoObjects in MultiProviders 20120620
6 P_T_DTA_PART Instance attribute Private Type reference (TYPE) RSDO_T_DTA_R Table with References to InfoProvider (Data Target) 20120620
7 P_T_IOBJ_CMP Instance attribute Private Type reference (TYPE) RSD_T_IOBJ_CMP Compounding of InfoObjects 20120620
Methods
# Method Level Visibility Method type Description Created on
1 ACQUIRE_LOCK Instance method Public Method Acquires a Lock 20120620
2 ACTIVATE Instance method Public Method Copies the records from M to A version 20120619
3 CHECK_LINE Instance method Public Method Checks consistency of a single line 20120620
4 CHECK_PARTITIONS Instance method Public Method Checks consistency of restrictions vs. booked data 20120601
5 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20120620
6 COPY_PARTITIONS Instance method Public Method Copies restrict. from source to target (if possible) 20120606
7 DELETE_PARTITIONS Instance method Public Method Deletes restrictions from the DB 20120601
8 GET_PARTITIONS Instance method Public Method Reads restrictions from the Db (for actual member P_MPRO) 20120601
9 GET_PARTITIONS_STATIC Static method Public Method Reads restrictions from the DB 20120620
10 IS_PARTPROV_TYPE_ALLOWED Instance method Public Method Checks for supported type of part-provider 20120718
11 RELEASE_LOCK Instance method Public Method Releases the lock 20120620
12 SAVE_PARTITIONS Instance method Public Method Saves restrictions in the DB 20120601
13 SUGGEST_PARTITIONS Instance method Public Method Suggests restrictons for given PP and IOjbs 20120601
14 _ADD_MISSING_FIELD_INFO Instance method Private Method Adds missing multi-prov- resp. part-prov-info 20120620
15 _ADD_MULTI_INFO Instance method Private Method Add missing multi-prov-info 20120601
16 _CHAVL_TO_IPRORANGE Instance method Private Method 20120606
17 _CHECK_PART_SINGLE_PARTPROV Instance method Private Method Checks consistency of a single part-provider 20120601
18 _CREATE_CHAVL_TAB Instance method Private Method Generates a table for 'select into' 20120601
19 _GET_PARTITIONS Static method Private Method Reads restrictions from the DB (for specified MPRO) 20120620
20 _IPRORANGE_TO_CONDITION Instance method Private Method Generated SQL-condition from a restriction 20120601
21 _SUGGEST_PART_SINGLE_IOBJ Instance method Private Method Suggests restrictions for a single InfoObject 20120601
22 _SUGGEST_PART_SINGLE_IOBJ_PP Instance method Private Method Suggests restrictions for a single IObj of a single PP 20120601
Events
Class CL_RSPP_COMP_MODEL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TN_TS_IPRORANGE Public See coding 20120601 tn_ts_iprorange TYPE SORTED TABLE OF rsiprorange WITH UNIQUE KEY multiprov infoprov mproiobj partiobj posit
2 TN_T_PARTPROV Public See coding 20120601 tn_t_partprov TYPE STANDARD TABLE OF rsinfoprov WITH KEY table_line
3 TP_TH_IDENT_MTOP Private See coding 20120601 tp_th_ident_mtop TYPE HASHED TABLE OF rsd_s_mpro_iobj_ident WITH UNIQUE KEY partprov iobjnm
4 TP_TH_IDENT_PTOM Private See coding 20120601 tp_th_ident_ptom TYPE HASHED TABLE OF rsd_s_mpro_iobj_ident WITH UNIQUE KEY partprov partiobj
5 TP_TS_IDENT_PTOM Private See coding 20120604 tp_ts_ident_ptom TYPE SORTED TABLE OF rsd_s_mpro_iobj_ident WITH NON-UNIQUE KEY partprov partiobj
6 TP_TS_PARTPROV Private See coding 20120601 tp_ts_partprov TYPE SORTED TABLE OF rsinfoprov WITH UNIQUE KEY table_line
7 TP_T_CONDITION Private See coding 20120601 tp_t_condition TYPE STANDARD TABLE OF string WITH DEFAULT KEY
8 TP_T_FIELDNM Private See coding 20120601 tp_t_fieldnm TYPE STANDARD TABLE OF rsfieldnm WITH DEFAULT KEY
Method Signatures

Method ACQUIRE_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOCKMODE Call by reference Type reference (TYPE) ENQMODE Sperrmodus 20120620
# Exception Resumable Description Created on
1 CX_RSPP_INPUT_INVALID Ungültige Werte-Eingabe 20120620

Method ACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_UPD_CNT Call by reference Type reference (TYPE) I Anzahl der geänderten Sätze 20120619

Method ACTIVATE on class CL_RSPP_COMP_MODEL has no exception.

Method CHECK_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20120907
2 Exporting E_S_IPRORANGE Call by reference Type reference (TYPE) RSIPRORANGE Evtl. um Iobjnm erweiterte Zeile 20120620
3 Importing I_CHECK_WHOLE_LINE Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE einzelne Zellen oder gesamte Zeile überprüfen 20120620
4 Importing I_S_IPRORANGE Call by reference Type reference (TYPE) RSIPRORANGE Zu überprüfende Zeile 20120620
# Exception Resumable Description Created on
1 CX_RSPP_INPUT_INVALID Ungültige Werte-Eingabe 20120620

Method CHECK_PARTITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20120907
2 Exporting E_IOBJNM Call by reference Type reference (TYPE) RSIOBJNM Falls e_valid=false => IObj für das Fehler entdeckt wurde 20120601
3 Exporting E_PARTPROV Call by reference Type reference (TYPE) RSINFOPROV Falls e_valid=false => PP in dem Fehler aufgetreten ist 20120601
4 Exporting E_T_CHAVL Call by reference Type reference (TYPE) RSD_TA_CHAVL Falls e_valid=false => Werte außerhalb der Restriktionen 20120601
5 Exporting E_VALID Call by reference Type reference (TYPE) RS_BOOL =true <=> keine Buchungen außerhalb der Restrictionen 20120601
6 Importing I_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE Restriktionen, die überprüft werden sollen 20120601
# Exception Resumable Description Created on
1 CX_RSPP_INPUT_INVALID Ungültige Werte-Eingabe 20120611

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MPRO Call by reference Type reference (TYPE) RSINFOPROV Name des Multiproviders 20120620
# Exception Resumable Description Created on
1 CX_RSPP_INPUT_INVALID Ungültige Werte-Eingabe 20120620

Method COPY_PARTITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE Tab. mit kopierten und angepaßten Restriktionen 20120606
2 Exporting E_T_PARTPROV Call by reference Type reference (TYPE) TN_T_PARTPROV Partprovider, für die keine Restriktion kopiert wurde 20120611
3 Importing I_MPRO_SOURCE Call by reference Type reference (TYPE) RSINFOPROV Name des Ausgangs-Multiproviders 20120606
# Exception Resumable Description Created on
1 CX_RSPP_INPUT_INVALID Ungültige Werte-Eingabe 20120611

Method DELETE_PARTITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DEL_CNT Call by reference Type reference (TYPE) I Anzahl der gelöschten Einträge 20120612
2 Importing I_OBJVERS Call by reference Type reference (TYPE) RSOBJVERS Objektversion (M,A,%) 20120619

Method DELETE_PARTITIONS on class CL_RSPP_COMP_MODEL has no exception.

Method GET_PARTITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE Restriktionen, die von der DB gelesen wurden 20120601
2 Importing I_OBJVERS Call by reference Type reference (TYPE) RSOBJVERS RS_C_OBJVERS-ACTIVE Objektversion (M,A) 20120619

Method GET_PARTITIONS on class CL_RSPP_COMP_MODEL has no exception.

Method GET_PARTITIONS_STATIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE 20120620
2 Importing I_MPRO Call by reference Type reference (TYPE) RSINFOPROV Name des Multiproviders 20120620
3 Importing I_OBJVERS Call by reference Type reference (TYPE) RSOBJVERS RS_C_OBJVERS-ACTIVE Objektversion 20120620

Method GET_PARTITIONS_STATIC on class CL_RSPP_COMP_MODEL has no exception.

Method IS_PARTPROV_TYPE_ALLOWED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FOR_CHECK_AND_SUGGEST Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Methods 'check' and 'suggest' are possible on this type 20120907
2 Importing I_S_DTA Call by reference Type reference (TYPE) RSD_S_DTA Eigenschaften InfoProvider 20120718
3 Returning R_OK Value transfer Type reference (TYPE) RS_BOOL Boolean 20120718

Method IS_PARTPROV_TYPE_ALLOWED on class CL_RSPP_COMP_MODEL has no exception.

Method RELEASE_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOCKMODE Call by reference Type reference (TYPE) ENQMODE Sperrmodus 20120620
# Exception Resumable Description Created on
1 CX_RSPP_INPUT_INVALID Ungültige Werte-Eingabe 20120620

Method SAVE_PARTITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_INS_CNT Call by reference Type reference (TYPE) I Anzahl der geschriebenen Sätze 20120612
2 Importing I_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE Restriktionen, die auf die DB geschrieben werden sollen 20120601

Method SAVE_PARTITIONS on class CL_RSPP_COMP_MODEL has no exception.

Method SUGGEST_PARTITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20120907
2 Exporting E_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE Erzeugte Restriktionen 20120601
3 Importing I_T_IOBJNM Call by reference Type reference (TYPE) RSD_T_IOBJNM Liste der IObj, ür die Vorschlag erstellt werden soll 20120601
4 Importing I_T_PARTPROV Call by reference Type reference (TYPE) TN_T_PARTPROV Liste der PP, für die Vorschlag erstellt werden soll 20120601
# Exception Resumable Description Created on
1 CX_RSPP_INPUT_INVALID Ungültige Werte-Eingabe 20120611

Method _ADD_MISSING_FIELD_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_S_IPRORANGE Call by reference Type reference (TYPE) RSIPRORANGE Logische Partitionierung: Datenverteilung 20120620
# Exception Resumable Description Created on
1 CX_RSPP_INPUT_INVALID Ungültige Werte-Eingabe 20120620

Method _ADD_MULTI_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE 20120601
2 Importing I_IOBJNM Call by reference Type reference (TYPE) RSIOBJNM 20120601
3 Importing I_PARTPROV Call by reference Type reference (TYPE) RSINFOPROV 20120601
4 Importing I_TH_IDENT_MTOP Call by reference Type reference (TYPE) TP_TH_IDENT_MTOP 20120601
5 Importing I_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE 20120604

Method _ADD_MULTI_INFO on class CL_RSPP_COMP_MODEL has no exception.

Method _CHAVL_TO_IPRORANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE 20120606
2 Importing I_IDX Call by reference Type reference (TYPE) I 20120606
3 Importing I_PARTPROV Call by reference Type reference (TYPE) RSINFOPROV 20120606
4 Importing I_S_DTA_PRO Call by reference Type reference (TYPE) RSD_S_DTA_PRO 20120606
5 Importing I_T_CHAVL Call by reference Type reference (TYPE) ANY TABLE 20120606

Method _CHAVL_TO_IPRORANGE on class CL_RSPP_COMP_MODEL has no exception.

Method _CHECK_PART_SINGLE_PARTPROV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IOBJNM Call by reference Type reference (TYPE) RSIOBJNM 20120601
2 Exporting E_T_CHAVL Call by reference Type reference (TYPE) RSD_TA_CHAVL 20120601
3 Exporting E_VALID Call by reference Type reference (TYPE) RS_BOOL 20120601
4 Importing I_PARTPROV Call by reference Type reference (TYPE) RSINFOPROV 20120601
5 Importing I_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE 20120601
# Exception Resumable Description Created on
1 CX_RSPP_INPUT_INVALID Ungültige Werte-Eingabe 20120611

Method _CREATE_CHAVL_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_T_CHAVL Call by reference Object reference (TYPE REF TO) DATA 20120601
2 Exporting E_T_FIELDNM Call by reference Type reference (TYPE) TP_T_FIELDNM 20120601
3 Importing I_FIELDNM Call by reference Type reference (TYPE) RSFIELDNM 20120601
4 Importing I_IOBJNM Call by reference Type reference (TYPE) RSIOBJNM 20120601
5 Importing I_TS_DTA_PRO Call by reference Type reference (TYPE) IF_RSD_INFOPROV=>NT_TS_DTA_PRO 20130211
6 Importing I_T_CMP Call by reference Type reference (TYPE) RSD_T_IOBJ_CMP 20120601

Method _CREATE_CHAVL_TAB on class CL_RSPP_COMP_MODEL has no exception.

Method _GET_PARTITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE 20120620
2 Importing I_MPRO Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20120620
3 Importing I_OBJVERS Call by reference Type reference (TYPE) RSOBJVERS Objektversion 20120620

Method _GET_PARTITIONS on class CL_RSPP_COMP_MODEL has no exception.

Method _IPRORANGE_TO_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_CONDITION Call by reference Type reference (TYPE) TP_T_CONDITION 20120601
2 Exporting E_CONDITION_ADDED Call by reference Type reference (TYPE) RS_BOOL 20120601
3 Importing I_FIELDNM Call by reference Type reference (TYPE) RSFIELDNM 20120601
4 Importing I_IOBJNM Call by reference Type reference (TYPE) RSIOBJNM 20120601
5 Importing I_PARTPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20120601
6 Importing I_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE 20120601

Method _IPRORANGE_TO_CONDITION on class CL_RSPP_COMP_MODEL has no exception.

Method _SUGGEST_PART_SINGLE_IOBJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE 20120601
2 Changing C_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20120907
3 Importing I_IOBJNM Call by reference Type reference (TYPE) RSIOBJNM 20120601
4 Importing I_T_PARTPROV Call by reference Type reference (TYPE) TN_T_PARTPROV 20120601
# Exception Resumable Description Created on
1 CX_RSPP_INPUT_INVALID Ungültige Werte-Eingabe 20120611

Method _SUGGEST_PART_SINGLE_IOBJ_PP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20120907
2 Exporting E_TS_IPRORANGE Call by reference Type reference (TYPE) TN_TS_IPRORANGE 20120601
3 Importing I_IOBJNM Call by reference Type reference (TYPE) RSIOBJNM 20120601
4 Importing I_PARTPROV Call by reference Type reference (TYPE) RSINFOPROV 20120601

Method _SUGGEST_PART_SINGLE_IOBJ_PP on class CL_RSPP_COMP_MODEL has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 730