SAP ABAP Class CL_NWBC_COMPARE_ROLE_ASSIST (Assistance Class for Menu Role Comparison)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-FES-BUS (Application Component) Netweaver Business Client
     SAP_NWBC (Package) NetWeaver Business Client
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WD_COMPONENT_ASSISTANCE Basis for a Web Dynpro assistance class 20100416
Properties
Class CL_NWBC_COMPARE_ROLE_ASSIST  
Short Description Assistance Class for Menu Role Comparison    
Super Class CL_WD_COMPONENT_ASSISTANCE Basis for a Web Dynpro assistance class 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SAP_NWBC   NetWeaver Business Client 
Created 20100416   SAP 
Last change 20130531   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)
2 CL_NWBC_COMPARE_ROLE_ASSIST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_NWBC_COMPARE_ROLE_ASSIST has no interface implemented.
Friends
Class CL_NWBC_COMPARE_ROLE_ASSIST has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DISPLAY_ROLE_MODE_BOTH Static Attribute Public Type reference (TYPE) STRING 'DISPLAY_ROLE_MODE_BOTH' 20100512
2 GC_DISPLAY_ROLE_MODE_SINGLE Static Attribute Public Type reference (TYPE) STRING 'DISPLAY_ROLE_MODE_SINGLE' 20100512
3 GC_FILTER_DIFFERENT Static Attribute Public Type reference (TYPE) STRING 'FILTER_DIFFERENT' 20100617
4 GC_FILTER_EQUAL Static Attribute Public Type reference (TYPE) STRING 'FILTER_EQUAL' 20100617
5 GC_FILTER_MASTER Static Attribute Public Type reference (TYPE) STRING 'FILTER_MASTER' 20100617
6 GC_FILTER_SLAVE Static Attribute Public Type reference (TYPE) STRING 'FILTER_SLAVE' 20100617
7 GC_ICON_DIFFERENT Static Attribute Public Type reference (TYPE) WDG_UR_WEB_ICON_ALIAS '~Icon/QuantityVariance' Cross-Application Icon Alias 20100428
8 GC_ICON_EQUAL Static Attribute Public Type reference (TYPE) WDG_UR_WEB_ICON_ALIAS '~Icon/Dependencies' Cross-Application Icon Alias 20100428
9 GC_ICON_FOLDER Static Attribute Public Type reference (TYPE) WDG_UR_WEB_ICON_ALIAS '~Icon/FolderFile' Cross-Application Icon Alias 20100428
10 GC_ICON_MASTER_ADDITIONAL Static Attribute Public Type reference (TYPE) WDG_UR_WEB_ICON_ALIAS '~Icon/AddFile' Cross-Application Icon Alias 20100428
11 GC_ICON_SLAVE_ADDITIONAL Static Attribute Public Type reference (TYPE) WDG_UR_WEB_ICON_ALIAS '~Icon/NewItem' Cross-Application Icon Alias 20100428
12 GC_ICON_SLAVE_FOLDER Static Attribute Public Type reference (TYPE) WDG_UR_WEB_ICON_ALIAS '~Icon/FolderFileAlias' Cross-Application Icon Alias 20100428
13 MT_MESSAGES Instance attribute Private Type reference (TYPE) TT_MESSAGES 20100617
14 MT_RESULT Instance attribute Private Type reference (TYPE) TT_COMPARE_ROLE_RESULT 20100430
15 MT_ROLE_BUFFER Instance attribute Private Type reference (TYPE) TT_ROLE_BUFFER 20100511
16 MT_URL_TYPES Instance attribute Private Type reference (TYPE) URL_TEXTXT Texts for the URL Exits 20100517
17 MV_DISPLAY_ROLE_MODE Instance attribute Private Type reference (TYPE) STRING 20100512
18 MV_FILTER Instance attribute Private Type reference (TYPE) STRING 20100617
19 MV_FILTER_ACTIVE Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100617
20 MV_LANGUAGE Instance attribute Private Type reference (TYPE) SPRAS Language Key 20100429
21 MV_MASTER_ROLE Instance attribute Private Type reference (TYPE) AGR_NAME Role Name 20100511
22 MV_ROLE_1 Instance attribute Private Type reference (TYPE) AGR_NAME 20100511
23 MV_ROLE_2 Instance attribute Private Type reference (TYPE) AGR_NAME 20100511
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Private Method add a message 20100617
2 APPLY_FILTER Instance method Private Method apply the filter 20100617
3 COMPARE_ENTRIES Instance method Private Method compare two entries 20100611
4 COMPARE_ROLES Instance method Private Method compare the two roles 20100416
5 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20100510
6 DISABLE_FILTER Instance method Public Method disable the filter 20100617
7 ENABLE_FILTER Instance method Public Method enable the filter 20100617
8 GET_COMPARISON_RESULT Instance method Public Method compare the two roles 20100429
9 GET_NODE_TYPE Instance method Private Method get node type and description for one entry 20100517
10 GET_OBN_DETAILS Instance method Public Method 20100520
11 GET_OBN_METHODS Instance method Public Method 20100518
12 GET_OBN_PARAMS Instance method Public Method 20100520
13 GET_ROLES_DATA Instance method Private Method load data of the role 20100416
14 GET_ROLE_ENTRY Instance method Public Method get role entry 20100511
15 INVALIDATE_RESULT_BUFFER Instance method Public Method invalidate result buffer 20100511
16 INVALIDATE_ROLE_BUFFER Instance method Public Method invalidate buffer 20100511
17 MARK_DIFFERENCIES Instance method Public Method 20100511
18 PROVIDE_LANGUAGES Instance method Public Method provide languages 20100707
19 PULL_MESSAGES Instance method Public Method returns the messages and clears the buffer 20100617
20 SET_DISPLAY_ROLE_MODE Instance method Public Method 20100512
21 SET_FILTER Instance method Public Method set&enable the filter 20100617
22 SET_LANGUAGE Instance method Public Method Sets the language to use 20100429
23 SET_MASTER_ROLE Instance method Public Method Sets the Master Role 20100504
24 SET_ROLES Instance method Public Method Sets the Roles to handle with 20100416
Events
Class CL_NWBC_COMPARE_ROLE_ASSIST has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_MESSAGE Public See coding 20100617 BEGIN OF ts_message, msgty TYPE bapi_mtype, msgid TYPE symsgid, msgno TYPE symsgno, message TYPE bapi_msg, msgv1 TYPE symsgv, msgv2 TYPE symsgv, msgv3 TYPE symsgv, msgv4 TYPE symsgv, END OF ts_message
2 TS_ROLE_BUFFER Private See coding 20100429 BEGIN OF ts_role_buffer, role_name TYPE agr_name, destination type RFCDEST, is_master_role TYPE abap_bool, language TYPE laiso, t_entries TYPE tt_role_entries, t_obn_methods TYPE STANDARD TABLE OF agr_dtl_bor_methods WITH DEFAULT KEY, t_obn_params TYPE STANDARD TABLE OF agr_dtl_bor_params WITH DEFAULT KEY, END OF ts_role_buffer
3 TT_COMPARE_ROLE_RESULT Private See coding 20100430 tt_compare_role_result TYPE STANDARD TABLE OF nwbc_s_compare_role_result WITH DEFAULT KEY
4 TT_MESSAGES Public See coding 20100617 tt_messages TYPE SORTED TABLE OF ts_message WITH UNIQUE KEY msgty msgid msgno msgv1 msgv2 msgv3 msgv4
5 TT_OBN_METHODS Public See coding 20100518 tt_obn_methods TYPE STANDARD TABLE OF agr_dtl_bor_methods WITH DEFAULT KEY
6 TT_OBN_PARAMS Public See coding 20100518 tt_obn_params TYPE STANDARD TABLE OF agr_dtl_bor_params WITH DEFAULT KEY
7 TT_ROLE_BUFFER Private See coding 20100511 tt_role_buffer TYPE HASHED TABLE OF ts_role_buffer WITH UNIQUE KEY role_name
8 TT_ROLE_ENTRIES Public See coding 20100510 tt_role_entries TYPE STANDARD TABLE OF nwbc_s_compare_role_entry WITH DEFAULT KEY
Method Signatures

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MESSAGE Call by reference Type reference (TYPE) BAPI_MSG Message Text 20100617
2 Importing IV_MSGID Call by reference Type reference (TYPE) MSGID Message identification 20100617
3 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO Message Number 20100617
4 Importing IV_MSGTY Call by reference Type reference (TYPE) BAPI_MTYPE Message type: S Success, E Error, W Warning, I Info, A Abort 20100617
5 Importing IV_MSGV1 Call by reference Type reference (TYPE) SYMSGV Message Variable 20100617
6 Importing IV_MSGV2 Call by reference Type reference (TYPE) SYMSGV Message Variable 20100617
7 Importing IV_MSGV3 Call by reference Type reference (TYPE) SYMSGV Message Variable 20100617
8 Importing IV_MSGV4 Call by reference Type reference (TYPE) SYMSGV Message Variable 20100617

