使用SNOTE能查询到系统里implement的note列表:
可以使用下面的function module来查询:
DATA: ls_note TYPE bcwbn_note.
DATA: l_valid TYPE bcwbn_bool.
ls_note-key-numm = '1617787'.
CALL FUNCTION 'SCWB_NOTE_READ'
EXPORTING
iv_read_corr_instructions = 'X'
iv_read_short_text = 'X'
iv_read_all_texts = 'X'
iv_read_validity = 'X'
CHANGING
cs_note = ls_note
EXCEPTIONS
note_not_found = 1
language_not_found = 2
unreadable_text_format = 3
corr_instruction_not_found = 4
OTHERS = 5.
WRITE: / sy-subrc.
如果输入一个不存在的note number,会返回note_not_found的exception