MDM_EXVARI_TABLES_BACKUP 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 MDM_EXVARI_TABLES_BACKUP 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: P_BACK = Backup of the Variants
Selection Text: P_REST = Restoring of the Variants
Title: Migration Help for Extraction Variants
Text Symbol: 001 = Variant tables are empty
Text Symbol: 002 = There is no backup copy
Text Symbol: 003 = Yes
Text Symbol: 004 = No
Text Symbol: 005 = Overwrite Variants
Text Symbol: 006 = Existing variants will be deleted. Do you want to continue?
Text Symbol: 007 = Operation canceled by user
Text Symbol: 008 = Variants restored from backup tables
Text Symbol: 009 = Variants copied to backup tables
Text Symbol: 010 = Existing backup will be deleted. Do you want to continue?
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DDIF_TYPEINFO_GET CALL FUNCTION 'DDIF_TYPEINFO_GET' EXPORTING typename = gc_backup_head IMPORTING typekind = lv_typekind.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-005 text_question = text-010 text_button_1 = text-003 "YES text_button_2 = text-004 "NO display_cancel_button = 'X' IMPORTING answer = lv_confirm_flag.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-005 text_question = text-006 text_button_1 = text-003 "YES text_button_2 = text-004 "NO display_cancel_button = 'X' IMPORTING answer = lv_confirm_flag.
DDIF_TYPEINFO_GET CALL FUNCTION 'DDIF_TYPEINFO_GET' EXPORTING typename = iv_target_head IMPORTING typekind = lv_typekind.
DDIF_TYPEINFO_GET CALL FUNCTION 'DDIF_TYPEINFO_GET' EXPORTING typename = iv_target_sel IMPORTING typekind = lv_typekind.
DDIF_TYPEINFO_GET CALL FUNCTION 'DDIF_TYPEINFO_GET' EXPORTING typename = iv_target_tran IMPORTING typekind = lv_typekind.
DDIF_TYPEINFO_GET CALL FUNCTION 'DDIF_TYPEINFO_GET' EXPORTING typename = iv_target_txt IMPORTING typekind = lv_typekind.
DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = iv_table_source state = 'A' langu = sy-langu IMPORTING gotstate = lv_gotstate dd02v_wa = ls_dd02v dd09l_wa = ls_dd09l TABLES dd03p_tab = lt_dd03p dd05m_tab = lt_dd05m dd08v_tab = lt_dd08v EXCEPTIONS illegal_input = 1 OTHERS = 2.
DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' EXPORTING name = iv_table_target dd02v_wa = ls_dd02v dd09l_wa = ls_dd09l TABLES dd03p_tab = lt_dd03p dd05m_tab = lt_dd05m dd08v_tab = lt_dd08v EXCEPTIONS tabl_not_found = 1 name_inconsistent = 2 tabl_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.
DDIF_TABL_ACTIVATE CALL FUNCTION 'DDIF_TABL_ACTIVATE' EXPORTING name = iv_table_target * AUTH_CHK = 'X' * PRID = -1 IMPORTING rc = lv_subrc EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.