SAP Function RH_NOTE_RENAME_IN_BUFFER - HRMS: Note - Rename (Buffer Only)

Parameter Reference Type Length Default Optional Text
INFOTYPE_NEW_NAME 0 Infotype for which note should now exist
INFOTYPE_OLD_NAME 0 Infotype for which note was generated

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

Functionality
This module renames a note that has been created in the buffer but hasnot yet been saved to the database by means ofRH_NOTE_COMMIT.

Example
CALL FUNCTION "RH_NOTE_RENAME_IN_BUFFER"
EXPORTING
INFOTYPE_OLD_NAME = P1001_OLD
INFOTYPE_NEW_NAME = P1001_NEW
EXCEPTIONS
INTERNAL_ERROR = 1
ILLEGAL_INFOTYPE = 2
NOTE_NOT_FOUND = 3.

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.
No authorization check is carried out.

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