SAP Function RH_NOTE_AUTHORITY - HRMS: Note - Authorization Check

Parameter Reference Type Length Default Optional Text
FCODE PPPAR-FCODE C 20 'DISP' X Function code to be checked
INFOTYPE 0 Infotype for which note should be edited

Exception Text
ILLEGAL_INFOTYPE Note is not allowed for this infotype
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"
EXPORTING
INFOTYPE = P1001
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 the infotype.

Further information
See also the Documentation of the function group .