Method ADD_MESSAGE on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method APPLY_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RESULT Call by reference Type reference (TYPE) TT_COMPARE_ROLE_RESULT 20100617

Method APPLY_FILTER on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method COMPARE_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_DIFFERENT Call by reference Type reference (TYPE) ABAP_BOOL 20100611
2 Exporting EV_OBN_IS_DIFFERENT Call by reference Type reference (TYPE) ABAP_BOOL 20100614
3 Importing IV_M_OBJECT_ID Call by reference Type reference (TYPE) MENU_NUM_8 Counter for Menu ID 20100611
4 Importing IV_M_ROLE_NAME Call by reference Type reference (TYPE) AGR_NAME Role Name 20100611
5 Importing IV_S_OBJECT_ID Call by reference Type reference (TYPE) MENU_NUM_8 Counter for Menu ID 20100611
6 Importing IV_S_ROLE_NAME Call by reference Type reference (TYPE) AGR_NAME Role Name 20100611

Method COMPARE_ENTRIES on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method COMPARE_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_RESULT Value transfer Type reference (TYPE) NWBC_T_COMPARE_ROLE_RESULT Table Type for Role Comparison 20100416

Method COMPARE_ROLES on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method CONSTRUCTOR Signature

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

Method DISABLE_FILTER Signature

