SAP Function RH_NOTE_CATALOG - HRMS: Note - List of All Existing Notes

Parameter Reference Type Length Default Optional Text
INFTY HRTXTKEY0-INFTY C 4 Infotype to be found
NOTES_IN_BUFFER C C 0 SPACE X List notes in buffer
NOTES_IN_DATABASE C C 0 'X' X List notes in database
OBJID HRTXTKEY0-OBJID N 8 '00000000' X Object number to be found
OTYPE HRTXTKEY0-OTYPE C 2 Object type to be found
PLVAR HRTXTKEY0-PLVAR C 2 '*' X Plan version to be found
SUBTY HRTXTKEY0-SUBTY C 4 Subtype to be found

Parameter Reference Type Length Text
ENTRIES SYST-TFILL I 4 Number of texts found

Parameter Reference Length Optional Text
INFOTYPES WPLOG 1086 X Relationships for Texts Found

Exception Text
INTERNAL_ERROR System error
NO_AUTHORITY No authorization for this function

Functionality
This module reads all of the administration entries for notes in theSAPscript database.
You can set various search restrictions and use wildcards in thesearch.
You can specify whether the display includes only notes that have beensaved using the parameters NOTES_IN_BUFFER and NOTES_IN_DATABASE(default setting) or whether the display should also include notes inthe update buffer (before calling RH_NOTE_COMMIT
).

Example
CALL FUNCTION "RH_NOTE_CATALOG"
IMPORTING
ENTRIES = NUMBER_OF_NOTES_FOUND
TABLES
INFOTYPES = P1045_TAB
EXCEPTIONS
INTERNAL_ERROR = 1.

Notes
The search interval you define should be as restricted as possible, asotherwise the system has to search through all notes. Please note thatthe system only considers the search restriction up to the firstwildcard you enter. All other wildcards serve to further restrict theresulting hitlist.
If you want to read notes for relationships, use the function moduleRH_NOTE_CATALOG_1001
.

Further information
For more information, refer to the function groupdocumentation.