SAP Function RH_NOTE_CATALOG_1001 - HRMS: Note - List of All Existing Notes (Relationships)

Parameter Reference Type Length Default Optional Text
ITXNR HRTXTKEYR-ITXNR N 8 $SSCR_ITXNR X Text number 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 HRTXTKEYR-OBJID N 8 '00000000' X Object number to be found
OTYPE HRTXTKEYR-OTYPE C 2 '*' X Object type to be found
PLVAR HRTXTKEYR-PLVAR C 2 '*' X Plan version to be found
SCLAS HRTXTKEYR-SCLAS C 2 '*' X Relationship object type to be found
SOBID HRTXTKEYR-SOBID C 45 '*' X Relationship object number to be found
SUBTY HRTXTKEYR-SUBTY C 4 '*' X Subtype to be found

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

Parameter Reference Length Optional Text
RELAT_TABLE P1001 736 X Relationships for texts found

Exception Text
INTERNAL_ERROR System error
NO_AUTHORITY No authorization for this function

Functionality
This module reads all relationships of notes that are in the SAPscriptdatabase.
You can set various search restrictions and use wildcards (*) in thesearch if required.
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_1001"
IMPORTING
ENTRIES = NUMBER_OF_NOTES_FOUND
TABLES
RELAT_TAB = NOTE_I1001
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 infotypes other that the Relationshipsinfotype (1001), use the function moduleRH_NOTE_CATALOG.

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