Configuring Template Roles

To enable template roles for access requests, you implement the GRAC_TEMPALTE_ROLE BAdI.

Methods

The following methods are available for the BAdI.

Method

Description

IS_TEMPLATE_ROLE

You use this method to specify which business roles the application considers as template roles. For example, you can specify that any roles with the naming scheme of Z_Template_role... are considered template roles.

GET_URL

You use this method to get the URL of the custom application. This method is called when the template role is added to the request. The URL returned by this method is displayed as a new window and displays the details of the role,

VALIDATE_ROLE

You use this method to check the consistency of the template role. The application calls this method during submission of an access request. This method checks if the additional information provided in the custom application is consistent.

This method implementation should return a list of error and success messages.

GET_PROVISIONING_TYPE

You use this method to determine whether standard or custom provisioning is required for the access request. The application calls this method during provisioning.

Provisioning type of 1 means it is custom provisioning.

GET_PROVISIONING_OBJECTS

You use this method to return the list of objects to be provisioned. This method is called only when the GET_PROVISIONING_TYPE method returns a value of1 (custom provisioning).

SET_PROVISIONING_STATUS

You use this method to provide the status of the provisioning.