SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Web Application Builder(BC-DWB-TOO-WAB) SAP BC

O2_WAPP_COMPARE_VERSION SAP ABAP Report - 02: Program to Compare Two Versions







O2_WAPP_COMPARE_VERSION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter O2_WAPP_COMPARE_VERSION into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT O2_WAPP_COMPARE_VERSION. "Basic submit
SUBMIT O2_WAPP_COMPARE_VERSION AND RETURN. "Return to original report after report execution complete
SUBMIT O2_WAPP_COMPARE_VERSION VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: VERSNO2 = D Version Number
Selection Text: VERSNO1 = D Version Number
Selection Text: REM_SYST = D Original System
Selection Text: OBJNAME = D Object name
Selection Text: OBJNAM2 = D Object name
Selection Text: LOG_DEST = D RFC destination
Title: 02: Program to Compare Two Versions
Text Symbol: 005 = General Attributes
Text Symbol: 004 = Event:
Text Symbol: 003 = Types
Text Symbol: 002 = Page Attributes
Text Symbol: 001 = Page Source


INCLUDES used within this REPORT O2_WAPP_COMPARE_VERSION

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

RS_ACCESS_PERMISSION CALL FUNCTION 'RS_ACCESS_PERMISSION' EXPORTING mode = so2_access_show object = objname object_class = so2_page_trobject suppress_upgrade_check = 'X' IMPORTING tadire = ls_tadir devclass = ls_devclass EXCEPTIONS permission_failure = 1 OTHERS = 9.

O2_GET_WAPA_SOURCEN CALL FUNCTION 'O2_GET_WAPA_SOURCEN' EXPORTING p_objname = objname p_versno = versno1 p_langu = sy-langu p_master_l = ls_tadir-masterlang p_devclass = ls_devclass IMPORTING pt_page_content = lt_content_obj1[] pt_ev_handler = lt_events pt_parameters = lt_params_obj1[] pt_typesource = tmp_typesource1 ps_page_attr = tmp_attr1 EXCEPTIONS OTHERS = 1.

O2_GET_WAPA_SOURCEN CALL FUNCTION 'O2_GET_WAPA_SOURCEN' EXPORTING p_objname = objname p_versno = versno2 p_log_dest = log_dest p_langu = sy-langu p_master_l = ls_tadir-masterlang p_devclass = ls_devclass IMPORTING pt_page_content = lt_content_obj2[] pt_ev_handler = lt_events pt_parameters = lt_params_obj2[] pt_typesource = tmp_typesource2 ps_page_attr = tmp_attr2 EXCEPTIONS OTHERS = 1.

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 = lt_attrs_obj1 obj2_tab = lt_attrs_obj2 display_tab = lt_attrs_list key_fields = lt_key_fields tech_fields = lt_tech_fields EXCEPTIONS OTHERS = 0.

RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = lt_content_obj1 obj2_tab = lt_content_obj2 display_tab = lt_content_list EXCEPTIONS OTHERS = 0.

RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = lt_params_obj1 obj2_tab = lt_params_obj2 display_tab = lt_params_list key_fields = lt_key_fields tech_fields = lt_tech_fields opt_fields = lt_opt_fields EXCEPTIONS OTHERS = 0.

RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = lt_typesource_obj1 obj2_tab = lt_typesource_obj2 display_tab = lt_typesource_list EXCEPTIONS OTHERS = 0.

RS_VERS_DISPLAY_PROCESS CALL FUNCTION 'RS_VERS_DISPLAY_PROCESS' EXPORTING compare = compare EXCEPTIONS OTHERS = 0.

RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = tmp_source1[] "lt_ev_handler_obj1-source[] obj2_tab = tmp_source2[] "lt_ev_handler_obj2-source[] display_tab = EXCEPTIONS OTHERS = 0.

RS_VERS_BLOCK_DEF CALL FUNCTION 'RS_VERS_BLOCK_DEF' EXPORTING block_info = block_info TABLES obj1_tab = tmp_source1[] "lt_ev_handler_obj1-source[] obj2_tab = tmp_source2[] "lt_ev_handler_obj2-source[] display_tab = EXCEPTIONS OTHERS = 0.



Contribute (Add Comments)

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 O2_WAPP_COMPARE_VERSION or its description.