SAP ABAP Class CL_SCPR_SBCSET_RELATIONS (Object that caches BCSET relations and levels)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CUS-TOL-BCD (Application Component) Business Configuration Sets
     SCPR (Package) Business Configuration Sets
Properties
Class CL_SCPR_SBCSET_RELATIONS  
Short Description Object that caches BCSET relations and levels    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SCPR   Business Configuration Sets 
Created 20091126   SAP 
Last change 20110908   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)
Interfaces
Class CL_SCPR_SBCSET_RELATIONS has no interface implemented.
Friends
Class CL_SCPR_SBCSET_RELATIONS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MTH_SBCSET_LEVELS Instance attribute Private Type reference (TYPE) SCPR_T_SBCSET_LEVELS Hashed mappings of BC-Set and sort-level 20091127
2 MT_ALL_RELATIONS Instance attribute Private Type reference (TYPE) SCPR_T_PREDRELATIONS Table of Switch BC Set predecessor relations 20091126
3 MT_CYCLIC_BCSETS Instance attribute Private Type reference (TYPE) SCPR_BCSETS BC Sets: BC Set Names to Pass From/To External Interface 20091130
Methods
# Method Level Visibility Method type Description Created on
1 ADD_REDEFINITION Instance method Public Method Adds a redefinition between two Switch BC sets (succ, pred). 20091127
2 CALC_BCSET_LEVELS Instance method Public Method Calculates the levels in the dependency graph 20091127
3 DELETE_REDEFINITION Instance method Public Method Deletes a redefinition between two Switch BC sets. 20091127
4 GET_ALL_RELATIONS Instance method Public Method Returnes all defined relations 20091126
5 GET_CYCLIC_BCSETS Instance method Public Method Returns the BC sets that are part of a cycle 20091202
6 GET_PREDECESSORS Instance method Public Method Returns the the predecessors of one BC set. 20091127
7 GET_SUCCESSORS Instance method Public Method Returns the the successors of one BC set. 20091127
8 IS_REDEFINITION Instance method Public Method Check if there is a relation 20091201
9 SORT_BCSETS_BY_LEVEL Instance method Public Method Sorts a list of BC sets according to their level 20091127
10 STORE_PREDECESSORS Instance method Public Method Stores the predecessors of one BC set to DB as in the itab 20091217
11 UPDATE_PREDECESSORS Instance method Public Method Saves the new predecessoers to the itab 20091201
Events
Class CL_SCPR_SBCSET_RELATIONS has no event.
Types
Class CL_SCPR_SBCSET_RELATIONS has no local type.
Method Signatures

Method ADD_REDEFINITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PRED_ID Call by reference Type reference (TYPE) SCPR_SID Switch Business Configuration Set 20091127
2 Importing IV_SUCC_ID Call by reference Type reference (TYPE) SCPR_SID Switch Business Configuration Set 20091127

Method ADD_REDEFINITION on class CL_SCPR_SBCSET_RELATIONS has no exception.

Method CALC_BCSET_LEVELS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RTH_SBCSET_LEVELS Value transfer Type reference (TYPE) SCPR_T_SBCSET_LEVELS Hashed mappings of BC-Set and sort-level 20091127
# Exception Resumable Description Created on
1 CX_SCPR_CYCLIC_REFERENCES Unallowed cyclic references. 20091127

Method DELETE_REDEFINITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PRED_ID Call by reference Type reference (TYPE) SCPR_SID Switch Business Configuration Set 20091127
2 Importing IV_SUCC_ID Call by reference Type reference (TYPE) SCPR_SID Switch Business Configuration Set 20091127

Method DELETE_REDEFINITION on class CL_SCPR_SBCSET_RELATIONS has no exception.

Method GET_ALL_RELATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_RELATIONS Value transfer Type reference (TYPE) SCPR_T_PREDRELATIONS Table of Switch BC Set predecessor relations 20091126

Method GET_ALL_RELATIONS on class CL_SCPR_SBCSET_RELATIONS has no exception.

Method GET_CYCLIC_BCSETS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_CYCLIC_BCSETS Value transfer Type reference (TYPE) SCPR_BCSETS BC Sets: BC Set Names to Pass From/To External Interface 20091202

Method GET_CYCLIC_BCSETS on class CL_SCPR_SBCSET_RELATIONS has no exception.

Method GET_PREDECESSORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SKIP_CYCLES Call by reference Type reference (TYPE) ABAP_BOOL 20091130
2 Importing IV_SUCC_ID Call by reference Type reference (TYPE) SCPR_SID Switch Business Configuration Set 20091127
3 Returning RT_PREDECESSORS Value transfer Type reference (TYPE) SCPR_T_PREDRELATIONS Table of Switch BC Set predecessor relations 20091127

Method GET_PREDECESSORS on class CL_SCPR_SBCSET_RELATIONS has no exception.

Method GET_SUCCESSORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PRED_ID Call by reference Type reference (TYPE) SCPR_SID Switch Business Configuration Set 20091127
2 Importing IV_SKIP_CYCLES Call by reference Type reference (TYPE) ABAP_BOOL 20091130
3 Returning RT_SUCCESSORS Value transfer Type reference (TYPE) SCPR_T_PREDRELATIONS Table of Switch BC Set predecessor relations 20091127

Method GET_SUCCESSORS on class CL_SCPR_SBCSET_RELATIONS has no exception.

Method IS_REDEFINITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PRED_ID Call by reference Type reference (TYPE) SCPR_SID Switch Business Configuration Set 20091201
2 Importing IV_SUCC_ID Call by reference Type reference (TYPE) SCPR_SID Switch Business Configuration Set 20091201
3 Returning RV_BOOL Value transfer Type reference (TYPE) ABAP_BOOL 20091201

Method IS_REDEFINITION on class CL_SCPR_SBCSET_RELATIONS has no exception.

Method SORT_BCSETS_BY_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BCSETS Call by reference Type reference (TYPE) SCPRBCCLITAB 20091127
# Exception Resumable Description Created on
1 CX_SCPR_CYCLIC_REFERENCES Unallowed cyclic references. 20091127

Method STORE_PREDECESSORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SUCC_ID Call by reference Type reference (TYPE) SCPR_SID Switch Business Configuration Set 20091217
# Exception Resumable Description Created on
1 CX_SCPR_CYCLIC_REFERENCES Unallowed cyclic references. 20091217

Method UPDATE_PREDECESSORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PREDECESSORS Call by reference Type reference (TYPE) SCPR_T_PREDRELATIONS Table of Switch BC Set predecessor relations 20091201
2 Importing IV_SUCC_ID Call by reference Type reference (TYPE) SCPR_SID Switch Business Configuration Set 20091201

Method UPDATE_PREDECESSORS on class CL_SCPR_SBCSET_RELATIONS has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 730