O2_WAPP_RECOVER_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_RECOVER_VERSION 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: VERSNO = D Version Number
Selection Text: OBJTYPE = D Object Type
Selection Text: OBJNAME = D Object name
Title: O2: Program to Reload Version
Text Symbol: T01 = Restore Version
Text Symbol: D02 = Cancel
Text Symbol: D01 = Cont.
Text Symbol: 001 = Do you want to continue processing?
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RS_ACCESS_PERMISSION CALL FUNCTION 'RS_ACCESS_PERMISSION' EXPORTING global_lock = 'X' mode = so2_access_modify object = ls_pagekey object_class = so2_page_trobject suppress_language_check = suppr_langu_check suppress_upgrade_check = 'X' importing modification_language = ls_modif_l tadire = ls_tadir devclass = ls_devclass EXCEPTIONS permission_failure = 1 OTHERS = 9.
SVRS_GET_VERSION_WAPP_40 * CALL FUNCTION 'SVRS_GET_VERSION_WAPP_40' * EXPORTING * object_name = p_objname * versno = p_versno * TABLES * pagedir = lt_pagedir * pagedirt = lt_pagedirt * pagecon = lt_pagecon * pagepar = lt_pagepar * pagepart = lt_pagepart * pageevh = lt_events * EXCEPTIONS * no_version = 1 * system_failure = 2 * communication_failure = 3 * OTHERS = 4.
SVRS_AFTER_CHANGED_ONLINE_NEW CALL FUNCTION 'SVRS_AFTER_CHANGED_ONLINE_NEW' EXPORTING e071_entry = ls_e071 IMPORTING version_new = lv_versnum EXCEPTIONS non_versionable_objtype = 1 * Keine Meldung sondern weitermachachen, da der CORR_INSERT auf * jeden Fall eine neue Version zieht und die Fehlermeldungen hier * irrelevant sind.
O2_WAPP_INSERT_OBJECT * CALL FUNCTION 'O2_WAPP_INSERT_OBJECT' * EXPORTING * page_key = ls_pagekey * TABLES * pagedir = lt_pagedir * pagedirt = lt_pagedirt * pagecon = lt_pagecon * pagepar = lt_pagepar * pagepart = lt_pagepart * events = lt_events * EXCEPTIONS * OTHERS = 1.
O2_GET_WAPA_SOURCEN CALL FUNCTION 'O2_GET_WAPA_SOURCEN' EXPORTING p_objname = p_objname p_versno = p_versno p_langu = p_langu p_master_l = p_master_l p_devclass = p_devclass IMPORTING pt_page_content = lt_page_content pt_ev_handler = lt_ev_handler pt_typesource = lt_typesource pt_parameters = lt_parameters ps_page_attr = ls_page_attr pt_used_guids = lt_used_guids.
RS_INSERT_INTO_WORKING_AREA CALL FUNCTION 'RS_INSERT_INTO_WORKING_AREA' EXPORTING object = so2_page_trobject obj_name = lv_obj_name EXCEPTIONS OTHERS = 1.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-t01 diagnose_object = 'BC_CPAG_RECOVER_VERSION' text_question = text-001 text_button_1 = 'Weiter'(d01) icon_button_1 = 'ICON_OKAY' text_button_2 = 'Abbrechen'(d02) icon_button_2 = 'ICON_CANCEL' default_button = '2' display_cancel_button = ' ' popup_type = 'ICON_MESSAGE_WARNING' IMPORTING answer = lv_answer TABLES parameter = lt_parameter 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.
O2_WAPP_RECOVER_VERSION - O2: Program to Reload Version O2_WAPP_RECOVER_VERSION - O2: Program to Reload Version O2_WAPP_DISPLAY_VERSION - 02: Program to Display Version O2_WAPP_DISPLAY_VERSION - 02: Program to Display Version O2_WAPP_COMPARE_VERSION - 02: Program to Compare Two Versions O2_WAPP_COMPARE_VERSION - 02: Program to Compare Two Versions