SAP ABAP Class CL_RSOSC_SCOPE_CHECKER (Checks scopes of object)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM-MTD (Application Component) Metadata (Repository)
     RSOSC (Package) BI Meta Object Framework Scoping Engine
Properties
Class CL_RSOSC_SCOPE_CHECKER  
Short Description Checks scopes of object    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSOSC   BI Meta Object Framework Scoping Engine 
Created 20051115   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RSOC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSOSC_SCOPE_CHECKER has no interface implemented.
Friends
Class CL_RSOSC_SCOPE_CHECKER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_DUMMY_MSG Instance attribute Private Type reference (TYPE) STRING Dummy for use with 'MESSAGE' 20051201
2 P_R_SCOPE_CHECKER Static Attribute Private Object reference (TYPE REF TO) CL_RSOSC_SCOPE_CHECKER Abstract Superclass for All Global Exceptions 20051115
3 P_R_SCOPE_FACTORY Instance attribute Private Object reference (TYPE REF TO) CL_RSOSC_SCOPE_FACTORY Scope factory 20051115
4 P_SCOPE_CHECKING Instance attribute Private Type reference (TYPE) SYMSGTY Messages, message type 20051121
5 P_S_MSG Instance attribute Private Type reference (TYPE) RS_S_MSG Temporary storage variable 20051201
6 P_T_MSG Instance attribute Private Type reference (TYPE) RS_T_MSG Temporary storage variable 20051201
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_IOBJ_IN_APPEND Instance method Public Method Checks InfoObjects in a structured append 20051115
2 CHECK_OBJECT Instance method Public Method Checks if object is consistent with respect to scopes 20051115
3 CHECK_SINGLE_OBJECT_USAGE Instance method Public Method Checks whether a content object may use another object 20051115
4 CONSTRUCTOR Instance method Private Constructor 20051115
5 GET_INSTANCE Static method Public Method Gets the single instance (singleton) 20051115
6 GET_RELIABLE_OBJECTS Instance method Public Method Gets the objects that a given object can rely on 20051202
7 IS_OBJECT_IN_ACTIVE_SCOPE Instance method Public Method 20051115
8 IS_RELEVANT_FOR_SCOPE_CHECKS Static method Public Method 'X' - The TLOGO type is relevant for scope checks 20060515
9 REMOVE_INACTIVE_OBJECTS Instance method Public Method 20060602
10 SAME_SCOPE Instance method Public Method Checks if two content objects are in the same scope 20051115
11 _APPEND_IOBJ_SAME_SCOPE Instance method Private Method Check : are append and constituent InfoObject in same scope? 20051201
12 _GET_ERROR_SUBRC Instance method Private Method Gets subrc value, depending on severity of scope checks 20060127
13 _GET_SRCSYS_OF_OBJECT Static method Private Method Gets the source system the given object depends on 20060227
14 _IOBJCMP_IN_RELIABLE_SCOPE Instance method Private Method Check: Are compounded InfoObjects in a reliable scope 20051201
15 _OBJECT_EXISTS Static method Private Method Checks if a TLOGO object exists 20060110
Events
Class CL_RSOSC_SCOPE_CHECKER has no event.
Types
Class CL_RSOSC_SCOPE_CHECKER has no local type.
Method Signatures

Method CHECK_IOBJ_IN_APPEND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Value transfer Type reference (TYPE) SYSUBRC Return Value, Return Value After ABAP Statements 20051118
2 Exporting E_TH_IOBJ_APPEND_ALLOWED Call by reference Type reference (TYPE) RSOSC_TH_IOBJ_APPEND InfoObjects that are consistent and can be used 20051129
3 Exporting E_TH_IOBJ_APPEND_ERR Call by reference Type reference (TYPE) RSOSC_TH_IOBJ_APPEND InfoObjects that are inconsistent 20051129
4 Exporting E_T_MSG_ERR Call by reference Type reference (TYPE) RS_T_MSG BW: Table with Messages (Application Log) 20051118
5 Importing I_APPENDNM Value transfer Type reference (TYPE) RSAPPENDNM Name of an append 20051115
6 Importing I_TH_IOBJ_APPEND Call by reference Type reference (TYPE) RSOSC_TH_IOBJ_APPEND InfoObjects (and the append it belongs to) used in an object 20051129

Method CHECK_IOBJ_IN_APPEND on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method CHECK_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Value transfer Type reference (TYPE) SYSUBRC 0 - object is consistent 20051118
2 Exporting E_T_MSG_ERR Call by reference Type reference (TYPE) RS_T_MSG Error messages 20051118
3 Exporting E_T_TLOGO_ERR Call by reference Type reference (TYPE) RSO_T_TLOGO TLOGO Objects that are not in reliable scopes 20051118
4 Importing I_S_TLOGO Call by reference Type reference (TYPE) RSO_S_TLOGO Object being checked 20051115
5 Importing I_T_TLOGO_DEPENDENT Call by reference Type reference (TYPE) RSO_T_TLOGO Objects that given object depends on 20060112

Method CHECK_OBJECT on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method CHECK_SINGLE_OBJECT_USAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Value transfer Type reference (TYPE) SYSUBRC 0 - Object can be used 20051118
2 Exporting E_T_MSG_ERR Call by reference Type reference (TYPE) RS_T_MSG Error messages 20051118
3 Importing I_S_TLOGO Value transfer Type reference (TYPE) RSO_S_TLOGO Object being checked 20051115
4 Importing I_S_TLOGO_DEPENDENT Call by reference Type reference (TYPE) RSO_S_TLOGO Object that given object depends on 20060112

