Functionality This module lets you edit a new note. The note is displayed in thestandard SAPscript Editor. If you want changes saved directly to the databse, you must select theparameter DIRECT_DB_CHANGE (with 'X'). In the table COLLECT_INFOTYPES, you can specify infotypes whose notes(where relevant) take precedence over the new note. Example CALL FUNCTION "RH_NOTE_INSERT" EXPORTING INFOTYPE = P1001 DIRECT_DB_CHANGE = SPACE EXCEPTIONS INTERNAL_ERROR = 1 ILLEGAL_INFOTYPE = 2 NO_AUTHORITY = 3 NOTE_NOT_CREATED = 4. Notes Do not change the parameter DIRECT_DB_CHANGE = SPACE.> 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. The exception NO_AUTHORITY is generated if the user does not have therequired for an infotype. If you do not want this check to be made, youmust enter 'X' in the parameter NO_AUTHORITY_CHECK.' If you do not save the new note, the exception NOTE_NOT_CREATED isgenerated.Further information For more information, refer to the documentation of thefunction group>. |