SAP Function RH_NOTE_AUTHORITY_ADMIN - HRMS: Note - Authorization Check (Administration)

Parameter Reference Type Length Default Optional Text
FCODE PPPAR-FCODE C 20 'DISP' X Function code to be checked

Exception Text
INTERNAL_ERROR System error
NO_AUTHORITY No authorization for this function

Functionality
This module checks whether the user has the required authorization toexecute the action specified in the FCODE parameter.

Example
CALL FUNCTION 'RH_NOTE_AUTHORITY_ADMIN'
EXPORTING
FCODE = 'INSE'
EXCEPTIONS
INTERNAL_ERROR = 1
NO_AUTHORITY = 2.

Notes
The exception INTERNAL_ERROR is always returned when a technical erroris returned by an internal function call.
The exception NO_AUTHORITY is generated if the user does not have therequired authorization for all plan versions (with the pertinentfunction code).

Further information
See also the Documentation of the function group.