SAP Reports / Programs | Client-System Adapter | Client-System Adapter(MDM-CLT) SAP MDM

MDM_EXVARI_TABLES_BACKUP SAP ABAP Report - Migration Help for Extraction Variants







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


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 MDM_EXVARI_TABLES_BACKUP. "Basic submit
SUBMIT MDM_EXVARI_TABLES_BACKUP AND RETURN. "Return to original report after report execution complete
SUBMIT MDM_EXVARI_TABLES_BACKUP 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: 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?


INCLUDES used within this REPORT MDM_EXVARI_TABLES_BACKUP

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:

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.



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