SAP ABAP Class CL_CRM_UI_PROFILE_DETERM (Profile determination)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-WUI-APF (Application Component) Application Frame
     CRM_BSP_UI_FRAME_CORE (Package) Application Frame DDIC, Services and Utilities
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WCF_UST_ROLE_API Role API 20091014
Properties
Class CL_CRM_UI_PROFILE_DETERM  
Short Description Profile determination    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CRM_BSP_UI_FRAME_CORE   Application Frame DDIC, Services and Utilities 
Created 20060216   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_CRM_UI_PROFILE_DETERM has no interface implemented.
Friends
Class CL_CRM_UI_PROFILE_DETERM has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GV_SKIP_NOCOOKIE_CHECK Instance attribute Public Type reference (TYPE) CRMT_BOOLEAN Boolean to control the nocookie check 20060419
2 PROFILES Instance attribute Protected Type reference (TYPE) CRMT_IC_PROFILE_SLCTS table of IC profile selections 20080410
3 PROFILES_LOADED Instance attribute Protected Type reference (TYPE) ABAP_BOOL Business Roles Have Already Been Loaded 20100222
4 PROFILES_NESTED Instance attribute Protected Type reference (TYPE) CRMT_UI_PROFILE_TABLE Business Roles 20080416
5 PROFILE_SOURCE_ORG Constant Public Type reference (TYPE) CRMT_UI_PROFILE_SOURCE 'A' Source = Organizational Management 20080410
6 PROFILE_SOURCE_PARAM Constant Public Type reference (TYPE) CRMT_UI_PROFILE_SOURCE 'C' Source = User Parameter 20080410
7 PROFILE_SOURCE_PFCG Constant Public Type reference (TYPE) CRMT_UI_PROFILE_SOURCE 'B' Source = PFCG Role 20080410
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_PROFILE_INDEX_ORG_TABLE Instance method Protected Method 20060411
2 APPEND_PROFILE_INDEX_TABLE Instance method Protected Method 20060411
3 DETERMINE_PROFILE_VIA_ORG_MGMT Instance method Public Method 20060411
4 ENH_RESTRICT_ACCESS Instance method Private Method Enhancement: Restrict access 20101129
5 GET_NEXT_PAGE Instance method Public Method 20060216
6 GET_PROFILES Instance method Public Method Obsolete - Instead Use GET_PROFILES_NESTED 20060216
7 GET_PROFILES_NESTED Instance method Public Method Get Available Business Roles As Nested Table 20080416
8 GET_PROFILE_DESCRIPTIONS Instance method Protected Method Get Descriptions of Business Roles 20080417
9 GET_SINGLE_ROLE Instance method Public Method Returns the name of one business role 20080215
10 HAS_MULTIPLE_PROFILES Instance method Public Method True If User is Assigned to Multiple Business Roles 20060216
11 IS_ROLE_ASSIGNED Instance method Public Method Is Business Role Assigned to User 20080215
12 LOAD_FROM_ORG_MANAGEMENT Instance method Protected Method Get Business Roles From Organizational Management Assignment 20060411
13 LOAD_FROM_PFCG_ROLE Instance method Protected Method Get Business Roles From PFCG Role Assignment 20060419
14 LOAD_FROM_USER_PARAMETER Instance method Protected Method Get Business Role From User Parameter 20080410
15 LOAD_PROFILES Instance method Public Method Load All Business Roles That are Assigned to a User 20060216
16 SELECT_PROFILE_BY_INDEX Instance method Public Method 20060216
17 SELECT_SINGLE_PROFILE Instance method Public Method 20060216
18 SET_PROFILE_IF_ASSIGNED Instance method Public Method Sets a profile by name, only if assigned to user 20070511
Events
# Event Type Visibility Description Created on
1 PROFILE_CHANGE Static Event
(1)
Public
(2)
Profile has changed 20070418
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_OBJEC_TAB Protected See coding 20060411 ty_objec_tab TYPE STANDARD TABLE OF objec
2 TY_PROFILE_INDEX_ORG_TAB Public See coding 20060411 ty_profile_index_org_tab TYPE STANDARD TABLE OF crmt_ui_profile_index_org
3 TY_PROFILE_INDEX_TAB Public See coding 20060411 ty_profile_index_tab TYPE STANDARD TABLE OF crmt_ui_profile_index
Method Signatures

Method APPEND_PROFILE_INDEX_ORG_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PROFILE_INDEX_ORG Call by reference Type reference (TYPE) TY_PROFILE_INDEX_ORG_TAB 20060411
2 Importing IT_OBJECT_LOOKUP Call by reference Type reference (TYPE) TY_OBJEC_TAB 20060411
3 Importing IV_INDEX Call by reference Type reference (TYPE) CRMT_UI_ORGIND Organization Index 20060411
4 Importing IV_INDEX_SEQ Call by reference Type reference (TYPE) CRMT_UI_INDSEQ Sequence for Index 20060411
5 Importing IV_OBJID Call by reference Type reference (TYPE) PD_OBJID_R Object ID 20060411
6 Importing IV_OBJTYPE Call by reference Type reference (TYPE) OTYPE Object Type 20060411