Method DISABLE_FILTER on class CL_NWBC_COMPARE_ROLE_ASSIST has no parameter.
Method DISABLE_FILTER on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method ENABLE_FILTER Signature

Method ENABLE_FILTER on class CL_NWBC_COMPARE_ROLE_ASSIST has no parameter.
Method ENABLE_FILTER on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method GET_COMPARISON_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_RESULT Value transfer Type reference (TYPE) NWBC_T_COMPARE_ROLE_RESULT Table Type for Role Comparison 20100429

Method GET_COMPARISON_RESULT on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method GET_NODE_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NODE_DESCRIPTION Call by reference Type reference (TYPE) STRING 20100517
2 Exporting EV_NODE_NAME Call by reference Type reference (TYPE) EXTDREPORT Extended Program Name 20100517
3 Importing IV_REPORT Call by reference Type reference (TYPE) EXTDREPORT Extended Program Name 20100517
4 Importing IV_REPORTTYPE Call by reference Type reference (TYPE) REPORTTYPE Report type 20100517
5 Importing IV_TEXT Call by reference Type reference (TYPE) SSM_TITLE Menu entry text 20100517
6 Importing IV_URL Call by reference Type reference (TYPE) AGR_URL URL for the SAP Portal 20100517

Method GET_NODE_TYPE on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method GET_OBN_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_OBN_DETAILS Call by reference Type reference (TYPE) AGR_DTL_BOR_METHODS 20100520
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) MENU_NUM_8 20100520
3 Importing IV_ROLE_NAME Call by reference Type reference (TYPE) AGR_NAME 20100520
4 Importing IV_UNIQUE_NR Call by reference Type reference (TYPE) INT4 20100520

