SCWN_NOTE_VERSION_DISPLAY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for SAP Note Display and Comparison The report displays individual SAP Notes and their comparison (low level)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SCWN_NOTE_VERSION_DISPLAY into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: VERSNO2 = Version Number of 2nd SAP Note
Selection Text: VERSNO1 = Version Number of 1st SAP Note
Selection Text: OBJNAME = First SAP Note Number
Selection Text: OBJNAM2 = Second SAP Note Number
Title: Note Assistant: Compare Versions
Text Symbol: S08 = Corr. Instructions:
Text Symbol: S06 = Fixes:
Text Symbol: S05 = Validity of SAP Note:
Text Symbol: S04 = Text:
Text Symbol: S03 = Customer Attributes:
Text Symbol: S02 = Note Attributes:
Text Symbol: S01 = SAP Note Header
Text Symbol: 010 = Unknown
INCLUDE LSVEUMAC.
No SAP DATABASE tables are accessed within this REPORT code!
SCWB_NOTE_READ CALL FUNCTION 'SCWB_NOTE_READ' EXPORTING iv_read_attributes = 'X' iv_read_short_text = 'X' iv_read_all_texts = 'X' iv_read_validity = 'X' iv_read_corr_instructions = 'X' iv_read_customer_logfile = 'X' iv_use_fallback_languages = 'X' iv_read_loghndl = 'X' iv_read_fixes = 'X' iv_read_customer_attributes = 'X' CHANGING cs_note = ls_note1 EXCEPTIONS note_not_found = 1 language_not_found = 2 unreadable_text_format = 3 corr_instruction_not_found = 4 OTHERS = 5.
SCWB_READ_COMPONENT CALL FUNCTION 'SCWB_READ_COMPONENT' CHANGING cs_component = ls_component EXCEPTIONS not_found = 1 OTHERS = 2.
SCWB_READ_DELIVERY_EVENT CALL FUNCTION 'SCWB_READ_DELIVERY_EVENT' EXPORTING iv_read_attributes = 'X' CHANGING cs_delivery_event = ls_delivery EXCEPTIONS not_found = 1 OTHERS = 2.
SCWB_READ_COMPONENT CALL FUNCTION 'SCWB_READ_COMPONENT' CHANGING cs_component = ls_component EXCEPTIONS not_found = 1 OTHERS = 2.
SCWB_READ_DELIVERY_EVENT CALL FUNCTION 'SCWB_READ_DELIVERY_EVENT' EXPORTING iv_read_attributes = 'X' CHANGING cs_delivery_event = ls_delivery EXCEPTIONS not_found = 1 OTHERS = 2.
SCWB_NOTE_READ CALL FUNCTION 'SCWB_NOTE_READ' EXPORTING iv_read_attributes = 'X' iv_read_short_text = 'X' iv_read_all_texts = 'X' iv_read_validity = 'X' iv_read_corr_instructions = 'X' iv_read_customer_logfile = 'X' iv_use_fallback_languages = 'X' iv_read_loghndl = 'X' iv_read_fixes = 'X' iv_read_customer_attributes = 'X' CHANGING cs_note = ls_note2 EXCEPTIONS note_not_found = 1 language_not_found = 2 unreadable_text_format = 3 corr_instruction_not_found = 4 OTHERS = 5.
SCWB_READ_COMPONENT CALL FUNCTION 'SCWB_READ_COMPONENT' CHANGING cs_component = ls_component EXCEPTIONS not_found = 1 OTHERS = 2.
SCWB_READ_DELIVERY_EVENT CALL FUNCTION 'SCWB_READ_DELIVERY_EVENT' EXPORTING iv_read_attributes = 'X' CHANGING cs_delivery_event = ls_delivery EXCEPTIONS not_found = 1 OTHERS = 2.
SCWB_READ_COMPONENT CALL FUNCTION 'SCWB_READ_COMPONENT' CHANGING cs_component = ls_component EXCEPTIONS not_found = 1 OTHERS = 2.
SCWB_READ_DELIVERY_EVENT CALL FUNCTION 'SCWB_READ_DELIVERY_EVENT' EXPORTING iv_read_attributes = 'X' CHANGING cs_delivery_event = ls_delivery EXCEPTIONS not_found = 1 OTHERS = 2.
RS_VERS_DISPLAY_INIT CALL FUNCTION 'RS_VERS_DISPLAY_INIT' EXCEPTIONS OTHERS = 0.
RS_VERS_TITEL_DEF CALL FUNCTION 'RS_VERS_TITEL_DEF' EXPORTING objname1 = objname objname2 = objnam2 versno1 = versno1 versno2 = versno2 infoln1b = infoln1b infoln2b = infoln2b log_dest = log_dest rem_syst = rem_syst EXCEPTIONS OTHERS = 0.
RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = cwbntstxt_obj1 obj2_tab = cwbntstxt_obj2 display_tab = cwbntstxt_list key_fields = key_fields tech_fields = tech_fields checkbox_fields = cb_fields opt_fields = opt_fields EXCEPTIONS OTHERS = 0.
RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = cwbntattr_obj1 obj2_tab = cwbntattr_obj2 display_tab = cwbntattr_list key_fields = key_fields tech_fields = tech_fields checkbox_fields = cb_fields opt_fields = opt_fields EXCEPTIONS OTHERS = 0.
RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = tline_obj1 obj2_tab = tline_obj2 display_tab = tline_list key_fields = key_fields tech_fields = tech_fields checkbox_fields = cb_fields opt_fields = opt_fields EXCEPTIONS OTHERS = 0.
RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = cwb_val_obj1 obj2_tab = cwb_val_obj2 display_tab = cwb_val_list key_fields = key_fields tech_fields = tech_fields checkbox_fields = cb_fields opt_fields = opt_fields EXCEPTIONS OTHERS = 0.
RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = cwbntcattr_obj1 obj2_tab = cwbntcattr_obj2 display_tab = cwbntcattr_list key_fields = key_fields tech_fields = tech_fields checkbox_fields = cb_fields opt_fields = opt_fields EXCEPTIONS OTHERS = 0.
RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = fcwbdekey_obj1 obj2_tab = fcwbdekey_obj2 display_tab = fcwbdekey_list key_fields = key_fields tech_fields = tech_fields checkbox_fields = cb_fields opt_fields = opt_fields EXCEPTIONS OTHERS = 0.
CALL FUNCTION 'SCWB_CINST_GENERATE_NOTE_TEXT' TABLES tt_tline = ctline_obj1 CHANGING cs_corr_instruction = ls_corr_instructions1 EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
SCWB_CINST_GENERATE_NOTE_TEXT CALL FUNCTION 'SCWB_CINST_GENERATE_NOTE_TEXT' TABLES tt_tline = ctline_obj2 CHANGING cs_corr_instruction = ls_corr_instructions2 EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = abaptext_obj1 obj2_tab = abaptext_obj2 display_tab = abaptext_list key_fields = key_fields tech_fields = tech_fields checkbox_fields = cb_fields opt_fields = opt_fields EXCEPTIONS OTHERS = 0.
RS_VERS_DISPLAY_PROCESS CALL FUNCTION 'RS_VERS_DISPLAY_PROCESS' EXPORTING compare = compare IMPORTING repeat = repeat_display EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name SCWN_NOTE_VERSION_DISPLAY or its description.
SCWN_NOTE_VERSION_DISPLAY - Note Assistant: Compare Versions SCWN_NOTE_VERSION_DISPLAY - Note Assistant: Compare Versions SCWN_NOTE_DOWNLOAD - Note Assistant: Note Download SCWN_NOTE_DOWNLOAD - Note Assistant: Note Download SCWN_NOTE_DISPLAY - Note Assistant: Note Display SCWN_NOTE_DISPLAY - Note Assistant: Note Display