Menu

SAP Function Module CRM_ROLES_OF_USER_GET

Read Roles for a User

The Function Module CRM_ROLES_OF_USER_GET (Read Roles for a User) is a standard Function Module in SAP ERP and is part of the function group CRM_PRT_URL_RUNTIME within the package CRM_BSP_URL_GENERATION.

Technical Information

Function Module CRM_ROLES_OF_USER_GET
Short Text Read Roles for a User
Function Group CRM_PRT_URL_RUNTIME
Package CRM_BSP_URL_GENERATION
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
USER_NAME LIKE SY-UNAME SY-UNAME User Name

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ROLES_OF_USER LIKE CRMT_ROLES_OF_USER Assignment List User <-> Roles

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
NO_ROLES_AVAILABLE Users Not Assigned to a Role