SAP Reports / Programs

CNV_00001_SAVE_AND_RESTORE SAP ABAP Report - Backup and restoring of tables







CNV_00001_SAVE_AND_RESTORE 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 CNV_00001_SAVE_AND_RESTORE into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CNV_BACKUP_TOOL - Backup tool


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 CNV_00001_SAVE_AND_RESTORE. "Basic submit
SUBMIT CNV_00001_SAVE_AND_RESTORE AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_00001_SAVE_AND_RESTORE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Backup and restoring of tables
Text Symbol: 031 = Status
Text Symbol: 032 = Status
Text Symbol: 033 = Stat.
Text Symbol: 035 = Table backup
Text Symbol: 036 = Restoring tables
Text Symbol: 037 = Backup and restoring of tables
Text Symbol: 038 = Do you want to undo the selection for the selected tables?
Text Symbol: 029 = Backup programs for the selected tables will be generated. Do you want to continue?
Text Symbol: 001 = Reloadability of scen.
Text Symbol: 002 = Reloadability
Text Symbol: 003 = Reloadable?
Text Symbol: 025 = Find
Text Symbol: 026 = Table name
Text Symbol: 027 = Confirmation
Text Symbol: 028 = All backup programs will be generated. Do you want to continue?
Text Symbol: 058 = Following tables cannot be reloaded. The data is not yet present in CNVCLU (possibly CNV_BACKUP_CLU).
Text Symbol: 059 = Table may be selected only once
Text Symbol: 060 = Restoring this table from CNVCLU may result in inconsistencies. Do you want to continue anyway?
Text Symbol: 061 = Following tables are restored from CNVCLU:
Text Symbol: 062 = Following tables are restored from CNV_BACKUP_CLU:
Text Symbol: 063 = Possible scheduled conversion jobs can be started as well. Do you want to continue?
Text Symbol: 057 = Table name
Text Symbol: 050 = Backup data
Text Symbol: 051 = Possible actions
Text Symbol: 052 = Select the table
Text Symbol: 053 = Phase change
Text Symbol: 054 = Package &1 is not active or not in phase '&2'. Activate phase '&2' of the package?
Text Symbol: 055 = Confirm
Text Symbol: 056 = Table & cannot be reloaded savely from CNVCLU. Do you want to continue?


INCLUDES used within this REPORT CNV_00001_SAVE_AND_RESTORE

INCLUDE LBTCHDEF.


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:

CNV_00001_CHECK_EXECUTION CALL FUNCTION 'CNV_00001_CHECK_EXECUTION' EXPORTING authority_check = 'X' EXCEPTIONS no_authority = 1 OTHERS = 2.

CNV_INT_PACKAGE_GET CALL FUNCTION 'CNV_INT_PACKAGE_GET' IMPORTING PACKID = GP_PACK EXCEPTIONS ACTIVE_PACKAGE_NOT_FOUND = 1 OTHERS = 2.

CNV_00001_SCENARIO_RESTORABLE CALL FUNCTION 'CNV_00001_SCENARIO_RESTORABLE' EXPORTING PD_SCENARIO = PS_JOBINFO-SZENARIO PD_NOVIEW = PS_JOBINFO-NOVIEW IMPORTING PD_RESTORABLE = PD_SCENARIO_RESTORABLE EXCEPTIONS OTHERS = 1.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING JOB_READ_JOBCOUNT = PD_JOBCOUNT JOB_READ_JOBNAME = PD_JOBNAME JOB_READ_OPCODE = BTC_READ_JOBHEAD_ONLY IMPORTING JOB_READ_JOBHEAD = LS_JOB_HDR EXCEPTIONS INVALID_OPCODE = 1 JOB_DOESNT_EXIST = 2 JOB_DOESNT_HAVE_STEPS = 3 OTHERS = 4.

DOCU_CALL CALL FUNCTION 'DOCU_CALL' EXPORTING DISPL = 'X' DISPL_MODE = '2' ID = 'TX' LANGU = SY-LANGU OBJECT = 'CNV_00001_BACKUP_DOC_HELP' EXCEPTIONS OTHERS = 1.

DOCU_CALL CALL FUNCTION 'DOCU_CALL' EXPORTING DISPL = 'X' DISPL_MODE = '2' ID = 'TX' LANGU = SY-LANGU OBJECT = 'CNV_00001_RESTORE_DOC_HELP' EXCEPTIONS OTHERS = 1.

