SAP ABAP Class CL_GRAC_DT_UTIL (Utility class to do calculations)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC-AC (Application Component) Access Control
⤷
GRAC_UI_UTILITIES (Package) Access Control GRC Various UI supporting infrastructures

⤷

⤷

Properties
Class | CL_GRAC_DT_UTIL | |
Short Description | Utility class to do calculations | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | GRAC_UI_UTILITIES | Access Control GRC Various UI supporting infrastructures |
Created | 20121026 | SAP |
Last change | 20141106 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_GRAC_DT_UTIL has no forward declaration.
Interfaces
Class CL_GRAC_DT_UTIL has no interface implemented.
Friends
Class CL_GRAC_DT_UTIL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | '{ "success": "false" }' | JSON Fail msg. | 20121229 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | '{ "success": "true" }' | JSON Success msg. | 20121229 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Parent role's approver need to be considered or not. | 20130124 |
2 | ![]() |
Static method | Public | Method | This removes special characters which JSON does not like | 20130307 |
3 | ![]() |
Static method | Public | Method | Filter Business process by Application Area | 20121026 |
4 | ![]() |
Static method | Public | Method | Filter System Results based on environment | 20121026 |
5 | ![]() |
Static method | Public | Method | Filter Systems by Application Area | 20121026 |
6 | ![]() |
Static method | Public | Method | Get actual end date | 20121026 |
7 | ![]() |
Static method | Public | Method | Get Range table for connector group | 20121120 |
8 | ![]() |
Static method | Public | Method | Gets role name results | 20121026 |
9 | ![]() |
Static method | Public | Method | Gets role name results | 20121026 |
10 | ![]() |
Static method | Public | Method | Get role type for the Role | 20130123 |
11 | ![]() |
Static method | Public | Method | Gets role name results | 20121026 |
12 | ![]() |
Static method | Public | Method | Will return user id from name string | 20130110 |
13 | ![]() |
Static method | Public | Method | Gets role name results | 20121026 |
14 | ![]() |
Static method | Public | Method | Gets possible user name combinations | 20130124 |
15 | ![]() |
Static method | Public | Method | This removes special characters which JSON does not like | 20121127 |
16 | ![]() |
Static method | Public | Method | Test method to check whether functionality works as desired | 20121026 |
Events
Class CL_GRAC_DT_UTIL has no event.
Types
Class CL_GRAC_DT_UTIL has no local type.
Method Signatures
Method CONSIDER_PARENT_APPROVER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ROLE_ID | Call by reference | Type reference (TYPE) | GRAC_ROLEID | Role ID | 20130124 | ||
2 | ![]() |
RV_CONSIDER_PARENT | Value transfer | Type reference (TYPE) | GRAC_BOOLEAN | Boolean | 20130124 |
Method CONSIDER_PARENT_APPROVER on class CL_GRAC_DT_UTIL has no exception.
Method ESCAPE_SPECIAL_CHARACTERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | Description | 20130307 | ||
2 | ![]() |
RETURNVALUE | Value transfer | Type reference (TYPE) | STRING | 20130307 |
Method ESCAPE_SPECIAL_CHARACTERS on class CL_GRAC_DT_UTIL has no exception.
Method FILTER_BP_BY_APPLICATION_AREA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
LT_BUSPROC | Call by reference | Type reference (TYPE) | GRAC_T_BPROC | Table type for Business Process | 20121026 | ||
2 | ![]() |
LT_CONGRPRANGE | Call by reference | Type reference (TYPE) | TABLE | 20121026 |
Method FILTER_BP_BY_APPLICATION_AREA on class CL_GRAC_DT_UTIL has no exception.
Method FILTER_BY_ENVIRONMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_CONNECTORS | Call by reference | Type reference (TYPE) | GRFN_T_CCICONNECTOR_LIST | CCI Connector List | 20121026 | ||
2 | ![]() |
IT_CONNECTORS | Call by reference | Type reference (TYPE) | GRFN_T_CCICONNECTOR_LIST | CCI Connector List | 20121026 | ||
3 | ![]() |
IV_ENVIRONMENT | Call by reference | Type reference (TYPE) | GRAC_SYS_TYPE | System Environment | 20121026 |
Method FILTER_BY_ENVIRONMENT on class CL_GRAC_DT_UTIL has no exception.
Method FILTER_CON_BY_APPLICATION_AREA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_APPLICATION_AREA | Call by reference | Type reference (TYPE) | GRFN_CONNGRPTYP | Connector Group type | 20121026 | ||
2 | ![]() |
LT_SYSTEM_LIST | Value transfer | Type reference (TYPE) | GRFN_T_CCICONNECTOR_LIST | CCI Connector List | 20121026 |
Method FILTER_CON_BY_APPLICATION_AREA on class CL_GRAC_DT_UTIL has no exception.
Method GET_ACTUAL_END_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ACTUAL_END_DATE | Value transfer | Type reference (TYPE) | GRAC_ACTUAL_END_DATE | Actual End Date | 20121026 | ||
2 | ![]() |
DAYS | Call by reference | Type reference (TYPE) | INT2 | 2 byte integer (signed) | 20121026 | ||
3 | ![]() |
MONTHS | Call by reference | Type reference (TYPE) | INT2 | 2 byte integer (signed) | 20121026 | ||
4 | ![]() |
TO_DATE | Call by reference | Type reference (TYPE) | GRAC_DATE | Date Description | 20121026 | ||
5 | ![]() |
YEARS | Call by reference | Type reference (TYPE) | INT2 | 2 byte integer (signed) | 20121026 |
Method GET_ACTUAL_END_DATE on class CL_GRAC_DT_UTIL has no exception.
Method GET_CON_GRP_RANGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_CONGRP_RANGE | Value transfer | Type reference (TYPE) | TABLE | 20121120 | |||
2 | ![]() |
LT_CONNGRP | Call by reference | Type reference (TYPE) | GRFN_T_CONNECTOR_GROUP | Connector Group | 20121120 |
Method GET_CON_GRP_RANGE on class CL_GRAC_DT_UTIL has no exception.
Method GET_ROLE_DESC_RESULTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RT_ROLES | Value transfer | Type reference (TYPE) | GRAC_T_DT_ROLE_SEARCH_RESULT | Table type for Role Search Result | 20121026 |
Method GET_ROLE_DESC_RESULTS on class CL_GRAC_DT_UTIL has no exception.
Method GET_ROLE_NAME_RESULTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RT_ROLES | Value transfer | Type reference (TYPE) | GRAC_T_DT_ROLE_SEARCH_RESULT | Table type for Role Search Result | 20121026 |
Method GET_ROLE_NAME_RESULTS on class CL_GRAC_DT_UTIL has no exception.
Method GET_ROLE_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ROLE_ID | Call by reference | Type reference (TYPE) | GRAC_ROLEID | Role ID | 20130123 | ||
2 | ![]() |
RV_ROLE_TYPE | Value transfer | Type reference (TYPE) | GRAC_ROLE_TYPE | Role Type | 20130123 |
Method GET_ROLE_TYPE on class CL_GRAC_DT_UTIL has no exception.
Method GET_TCODE_NAME_RESULTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RT_ROLES | Value transfer | Type reference (TYPE) | GRAC_T_DT_ROLE_SEARCH_RESULT | Table type for Role Search Result | 20121026 |
Method GET_TCODE_NAME_RESULTS on class CL_GRAC_DT_UTIL has no exception.
Method GET_USER_ID_FROM_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_USERNAME | Call by reference | Type reference (TYPE) | STRING | 20130110 | |||
2 | ![]() |
RV_USERID | Value transfer | Type reference (TYPE) | STRING | 20130110 |
Method GET_USER_ID_FROM_NAME on class CL_GRAC_DT_UTIL has no exception.
Method GET_USER_NAME_RESULTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RT_ROLES | Value transfer | Type reference (TYPE) | GRAC_T_DT_ROLE_SEARCH_RESULT | Table type for Role Search Result | 20121026 |
Method GET_USER_NAME_RESULTS on class CL_GRAC_DT_UTIL has no exception.
Method GET_USER_NAME_SET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_USER_SEARCH_CRITERIA | Value transfer | Type reference (TYPE) | GRFN_T_SEARCH_CRITERIA | Table for setting search param | 20130124 | ||
2 | ![]() |
IV_SEARCH_VALUE | Call by reference | Type reference (TYPE) | STRING | 20130124 |
Method GET_USER_NAME_SET on class CL_GRAC_DT_UTIL has no exception.
Method REMOVE_SPECIAL_CHARACTERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DESCRIPTION | Call by reference | Type reference (TYPE) | GRAC_DESCN | Description | 20121127 | ||
2 | ![]() |
LONGDESC | Call by reference | Type reference (TYPE) | GRAC_LONG_DESCN | Long Description | 20121127 | ||
3 | ![]() |
RETURNVALUE | Value transfer | Type reference (TYPE) | STRING | 20121127 | |||
4 | ![]() |
ROLENAME | Call by reference | Type reference (TYPE) | GRAC_ROLE_NAME | Role Name | 20121127 |
Method REMOVE_SPECIAL_CHARACTERS on class CL_GRAC_DT_UTIL has no exception.
Method SEARCH_ROLES_BY_KEYWORD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ROLE_RESULTS | Value transfer | Type reference (TYPE) | GRAC_T_DT_ROLE_SEARCH_RESULT | Table type for Role Search Result | 20121026 |
Method SEARCH_ROLES_BY_KEYWORD on class CL_GRAC_DT_UTIL has no exception.
History
Last changed by/on | SAP | 20141106 |
SAP Release Created in | V1100 |