SAP ABAP Class /KYK/CL_ROLEFILTER (Role filter)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   CA (Application Component) Cross-Application Components
     /KYK/ROLEFILTER (Package) Application to define filter on roles
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20070222
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_NWBC_RUNTIME_EXTENSION Extension of NWBC Runtime 20070222
Properties
Class /KYK/CL_ROLEFILTER  
Short Description Role filter    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /KYK/ROLEFILTER   Application to define filter on roles 
Created 20070216   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /KYK/CL_ROLEFILTER has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20070222
2 IF_NWBC_RUNTIME_EXTENSION Extension of NWBC Runtime 20070222
Friends
Class /KYK/CL_ROLEFILTER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DS_RESTRICTION Instance attribute Private Type reference (TYPE) SX_RESTRICTION 20070219
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CURR_MESSAGE Instance method Private Method 20070220
2 FILTER_ROLE Instance method Public Method Filter one role 20070216
3 GENERATE_FILTERED_ROLE Instance method Public Method 20070220
4 READ_SCOPE4GROUPS Instance method Private Method Current settings for scope groups 20070216
5 SET_RESTRICTION Instance method Public Method 20070219
Events
Class /KYK/CL_ROLEFILTER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 SX_RESTRICTION Public See coding 20070219 begin of sx_restriction, t_scope type th_group_scope, t_industry type ts_industry, t_scenario type ts_scenario, t_country type ts_country, end of sx_restriction
2 S_GROUP_SCOPE Public See coding 20070219 begin of s_group_scope, scope_grp type /kyk/ta_group, scope type /kyk/ta_scope, end of s_group_scope
3 TH_GROUP_SCOPE Public See coding 20070219 th_group_scope type hashed table of s_group_scope with unique key scope_grp
4 TS_COUNTRY Public See coding 20070219 ts_country type sorted table of land1 with unique key table_line
5 TS_GROUP_KEY Private See coding 20070216 ts_group_key type sorted table of /kyk/ta_group with unique key table_line
6 TS_INDUSTRY Public See coding 20070219 ts_industry type sorted table of /kyk/industry with unique key table_line
7 TS_OBJECT_ID Public See coding 20070219 ts_object_id type sorted table of menu_num_8 with unique key table_line
8 TS_SCENARIO Public See coding 20070219 ts_scenario type sorted table of /kyk/scenario with unique key table_line
Method Signatures

Method ADD_CURR_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) WDKMSG_TTY Messages from Call Transaction 20070220

Method ADD_CURR_MESSAGE on class /KYK/CL_ROLEFILTER has no exception.

Method FILTER_ROLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DELETE Call by reference Type reference (TYPE) TS_OBJECT_ID 20070219
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) WDKMSG_TTY Messages from Call Transaction 20070216
3 Importing I_ROLE Call by reference Type reference (TYPE) AGR_NAME Role Name 20070216
# Exception Resumable Description Created on
1 ROLE_NOT_EXISTING 20070220

Method GENERATE_FILTERED_ROLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) WDKMSG_TTY Messages from Call Transaction 20070220
2 Importing I_REQUEST Call by reference Type reference (TYPE) TRKORR Request/Task 20070220
3 Importing I_ROLE_SRC Call by reference Type reference (TYPE) AGR_NAME Role Name 20070220
4 Importing I_ROLE_TGT Call by reference Type reference (TYPE) AGR_NAME Role Name 20070220
5 Importing I_TASK Call by reference Type reference (TYPE) TRKORR Request/Task 20070220
# Exception Resumable Description Created on
1 SOURCE_ROLE_NOT_EXISTING 20070220
2 TARGET_ROLE_EXISTS 20070220

Method READ_SCOPE4GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SCOPE Call by reference Type reference (TYPE) TH_GROUP_SCOPE 20070216
2 Importing IT_GROUP_KEY Call by reference Type reference (TYPE) TS_GROUP_KEY 20070216

Method READ_SCOPE4GROUPS on class /KYK/CL_ROLEFILTER has no exception.

Method SET_RESTRICTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RESTRICTION Call by reference Type reference (TYPE) SX_RESTRICTION 20070219

Method SET_RESTRICTION on class /KYK/CL_ROLEFILTER has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 603