Method GET_OBN_DETAILS on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method GET_OBN_METHODS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBN_METHODS Call by reference Type reference (TYPE) TT_OBN_METHODS 20100518
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) MENU_NUM_8 20100518
3 Importing IV_ROLE_NAME Call by reference Type reference (TYPE) AGR_NAME 20100518

Method GET_OBN_METHODS on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method GET_OBN_PARAMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBN_PARAMS Call by reference Type reference (TYPE) TT_OBN_PARAMS Additional Details for Role Menu Items: Parameters 20100520
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) MENU_NUM_8 Counter for Menu ID 20100520
3 Importing IV_ROLE_NAME Call by reference Type reference (TYPE) AGR_NAME Role Name 20100520
4 Importing IV_UNIQUE_NR Call by reference Type reference (TYPE) INT4 Natural number 20100520

Method GET_OBN_PARAMS on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method GET_ROLES_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ROLE_ENTRIES Call by reference Type reference (TYPE) CL_NWBC_COMPARE_ROLE_ASSIST=>TT_ROLE_ENTRIES 20100510
2 Importing IV_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20100617
3 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SPRAS Language Key 20100511
4 Importing IV_ROLE_NAME Call by reference Type reference (TYPE) AGR_NAME Role Name 20100518

Method GET_ROLES_DATA on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method GET_ROLE_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) MENU_NUM_8 Counter for Menu ID 20100511
2 Importing IV_ROLE_NAME Call by reference Type reference (TYPE) AGR_NAME Role Name 20100511
3 Returning RS_ROLE_ENTRY Value transfer Type reference (TYPE) NWBC_S_COMPARE_ROLE_ENTRY UI Structure to display one Entry 20100511

Method GET_ROLE_ENTRY on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method INVALIDATE_RESULT_BUFFER Signature

Method INVALIDATE_RESULT_BUFFER on class CL_NWBC_COMPARE_ROLE_ASSIST has no parameter.
Method INVALIDATE_RESULT_BUFFER on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method INVALIDATE_ROLE_BUFFER Signature

Method INVALIDATE_ROLE_BUFFER on class CL_NWBC_COMPARE_ROLE_ASSIST has no parameter.
Method INVALIDATE_ROLE_BUFFER on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method MARK_DIFFERENCIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ND_MASTER_ENTRY Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE Web Dynpro: Interface for Context Nodes 20100511
2 Importing IO_ND_SLAVE_ENTRY Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE Web Dynpro: Interface for Context Nodes 20100511

Method MARK_DIFFERENCIES on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method PROVIDE_LANGUAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_WD_NODE_INFO Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE_INFO Web Dynpro: Interface for the metadata of a node 20100707

Method PROVIDE_LANGUAGES on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method PULL_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) TT_MESSAGES 20100617

Method PULL_MESSAGES on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method SET_DISPLAY_ROLE_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DISPLAY_ROLE_MODE Call by reference Type reference (TYPE) STRING 20100512

Method SET_DISPLAY_ROLE_MODE on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method SET_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILTER Call by reference Type reference (TYPE) STRING 20100617

Method SET_FILTER on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method SET_LANGUAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LAISO Language Key 20100429

Method SET_LANGUAGE on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method SET_MASTER_ROLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ROLE_NAME Call by reference Type reference (TYPE) AGR_NAME Role Name 20100518

Method SET_MASTER_ROLE on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.

Method SET_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DESTINATION_1 Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20100617
2 Importing IV_DESTINATION_2 Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20100617
3 Importing IV_ROLE_1 Call by reference Type reference (TYPE) AGR_NAME Role Name 20100416
4 Importing IV_ROLE_2 Call by reference Type reference (TYPE) AGR_NAME Role Name 20100416

Method SET_ROLES on class CL_NWBC_COMPARE_ROLE_ASSIST has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 703