SAP Reports / Programs

RDDNT2MT SAP ABAP Report - Generate DDMTT/DDMTF from DDNTT/DDNTF







RDDNT2MT 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 RDDNT2MT 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 RDDNT2MT. "Basic submit
SUBMIT RDDNT2MT AND RETURN. "Return to original report after report execution complete
SUBMIT RDDNT2MT 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: LOGFILE = D File Name
Title: Generate DDMTT/DDMTF from DDNTT/DDNTF
Text Symbol: 007 = Nametab fields deletion successful
Text Symbol: 008 = Delete Nametab Entries
Text Symbol: 009 = Entry not created in table SHADOW
Text Symbol: 006 = Error when deleting nametab fields
Text Symbol: 001 = could not be written for:
Text Symbol: 002 = Nametab inconsistent:
Text Symbol: 003 = Entries written to DDMTT
Text Symbol: 004 = Error when deleting nametab headers
Text Symbol: 005 = Nametab header deletion successful


INCLUDES used within this REPORT RDDNT2MT

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:

STRF_SETNAME call function 'STRF_SETNAME' exporting dirtype = gc_acttype filename = filename subdir = gc_subprot importing file = gv_protfile exceptions wrong_call = 1 others = 2.

SUBST_WRITE_PROTOCOL call function 'SUBST_WRITE_PROTOCOL' exporting acttype = gc_acttype ifname = gv_protfile importing efname = gv_protfile tables p_tab = gt_protocol exceptions write_failed = 01 others = 02.

SUBST_APPEND_PROTOCOL call function 'SUBST_APPEND_PROTOCOL' exporting l_level = l_level l_severity = severity l_msgnr = msgnr l_v1 = l_var1 l_v2 = l_var2 l_v3 = l_var3 l_v4 = l_var4 tables p_tab = gt_protocol.

DD_GET_NAMETAB call function 'DD_GET_NAMETAB' exporting status = 'A' tabname = itab-tabname get_all = 'X' importing x030l_wa = x030l_wa tables x031l_tab = x031l_tab exceptions not_found = 1 no_fields = 2 others = 3.

DD_GET_NAMETAB call function 'DD_GET_NAMETAB' exporting status = 'A' tabname = lt_shd-tabname get_all = 'X' importing x030l_wa = x030l_wa tables x031l_tab = x031l_tab exceptions others = 3.

UPG_IS_SHADOW_SYSTEM call function 'UPG_IS_SHADOW_SYSTEM' exporting iv_r3up = 'X' importing ev_shadow = lv_shadow.

UPG_GET_UPGRADE_INFO CALL FUNCTION 'UPG_GET_UPGRADE_INFO' EXPORTING iv_component = 'SAP_BASIS' * IV_NEWRELEASE = ' ' * IV_UPGTYPE = '*' iv_readmode = 'ACT' * IV_COMP_SELECT = 'X' * IV_BUFFERED = ' ' * IV_AVERS_SELECT = ' ' * IMPORTING * EV_UPGCNT = TABLES tt_upginfo = lt_upginfo EXCEPTIONS OTHERS = 1.

UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = 'EHP_INSTALLER' IMPORTING ev_value = lv_ehpi EXCEPTIONS OTHERS = 0.

UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = 'ITERATIVE_UPGRADE' IMPORTING ev_value = lv_iterative_upgrade EXCEPTIONS OTHERS = 0.

UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = 'FASTDATACOPY' IMPORTING ev_value = lv_fastdata EXCEPTIONS OTHERS = 0.

UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = 'ZERODOWNTIME_UPGRADE' IMPORTING ev_value = lv_zerodowntime EXCEPTIONS OTHERS = 0.

DB_DBSCHEMA CALL FUNCTION 'DB_DBSCHEMA' IMPORTING dbschema = l_schema.



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