RS_DD_FIEL_SHOW CALL FUNCTION 'RS_DD_FIEL_SHOW' "#EC ARGCHECKED EXPORTING OBJNAME = LD_TABNAME EXCEPTIONS OBJECT_NOT_FOUND = 1 OBJECT_NOT_SPECIFIED = 2 PERMISSION_FAILURE = 3 FIELD_NOT_FOUND = 4 OTHERS = 5.

EDITOR_PROGRAM CALL FUNCTION 'EDITOR_PROGRAM' EXPORTING DISPLAY = 'X' PROGRAM = LD_PROGNAME EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = TEXT-055 TEXT_QUESTION = TEXT-063 DEFAULT_BUTTON = '2' DISPLAY_CANCEL_BUTTON = ' ' IMPORTING ANSWER = LD_ANSWER EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = TEXT-027 TEXT_QUESTION = TEXT-038 DEFAULT_BUTTON = '2' DISPLAY_CANCEL_BUTTON = ' ' IMPORTING ANSWER = LD_ANSWER EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

CNV_00001_POPUP_GET_VALUE CALL FUNCTION 'CNV_00001_POPUP_GET_VALUE' EXPORTING P_TITLE = TEXT-025 P_TEXT = TEXT-026 P_LENGTH = 30 IMPORTING P_VALUE = LD_VALUE P_ANSWER = LD_ANSWER.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING POPUP_TITLE = TEXT-052 IMPORTING RETURNCODE = LD_C TABLES FIELDS = LT_SVAL EXCEPTIONS ERROR_IN_FIELDS = 1 OTHERS = 2.

CNV_00001_POPUP_LIST_CONFIRM CALL FUNCTION 'CNV_00001_POPUP_LIST_CONFIRM' EXPORTING P_TITLE = TEXT-055 P_COLUMN_TITLE = TEXT-057 P_TEXT = TEXT-058 IMPORTING P_ANSWER = LD_ANSW TABLES P_VALUES = LT_TAB EXCEPTIONS OTHERS = 1.

CNV_00001_POPUP_LIST_CONFIRM CALL FUNCTION 'CNV_00001_POPUP_LIST_CONFIRM' EXPORTING P_TITLE = TEXT-055 P_COLUMN_TITLE = TEXT-057 P_TEXT = TEXT-060 IMPORTING P_ANSWER = LD_ANSW TABLES P_VALUES = LT_TAB EXCEPTIONS OTHERS = 1.

CNV_00001_POPUP_LIST_CONFIRM CALL FUNCTION 'CNV_00001_POPUP_LIST_CONFIRM' EXPORTING P_TITLE = TEXT-055 P_COLUMN_TITLE = TEXT-057 P_TEXT = TEXT-061 IMPORTING P_ANSWER = LD_ANSW TABLES P_VALUES = LT_TAB EXCEPTIONS OTHERS = 1.

CNV_00001_POPUP_LIST_CONFIRM CALL FUNCTION 'CNV_00001_POPUP_LIST_CONFIRM' EXPORTING P_TITLE = TEXT-055 P_COLUMN_TITLE = TEXT-057 P_TEXT = TEXT-062 IMPORTING P_ANSWER = LD_ANSW TABLES P_VALUES = LT_TAB EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = TEXT-027 TEXT_QUESTION = LD_QUESTION DEFAULT_BUTTON = '1' DISPLAY_CANCEL_BUTTON = ' ' IMPORTING ANSWER = LD_CONTINUE EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

CNV_INT_PACKAGE_GET CALL FUNCTION 'CNV_INT_PACKAGE_GET' IMPORTING PACKID = LD_PACK PHASE = LD_PHASE EXCEPTIONS ACTIVE_PACKAGE_NOT_FOUND = 1 OTHERS = 2.

POPUP_TO_CONFIRM





CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = TEXT-053 TEXT_QUESTION = LD_QUESTION DISPLAY_CANCEL_BUTTON = ' ' IMPORTING ANSWER = LD_ANSWER EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

CNV_INT_PACKAGE_SET CALL FUNCTION 'CNV_INT_PACKAGE_SET' EXPORTING PACKID = PD_PACK PHASE = PD_PHASE EXCEPTIONS OTHERS = 1.

CNV_00001_SCENARIO_RESTORABLE CALL FUNCTION 'CNV_00001_SCENARIO_RESTORABLE' EXPORTING PD_SCENARIO = PS_JOBINFO-SZENARIO PD_NOVIEW = PS_JOBINFO-NOVIEW IMPORTING PD_RESTORABLE = PD_RESTORABLE EXCEPTIONS OTHERS = 1.



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