SAP Function RH_NOTE_PRINT - HRMS: Note- Print

Parameter Reference Type Length Default Optional Text
INFOTYPE 0 Infotype for which note should be edited
NO_AUTHORITY_CHECK C C 0 SPACE X Do not execute authorization check
PRINTER_DIALOG C C 0 'X' X Display print dialog
PRINTER_PARAMETERS ITCPO u 466 SPACE X Default parameters for printer dialog

Parameter Reference Type Length Text
PRINTER_RESULT ITCPO u 466 Parameters for printer dialog

Exception Text
ILLEGAL_INFOTYPE Note is not allowed for this infotype
INTERNAL_ERROR System error
NOTE_NOT_FOUND Note could not be found
NO_AUTHORITY No authorization for this function

Functionality
This module prints an existing note. A dialog box always appears,querying the name of the printer. In the INFOTYPE parameter, you mustspecify the relevant infotype for the module.

Example
CALL FUNCTION "RH_NOTE_PRINT"
EXPORTING
INFOTYPE = P1001
EXCEPTIONS
INTERNAL_ERROR = 1
ILLEGAL_INFOTYPE = 2
NOTE_NOT_FOUND = 3
NO_AUTHORITY = 4.

Notes
If no note is allowed for an infotype (table T77NT), the exceptionILLEGAL_INFOTYPE is generated. If no note exists for the infotypespecified, the exception NOTE_NOT_FOUND is generated.
The exception INTERNAL_ERROR is always returned if an internal functioncall returns a technical error.
The exception NO_AUTHORITY is generated if the user does not have therequired for an infotype. If you do not want this check to be made, youmust enter 'X' in the parameter NO_AUTHORITY_CHECK.'

Further information
For more information, refer to the documentation of thefunction group.