RHZDATA0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report enables you to migrate data from the
If you would like to execute this report or see the full code listing simply enter RHZDATA0 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.
Title: Migration: ZDATA --> CI
Text Symbol: 015 = Plan Version
Text Symbol: 014 = Lock Objects Involved
Text Symbol: 013 = Sequence of the fields in CI_PAD34 <>
Text Symbol: 012 = Sequence of the fields in CI_PAD27 <>
Text Symbol: 011 = Sequence of the fields in CI_PAD25 <>
Text Symbol: 010 = Fields missing from the structure in CI_PAD34
Text Symbol: 009 = Fields missing from the structure in CI_PAD27
Text Symbol: 008 = Fields missing from the structure in CI_PAD25
Text Symbol: 007 = Select at least one option
Text Symbol: 006 = DDIC Structure does not exist
Text Symbol: 005 = Enter DDIC Structure
Text Symbol: 004 = HRPAD34-ZDATA --> CI_PAD34
Text Symbol: 003 = HRPAD27-ZDATA --> CI_PAD27
Text Symbol: 002 = HRPAD25-ZDATA --> CI_PAD25
Text Symbol: 001 = Options
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DDIF_STATE_GET CALL FUNCTION 'DDIF_STATE_GET' EXPORTING type = 'TABL' name = ls_ddic_struc state = 'A' IMPORTING gotstate = lv_gotstat EXCEPTIONS OTHERS = 0.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = is_ddic_struc TABLES x031l_tab = et_zdata_fields EXCEPTIONS not_found = 1 OTHERS = 2.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = lv_tabname TABLES x031l_tab = et_ci_fields EXCEPTIONS not_found = 1 OTHERS = 2.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' EXCEPTIONS OTHERS = 1.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' EXCEPTIONS OTHERS = 1.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' EXCEPTIONS OTHERS = 1.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' EXCEPTIONS OTHERS = 1.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' EXCEPTIONS OTHERS = 1.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.