Functionality This module displays an existing note in either display or change mode.The FCODE parameter controls the mode. If the FCODE parameter contains the value 'DISPLAY', the note isdisplayed. (Internally, the moduleRH_NOTE_DISPLAY> is called.) If the FCODEparameter contains the value 'CHANGE', an existing note is changed(using RH_NOTE_EDIT >), otherwise a note is created (usingRH_NOTE_INSERT>). If you want changes to be immediately effective in the database, youselect the parameter DIRECT_DB_CHANGE (enter X in the checkbox). You can specify infotypes whose notes (where available) take precedenceover the new note in table COLLECT_INFOTYPES.Example CALL FUNCTION "RH_NOTE_ACTION" EXPORTING INFOTYPE = P1001 FCODE = 'DISPLAY' EXCEPTIONS INTERNAL_ERROR = 1 ILLEGAL_INFOTYPE = 2 NOTE_NOT_FOUND = 3 NOTE_NOT_CREATED = 4 NO_AUTHORITY = 5 WRONG_FCODE = 6. Notes Do not change the parameter DIRECT_DB_CHANGE = SPACE.> If a value other than 'DISPLAY' or 'CHANGE' is transferred in FCODE,the exception WRONG_FCODE is generated. 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 returned. 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. If you do not require thischeck, you must enter 'X' in the NO_AUTHORITY_CHECK parameter.Further information See also the Documentation of the function group >. |