Functionality This module updates all notes changed with DIRECT_DB_CHANGE = SPACE. Itthen returns the number of records that were written to the database. If you specify nothing for the INFOTYPE parameter, all of the noteschanged up to this point are saved to the database. The parameter COMMIT_FLAG controls whether the function module shouldgenerate a COMMIT WORK ('X' active is the default) or whether this isdone by the calling program (SPACE). Example CALL FUNCTION "RH_NOTE_COMMIT" EXPORTING INFOTYPE = P1001 COMMIT_FLAG = 'X' EXCEPTIONS INTERNAL_ERROR = 1 ILLEGAL_INFOTYPE = 2 NOTE_NOT_FOUND = 3 NO_AUTHORITY = 4. Notes It is recommended that you always specify the parameter INFOTYPE toavoid notes from other programs being saved to the database.> If you call the function with COMMIT_FLAG = SPACE, you must ensure thata COMMIT WORK ends your program. If you do not want to save the changes you have made, you must call thefunction module RH_NOTE_CANCEL> since thechanges will otherwise remain active. If no note is allowed for the note (table T77NT), the exceptionILLEGAL_INFOTYPE is generated. The exception INTERNAL_ERROR is always generated in the event that aninternal function call returns a technical error. The exception NO_AUTHORITY is currently not supported.Further information For more information, refer to the function groupdocumentation>. |