SAP ABAP Class IF_GRAC_TEMPLATE_ROLE (Template role)
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface composition (i COMPRISING i_ref) | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20111028 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_GRAC_TEMPLATE_ROLE_BASE | Template role base class | 20110906 |
Properties
| Class | IF_GRAC_TEMPLATE_ROLE | |
| Short Description | Template role | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20110906 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class IF_GRAC_TEMPLATE_ROLE has no interface implemented.
Friends
Class IF_GRAC_TEMPLATE_ROLE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | GRAC_BOOLEAN | ' ' | The role is not template role | 20111123 | ||
| 2 | Constant | Public | Type reference (TYPE) | GRAC_BOOLEAN | 'X' | The role is template role | 20111123 | ||
| 3 | Constant | Public | Type reference (TYPE) | GRFN_UI_MODE | 'D' | Display mode | 20111028 | ||
| 4 | Constant | Public | Type reference (TYPE) | GRFN_UI_MODE | 'E' | Edit mode | 20111028 | ||
| 5 | Constant | Public | Type reference (TYPE) | GRAC_PROVISIONED | '4' | Provisioning Sucessful | 20111028 | ||
| 6 | Constant | Public | Type reference (TYPE) | GRAC_PROVISIONED | ' ' | Provisioning Sucessful | 20111028 | ||
| 7 | Constant | Public | Type reference (TYPE) | GRAC_PROVISIONED | '1' | Provisioning Sucessful | 20111028 | ||
| 8 | Constant | Public | Type reference (TYPE) | INT4 | '2' | Custom Provisioning | 20111028 | ||
| 9 | Constant | Public | Type reference (TYPE) | INT4 | '3' | Provisioning not required | 20111028 | ||
| 10 | Constant | Public | Type reference (TYPE) | INT4 | '1' | Standard Provisioning | 20111028 | ||
| 11 | Constant | Public | Type reference (TYPE) | INT4 | '4' | Error | 20111028 | ||
| 12 | Constant | Public | Type reference (TYPE) | INT4 | '0' | Error | 20111028 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Is the business role provided will act as template role | 20131213 | |
| 2 | Instance method | Public | Method | Get the objects that are to be provisioned | 20110906 | |
| 3 | Instance method | Public | Method | Check if standard provisioning is required or custom | 20110906 | |
| 4 | Instance method | Public | Method | Get URL of the application to be opened for template role | 20110906 | |
| 5 | Instance method | Public | Method | Is the business role provided will act as template role | 20111123 | |
| 6 | Instance method | Public | Method | 20130618 | ||
| 7 | Instance method | Public | Method | Set the provisioning status for template role | 20110906 | |
| 8 | Instance method | Public | Method | Validate the data of template role and return message | 20110906 |
Events
Class IF_GRAC_TEMPLATE_ROLE has no event.
Types
Class IF_GRAC_TEMPLATE_ROLE has no local type.
Method Signatures
Method CLEANUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_REQUEST_HEADER | Value transfer | Type reference (TYPE) | GRAC_S_API_REQ_DATA | Request Header Structure | 20131213 | |||
| 2 | IT_ASSIGNMENTS | Value transfer | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | Request lineitem | 20131213 | |||
| 3 | IT_REQSYSTEM | Value transfer | Type reference (TYPE) | GRAC_T_API_REQSYS | System Data | 20131213 | |||
| 4 | IT_REQUEST_OWNER | Value transfer | Type reference (TYPE) | GRAC_T_API_REQOWNER | Request owner | 20131213 | |||
| 5 | IT_REQUEST_USER | Value transfer | Type reference (TYPE) | GRAC_T_API_USER_INFO | User info | 20131213 | |||
| 6 | IT_TEMPLATE_ROLE | Value transfer | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | List of all template roles in request | 20131213 | |||
| 7 | IT_USERGROUPS | Value transfer | Type reference (TYPE) | GRAC_T_API_USERGROUPS | User Groups | 20131213 | |||
| 8 | IT_USERPARAM | Value transfer | Type reference (TYPE) | GRAC_T_API_USERPARAM | User Parameters | 20131213 | |||
| 9 | IV_SAVE_SUCESSFUL | Value transfer | Type reference (TYPE) | GRFN_BOOLEAN | Check if save was sucessful | 20131213 |
Method CLEANUP on class IF_GRAC_TEMPLATE_ROLE has no exception.
Method GET_PROVISIONING_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Value transfer | Type reference (TYPE) | BAPIRET2 | Messages that need to be logged in request audit log | 20111104 | |||
| 2 | CT_USER_ASSIGNMENTS | Value transfer | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | List of objects (role , profile) that is to be provisioned | 20111104 | |||
| 3 | CV_RETURN_CODE | Value transfer | Type reference (TYPE) | INT4 | 0 - sucess , 4 - error | 20111104 | |||
| 4 | IS_REQUEST_HEADER | Value transfer | Type reference (TYPE) | GRAC_S_API_REQ_DATA | Request Header Structure | 20111028 | |||
| 5 | IT_ASSIGNMENTS | Value transfer | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | Request lineitem | 20111028 | |||
| 6 | IT_REQSYSTEM | Value transfer | Type reference (TYPE) | GRAC_T_API_REQSYS | System Data | 20111028 | |||
| 7 | IT_REQUEST_OWNER | Value transfer | Type reference (TYPE) | GRAC_T_API_REQOWNER | Request owner | 20111028 | |||
| 8 | IT_REQUEST_USER | Value transfer | Type reference (TYPE) | GRAC_T_API_USER_INFO | User info | 20111028 | |||
| 9 | IT_USERGROUPS | Value transfer | Type reference (TYPE) | GRAC_T_API_USERGROUPS | User Groups | 20111028 | |||
| 10 | IT_USERPARAM | Value transfer | Type reference (TYPE) | GRAC_T_API_USERPARAM | User Parameters | 20111028 | |||
| 11 | IV_ROLE_NAME | Value transfer | Type reference (TYPE) | GRAC_ROLE_NAME | Role Name | 20111028 | |||
| 12 | IV_SYSTEM | Value transfer | Type reference (TYPE) | GRAC_REQSYSTEM | Application or Connector | 20131206 |
Method GET_PROVISIONING_OBJECTS on class IF_GRAC_TEMPLATE_ROLE has no exception.
Method GET_PROVISIONING_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Value transfer | Type reference (TYPE) | BAPIRET2 | Messages that need to be logged in request audit log | 20111104 | |||
| 2 | CV_PROVISIONING_TYPE | Value transfer | Type reference (TYPE) | INT4 | 0-Standard,1-custom,2-not required | 20111104 | |||
| 3 | CV_RETURN_CODE | Value transfer | Type reference (TYPE) | INT4 | 0 - sucess , 4 - error | 20111104 | |||
| 4 | IS_REQUEST_HEADER | Value transfer | Type reference (TYPE) | GRAC_S_API_REQ_DATA | Request Header Structure | 20111028 | |||
| 5 | IT_ASSIGNMENTS | Value transfer | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | Request lineitem | 20111028 | |||
| 6 | IT_REQSYSTEM | Value transfer | Type reference (TYPE) | GRAC_T_API_REQSYS | System Data | 20111028 | |||
| 7 | IT_REQUEST_OWNER | Value transfer | Type reference (TYPE) | GRAC_T_API_REQOWNER | Request owner | 20111028 | |||
| 8 | IT_REQUEST_USER | Value transfer | Type reference (TYPE) | GRAC_T_API_USER_INFO | User info | 20111028 | |||
| 9 | IT_USERGROUPS | Value transfer | Type reference (TYPE) | GRAC_T_API_USERGROUPS | User Groups | 20111028 | |||
| 10 | IT_USERPARAM | Value transfer | Type reference (TYPE) | GRAC_T_API_USERPARAM | User Parameters | 20111028 | |||
| 11 | IV_ROLE_NAME | Value transfer | Type reference (TYPE) | GRAC_ROLE_NAME | Role Name | 20111028 | |||
| 12 | IV_SYSTEM | Value transfer | Type reference (TYPE) | GRAC_REQSYSTEM | Application or Connector | 20131206 |
Method GET_PROVISIONING_TYPE on class IF_GRAC_TEMPLATE_ROLE has no exception.
Method GET_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Value transfer | Type reference (TYPE) | BAPIRET2 | Messages to be displayed on access request form | 20111104 | |||
| 2 | CV_APPLICATION_URL | Value transfer | Type reference (TYPE) | STRING | URL of application to be opened for template roles | 20111104 | |||
| 3 | CV_RETURN_CODE | Value transfer | Type reference (TYPE) | INT4 | 0 - sucess , 4 - Error | 20111104 | |||
| 4 | IS_REQUEST_HEADER | Value transfer | Type reference (TYPE) | GRAC_S_API_REQ_DATA | Request Header Structure | 20111028 | |||
| 5 | IT_ASSIGNMENTS | Value transfer | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | Request lineitem | 20111028 | |||
| 6 | IT_REQSYSTEM | Value transfer | Type reference (TYPE) | GRAC_T_API_REQSYS | System Data | 20111028 | |||
| 7 | IT_REQUEST_OWNER | Value transfer | Type reference (TYPE) | GRAC_T_API_REQOWNER | Request owner | 20111028 | |||
| 8 | IT_REQUEST_USER | Value transfer | Type reference (TYPE) | GRAC_T_API_USER_INFO | User info | 20111028 | |||
| 9 | IT_USERGROUPS | Value transfer | Type reference (TYPE) | GRAC_T_API_USERGROUPS | User Groups | 20111028 | |||
| 10 | IT_USERPARAM | Value transfer | Type reference (TYPE) | GRAC_T_API_USERPARAM | User Parameters | 20111028 | |||
| 11 | IV_MODE | Value transfer | Type reference (TYPE) | GRFN_UI_MODE | D - display , E - edit | 20110906 | |||
| 12 | IV_ROLE_NAME | Value transfer | Type reference (TYPE) | GRAC_ROLE_NAME | Role Name | 20111028 | |||
| 13 | IV_SYSTEM | Value transfer | Type reference (TYPE) | GRAC_REQSYSTEM | Application or Connector | 20131206 |
Method GET_URL on class IF_GRAC_TEMPLATE_ROLE has no exception.
Method IS_TEMPLATE_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Value transfer | Type reference (TYPE) | BAPIRET2 | Messages to be displayed on access request form | 20111123 | |||
| 2 | CV_IS_TEMPLATE_ROLE | Value transfer | Type reference (TYPE) | GRAC_BOOLEAN | space-No , X- Yes | 20111123 | |||
| 3 | CV_RETURN_CODE | Value transfer | Type reference (TYPE) | INT4 | 0 - sucess , 4 - Error | 20111123 | |||
| 4 | IS_REQUEST_HEADER | Value transfer | Type reference (TYPE) | GRAC_S_API_REQ_DATA | Request Header Structure | 20111123 | |||
| 5 | IT_ASSIGNMENTS | Value transfer | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | Request lineitem | 20111123 | |||
| 6 | IT_REQSYSTEM | Value transfer | Type reference (TYPE) | GRAC_T_API_REQSYS | System Data | 20111123 | |||
| 7 | IT_REQUEST_OWNER | Value transfer | Type reference (TYPE) | GRAC_T_API_REQOWNER | Request owner | 20111123 | |||
| 8 | IT_REQUEST_USER | Value transfer | Type reference (TYPE) | GRAC_T_API_USER_INFO | User info | 20111123 | |||
| 9 | IT_USERGROUPS | Value transfer | Type reference (TYPE) | GRAC_T_API_USERGROUPS | User Groups | 20111123 | |||
| 10 | IT_USERPARAM | Value transfer | Type reference (TYPE) | GRAC_T_API_USERPARAM | User Parameters | 20111123 | |||
| 11 | IV_ROLE_NAME | Value transfer | Type reference (TYPE) | GRAC_ROLE_NAME | Role Name | 20111123 | |||
| 12 | IV_SYSTEM | Value transfer | Type reference (TYPE) | GRAC_REQSYSTEM | Application or Connector | 20131206 |
Method IS_TEMPLATE_ROLE on class IF_GRAC_TEMPLATE_ROLE has no exception.
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRETTAB | Messages to be displayed on access request form | 20130618 | |||
| 2 | CV_RETURN_CODE | Call by reference | Type reference (TYPE) | INT4 | 0 - sucess , 4 - Error | 20130618 | |||
| 3 | IS_REQUEST_HEADER | Call by reference | Type reference (TYPE) | GRAC_S_API_REQ_DATA | Request Header Structure | 20130618 | |||
| 4 | IT_ASSIGNMENTS | Call by reference | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | Request lineitem | 20130618 | |||
| 5 | IT_REQSYSTEM | Call by reference | Type reference (TYPE) | GRAC_T_API_REQSYS | System Data | 20130618 | |||
| 6 | IT_REQUEST_OWNER | Call by reference | Type reference (TYPE) | GRAC_T_API_REQOWNER | Request owner | 20130618 | |||
| 7 | IT_REQUEST_USER | Call by reference | Type reference (TYPE) | GRAC_T_API_USER_INFO | User info | 20130618 | |||
| 8 | IT_TEMPLATE_ROLE | Call by reference | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | List of all template roles in request | 20130618 | |||
| 9 | IT_USERGROUPS | Call by reference | Type reference (TYPE) | GRAC_T_API_USERGROUPS | User Groups | 20130618 | |||
| 10 | IT_USERPARAM | Call by reference | Type reference (TYPE) | GRAC_T_API_USERPARAM | User Parameters | 20130618 |
Method SAVE on class IF_GRAC_TEMPLATE_ROLE has no exception.
Method SET_PROVISIONING_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_REQUEST_HEADER | Value transfer | Type reference (TYPE) | GRAC_S_API_REQ_DATA | Request Header Structure | 20111028 | |||
| 2 | IT_ASSIGNMENTS | Value transfer | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | Request lineitem | 20111028 | |||
| 3 | IT_PROVISIONING_STATUS | Call by reference | Type reference (TYPE) | IF_GRAC_AD_OUT_GRCPI_TYPES=>YT_OPERATION_RESULT | Provisioning Status | 20111223 | |||
| 4 | IT_REQSYSTEM | Value transfer | Type reference (TYPE) | GRAC_T_API_REQSYS | System Data | 20111028 | |||
| 5 | IT_REQUEST_OWNER | Value transfer | Type reference (TYPE) | GRAC_T_API_REQOWNER | Request owner | 20111028 | |||
| 6 | IT_REQUEST_USER | Value transfer | Type reference (TYPE) | GRAC_T_API_USER_INFO | User info | 20111028 | |||
| 7 | IT_USERGROUPS | Value transfer | Type reference (TYPE) | GRAC_T_API_USERGROUPS | User Groups | 20111028 | |||
| 8 | IT_USERPARAM | Value transfer | Type reference (TYPE) | GRAC_T_API_USERPARAM | User Parameters | 20111028 | |||
| 9 | IV_ROLE_NAME | Value transfer | Type reference (TYPE) | GRAC_ROLE_NAME | Role Name | 20111028 | |||
| 10 | IV_SYSTEM | Value transfer | Type reference (TYPE) | GRAC_REQSYSTEM | Application or Connector | 20131206 |
Method SET_PROVISIONING_STATUS on class IF_GRAC_TEMPLATE_ROLE has no exception.
Method VALIDATE_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Value transfer | Type reference (TYPE) | BAPIRETTAB | Messages to be displayed on access request form | 20111104 | |||
| 2 | CV_RETURN_CODE | Value transfer | Type reference (TYPE) | INT4 | 0 - success, 4 -error | 20111104 | |||
| 3 | IS_REQUEST_HEADER | Value transfer | Type reference (TYPE) | GRAC_S_API_REQ_DATA | Request Header Structure | 20111028 | |||
| 4 | IT_ASSIGNMENTS | Value transfer | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | Request lineitem | 20111028 | |||
| 5 | IT_REQSYSTEM | Value transfer | Type reference (TYPE) | GRAC_T_API_REQSYS | System Data | 20111028 | |||
| 6 | IT_REQUEST_OWNER | Value transfer | Type reference (TYPE) | GRAC_T_API_REQOWNER | Request owner | 20111028 | |||
| 7 | IT_REQUEST_USER | Value transfer | Type reference (TYPE) | GRAC_T_API_USER_INFO | User info | 20111028 | |||
| 8 | IT_TEMPLATE_ROLE | Call by reference | Type reference (TYPE) | GRAC_T_API_REQLINEITEM | Request lineitem | 20130618 | |||
| 9 | IT_USERGROUPS | Value transfer | Type reference (TYPE) | GRAC_T_API_USERGROUPS | User Groups | 20111028 | |||
| 10 | IT_USERPARAM | Value transfer | Type reference (TYPE) | GRAC_T_API_USERPARAM | User Parameters | 20111028 |
Method VALIDATE_ROLE on class IF_GRAC_TEMPLATE_ROLE has no exception.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in |