Method CHECK_SINGLE_OBJECT_USAGE on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_RSOSC_SCOPE_CHECKER has no parameter.
Method CONSTRUCTOR on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_R_SCOPE_CHECKER Value transfer Object reference (TYPE REF TO) CL_RSOSC_SCOPE_CHECKER Checks scopes of object 20051115

Method GET_INSTANCE on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method GET_RELIABLE_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_TLOGO Call by reference Type reference (TYPE) RSO_TS_TLOGO Objects the given object can rely on 20051202
2 Importing I_ONLY_SAME_SCOPE Call by reference Type reference (TYPE) RS_BOOL SPACE 'X'- only objects in the same scope are returned 20060110
3 Importing I_S_TLOGO Call by reference Type reference (TYPE) RSO_S_TLOGO Get objects that are allowed for this object 20051202
4 Importing I_TLOGO Call by reference Type reference (TYPE) RSTLOGO Get objects of this type 20051202
# Exception Resumable Description Created on
1 CX_RSOSC_CHECK_DEACTIVATED Der Scope check ist deaktiivert 20080201
2 CX_RSOSC_OBJECT_NOT_FOUND The object does not exist 20061018

Method IS_OBJECT_IN_ACTIVE_SCOPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_TLOGO Call by reference Type reference (TYPE) RSO_S_TLOGO BW Repository: TLOGO Object and Type 20051115
2 Returning R_ACTIVE Value transfer Type reference (TYPE) RS_BOOL Boolean 20051115
# Exception Resumable Description Created on
1 CX_RSOSC_OBJECT_NOT_FOUND The object does not exist 20061018

Method IS_RELEVANT_FOR_SCOPE_CHECKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TLOGO Call by reference Type reference (TYPE) RSTLOGO BW: Object type (TLOGO) 20060515
2 Returning R_IS_RELEVANT Value transfer Type reference (TYPE) RS_BOOL Boolean 20060515

Method IS_RELEVANT_FOR_SCOPE_CHECKS on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method REMOVE_INACTIVE_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TH_TLOGO Call by reference Type reference (TYPE) RSO_TH_TLOGO List of objects (inactive objects are removed) 20060602

Method REMOVE_INACTIVE_OBJECTS on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method SAME_SCOPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Value transfer Type reference (TYPE) SYSUBRC 0 - objects are in same scope 20051118
2 Exporting E_T_ERRMSG Call by reference Type reference (TYPE) RS_T_MSG BW: Table with Messages (Application Log) 20051118
3 Importing I_S_TLOGO1 Value transfer Type reference (TYPE) RSO_S_TLOGO BW Repository: TLOGO Object and Type 20051115
4 Importing I_S_TLOGO2 Value transfer Type reference (TYPE) RSO_S_TLOGO BW Repository: TLOGO Object and Type 20051115

Method SAME_SCOPE on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method _APPEND_IOBJ_SAME_SCOPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Value transfer Type reference (TYPE) SYSUBRC Return Value, Return Value After ABAP Statements 20051201
2 Exporting E_T_MSG_ERR Call by reference Type reference (TYPE) RS_T_MSG Error messages appended 20051201
3 Importing I_APPENDNM Call by reference Type reference (TYPE) RSAPPENDNM Append Name 20060201
4 Importing I_S_IOBJ_APPEND Call by reference Type reference (TYPE) RSOSC_S_IOBJ_APPEND InfoObject and the append it belongs to 20051201

Method _APPEND_IOBJ_SAME_SCOPE on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method _GET_ERROR_SUBRC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SUBRC Call by reference Type reference (TYPE) SYSUBRC Desired subrc value 20060127
2 Returning R_SUBRC Value transfer Type reference (TYPE) SYSUBRC Subrc enforced by severity level 20060127

Method _GET_ERROR_SUBRC on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method _GET_SRCSYS_OF_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_TLOGO Call by reference Type reference (TYPE) RSO_S_TLOGO BW Repository: TLOGO Object and Type 20060227
2 Returning R_SRCSYS Value transfer Type reference (TYPE) RSSLOGSYS Source system 20060227

Method _GET_SRCSYS_OF_OBJECT on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method _IOBJCMP_IN_RELIABLE_SCOPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Value transfer Type reference (TYPE) SYSUBRC Return Value, Return Value After ABAP Statements 20051201
2 Exporting E_T_MSG_ERR Call by reference Type reference (TYPE) RS_T_MSG BW: Table with Messages (Application Log) 20051201
3 Importing I_S_IOBJ_APPEND Call by reference Type reference (TYPE) RSOSC_S_IOBJ_APPEND InfoObject and the append it belongs to 20051201
4 Importing I_TH_IOBJ_APPEND Call by reference Type reference (TYPE) RSOSC_TH_IOBJ_APPEND InfoObjects (and the append it belongs to) used in an object 20051201
5 Importing I_TH_SCOPENM Call by reference Type reference (TYPE) RSOSC_TH_SCOPENM Scopes that I_S_IOBJ_APPEND-APPENDNM can rely on 20051201

Method _IOBJCMP_IN_RELIABLE_SCOPE on class CL_RSOSC_SCOPE_CHECKER has no exception.

Method _OBJECT_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_TLOGO Call by reference Type reference (TYPE) RSO_S_TLOGO BW Repository: TLOGO Object and Type 20060110
2 Returning R_EXISTS Value transfer Type reference (TYPE) RS_BOOL 'X'- Object exists 20060110

Method _OBJECT_EXISTS on class CL_RSOSC_SCOPE_CHECKER has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 710