Method APPEND_PROFILE_INDEX_ORG_TABLE on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method APPEND_PROFILE_INDEX_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PROFILE_INDEX Call by reference Type reference (TYPE) TY_PROFILE_INDEX_TAB 20060411
2 Importing IV_INDEX Call by reference Type reference (TYPE) CRMT_UI_ORGIND Organization Index 20060411
3 Importing IV_PROFILE Call by reference Type reference (TYPE) CRMT_UI_PROFILE Business Role 20060411

Method APPEND_PROFILE_INDEX_TABLE on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method DETERMINE_PROFILE_VIA_ORG_MGMT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PROFILE_INDEX Call by reference Type reference (TYPE) TY_PROFILE_INDEX_TAB 20060411
2 Changing CT_PROFILE_INDEX_ORG Call by reference Type reference (TYPE) TY_PROFILE_INDEX_ORG_TAB 20060411
3 Importing IV_CURRENT_DATE Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20060411
4 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME User Name 20060411

Method DETERMINE_PROFILE_VIA_ORG_MGMT on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method ENH_RESTRICT_ACCESS Signature

Method ENH_RESTRICT_ACCESS on class CL_CRM_UI_PROFILE_DETERM has no parameter.
Method ENH_RESTRICT_ACCESS on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method GET_NEXT_PAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RUNTIME Call by reference Object reference (TYPE REF TO) IF_BSP_RUNTIME Business Server Page (BSP) Runtime 20060424
2 Returning RV_RESULT Value transfer Type reference (TYPE) STRING 20060216

Method GET_NEXT_PAGE on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method GET_PROFILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RESULT Value transfer Object reference (TYPE REF TO) DATA 20060216

Method GET_PROFILES on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method GET_PROFILES_NESTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RESULT Value transfer Type reference (TYPE) CRMT_UI_PROFILE_TABLE Business Roles 20080416

Method GET_PROFILES_NESTED on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method GET_PROFILE_DESCRIPTIONS Signature

Method GET_PROFILE_DESCRIPTIONS on class CL_CRM_UI_PROFILE_DETERM has no parameter.
Method GET_PROFILE_DESCRIPTIONS on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method GET_SINGLE_ROLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_INDEX Call by reference Type reference (TYPE) SYTABIX 1 Index of Internal Tables 20080215
2 Returning RV_ROLE_NAME Value transfer Type reference (TYPE) CRMT_IC_PROFILE Name of the role for the given index 20080215

Method GET_SINGLE_ROLE on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method HAS_MULTIPLE_PROFILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20060216

Method HAS_MULTIPLE_PROFILES on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method IS_ROLE_ASSIGNED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PROFILE Call by reference Type reference (TYPE) SIMPLE Business Role 20080215
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL True if user has profile assigned 20080215

Method IS_ROLE_ASSIGNED on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method LOAD_FROM_ORG_MANAGEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME User Name 20060412

Method LOAD_FROM_ORG_MANAGEMENT on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method LOAD_FROM_PFCG_ROLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME User Name 20060419

Method LOAD_FROM_PFCG_ROLE on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method LOAD_FROM_USER_PARAMETER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME User Name 20080410

Method LOAD_FROM_USER_PARAMETER on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method LOAD_PROFILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GET_FROM_ORG Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Use Organizational Management as Source 20080410
2 Importing IV_GET_FROM_PARAM Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Use User Parameter as Source 20080410
3 Importing IV_GET_FROM_PFCG Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Use PFCG Role as Source 20080410
4 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20060412
5 Returning RV_FOUND_PROFILES Value transfer Type reference (TYPE) ABAP_BOOL True: User has profiles, False: User has no profiles 20060720

Method LOAD_PROFILES on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method SELECT_PROFILE_BY_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REQUEST Call by reference Object reference (TYPE REF TO) IF_HTTP_REQUEST HTTP Framework (iHTTP) HTTP Request 20060223
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20060223

Method SELECT_PROFILE_BY_INDEX on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method SELECT_SINGLE_PROFILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_INDEX Call by reference Type reference (TYPE) SYTABIX 1 Index of Internal Tables 20060223

Method SELECT_SINGLE_PROFILE on class CL_CRM_UI_PROFILE_DETERM has no exception.

Method SET_PROFILE_IF_ASSIGNED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORG_OBJID Call by reference Type reference (TYPE) SIMPLE Object id of organizational management 20080424
2 Importing IV_ORG_OBJTYPE Call by reference Type reference (TYPE) SIMPLE Object type of organizational management 20080424
3 Importing IV_PROFILE Call by reference Type reference (TYPE) SIMPLE Business role 20070511
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL True if user has profile assigned 20070511

Method SET_PROFILE_IF_ASSIGNED on class CL_CRM_UI_PROFILE_DETERM has no exception.
Event Signatures

Event PROFILE_CHANGE Signature
Event PROFILE_CHANGE on class CL_CRM_UI_PROFILE_DETERM has no parameter.
History
Last changed by/on SAP  20110908 
SAP Release Created in 700