SAP Reports / Programs

RADDRDOC SAP ABAP Report - DD: XPRA for Renaming Data Elements In-House







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


Text pool values


Title: DD: XPRA for Renaming Data Elements In-House
Text Symbol: 016 = Number of Data Elements to Be Renamed for Docu
Text Symbol: 015 = Rename in Version Management
Text Symbol: 014 = Rename in Translation Memory
Text Symbol: 013 = Rename in SMOD/CMOD Tables
Text Symbol: 012 = Proposed name not valid
Text Symbol: 011 = XPRA supplies a return code:
Text Symbol: 010 = Docu adjustment performed successfully
Text Symbol: 008 = Rename in Application Tables
Text Symbol: 007 = Rename in Docu Tables
Text Symbol: 006 = Rename in Other Basis Tables
Text Symbol: 005 = Rename in TW Tables
Text Symbol: 004 = Rename in DD Tables
Text Symbol: 003 = ->
Text Symbol: 002 = Number of Data Elements to Be Renamed:
Text Symbol: 001 = XPRA for Renaming Conflicting Data Elements


INCLUDES used within this REPORT RADDRDOC

INCLUDE RADBTOUM.


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:

DD_DTELRENAME_AUTH CALL FUNCTION 'DD_DTELRENAME_AUTH' EXCEPTIONS SYSTEM_NOT_PREPARED = 1 NO_AUTHORIZATION = 2 OTHERS = 3.

DD_DTELRENAME_COMPUTE CALL FUNCTION 'DD_DTELRENAME_COMPUTE' EXPORTING UPGRADE_MODE = 'X' IMPORTING NUMBER = NR TABLES RENAME_SET = DTELRENAME_TAB.

REL40_DTEL_RENAME CALL FUNCTION 'REL40_DTEL_RENAME' EXPORTING DTEL_OLD = SPACE DTEL_NEW = SPACE EXCEPTIONS READY = 1 FOUND = 2 NOTFOUND = 3 OTHERS = 4.

DD_DTELRENAME_DD CALL FUNCTION 'DD_DTELRENAME_DD' EXPORTING OLD_NAME = DDDTRENUPG_TAB-NAME_OLD NEW_NAME = DDDTRENUPG_TAB-NAME_NEW CHANGED_AT = DDDTRENUPG_TAB-CHANGED_AT UPDATE = 'X' TABLES PROTTAB = PROTTAB EXCEPTIONS INTERNAL_ERROR = 1 OTHERS = 2.

DD_DTELRENAME_BS CALL FUNCTION 'DD_DTELRENAME_BS' EXPORTING OLD_NAME = DDDTRENUPG_TAB-NAME_OLD NEW_NAME = DDDTRENUPG_TAB-NAME_NEW UPDATE = 'X' TABLES PROTTAB = PROTTAB EXCEPTIONS INTERNAL_ERROR = 1 OTHERS = 2.

TRINT_REPLACE_DTEL_NAME_WBO " call function 'TRINT_REPLACE_DTEL_NAME_WBO' " exporting iv_dtel_name_old = dddtrenupg_tab-name_old " iv_dtel_name_new = dddtrenupg_tab-name_new " update = 'X' " tables prottab = prottab " cmdf_tab = cmdf_tab " leer " exceptions system_not_prepared = 1 " no_authorization = 2 " dtel_name_old_too_long = 3 " db_access_error = 4 " others = 5.

DD_DTELRENAME_AP CALL FUNCTION 'DD_DTELRENAME_AP' EXPORTING OLD_NAME = DDDTRENUPG_TAB-NAME_OLD NEW_NAME = DDDTRENUPG_TAB-NAME_NEW UPDATE = 'X' DO_EXCEPTIONS = 'X' " uh, 16.01.98

SVRS_RENAME_VERSIONS_DTEL CALL FUNCTION 'SVRS_RENAME_VERSIONS_DTEL' EXPORTING PI_OLDNAME = DDDTRENUPG_TAB-NAME_OLD PI_NEWNAME = DDDTRENUPG_TAB-NAME_NEW TABLES PROTTAB = PROTTAB EXCEPTIONS NEW_VERSIONS_ALREADY_EXISTING = 1 OTHERS = 2.

REL40_DTEL_RENAME CALL FUNCTION 'REL40_DTEL_RENAME' EXPORTING DTEL_OLD = DDDTRENUPG_TAB-NAME_OLD DTEL_NEW = DDDTRENUPG_TAB-NAME_NEW EXCEPTIONS READY = 1 FOUND = 2 " gefunden und umbenannt NOTFOUND = 3 " nicht gefunden OTHERS = 4.

STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING DIRTYPE = GC_ACTTYPE FILENAME = GV_PROTLIST SUBDIR = GC_SUBPROT IMPORTING FILE = PROT_FILE.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = LEVEL L_SEVERITY = SEVERITY L_MSAG = ARBGB L_MSGNR = MSGNR L_NEWOBJ = NEWOBJ L_V1 = L_VAR1 L_V2 = L_VAR2 L_V3 = L_VAR3 L_V4 = L_VAR4 TABLES P_TAB = PROT_TAB.

SUBST_WRITE_PROTOCOL CALL FUNCTION 'SUBST_WRITE_PROTOCOL' EXPORTING ACTTYPE = GC_ACTTYPE IFNAME = PROT_FILE IMPORTING EFNAME = PROT_FILE TABLES P_TAB = PROT_TAB.

DB_CREATE_INDEX CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'CATP______PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'CATP' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_CREATE_INDEX CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'DD24S_____PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'DD24S' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_CREATE_INDEX * CALL FUNCTION 'DB_CREATE_INDEX' * EXPORTING * DBINDEX = 'DD40L_____PUT' * PRID = -1 " -> keine Protokollierung * TABNAME = 'DD40L' * TABLES * DDFLDNAMES = COLUMN_LIST * EXCEPTIONS * INDEX_EXISTS = 1 * INDEX_NOT_CREATED = 2 * PROGRAM_NOT_GENERATED = 3 * PROGRAM_NOT_WRITTEN = 4 * TABLE_DOES_NOT_EXIST = 5 * OTHERS = 6.

DB_CREATE_INDEX CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'EDSAPPL___PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'EDSAPPL' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_CREATE_INDEX CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'MCSHIERK__PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'MCSHIERK' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_CREATE_INDEX CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'SETDTEL___PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'SETDTEL' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_CREATE_INDEX





CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'SETHEADER_PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'SETHEADER' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_CREATE_INDEX CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'T802G_____PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'T802G' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_CREATE_INDEX CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'TKEF______PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'TKEF' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_CREATE_INDEX CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'TKES______PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'TKES' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_CREATE_INDEX CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'TRSTHV____PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'TRSTHV' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_CREATE_INDEX CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'TRSTHVT___PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'TRSTHVT' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_CREATE_INDEX CALL FUNCTION 'DB_CREATE_INDEX' EXPORTING DBINDEX = 'TNRO______PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'TNRO' TABLES DDFLDNAMES = COLUMN_LIST EXCEPTIONS INDEX_EXISTS = 1 INDEX_NOT_CREATED = 2 PROGRAM_NOT_GENERATED = 3 PROGRAM_NOT_WRITTEN = 4 TABLE_DOES_NOT_EXIST = 5 OTHERS = 6.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'CATP______PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'CATP' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'DD24S_____PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'DD24S' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DB_DROP_INDEX * CALL FUNCTION 'DB_DROP_INDEX' * EXPORTING * DBINDEX = 'DD40L_____PUT' * PRID = -1 " -> keine Protokollierung * TABNAME = 'DD40L' * EXCEPTIONS * INDEX_NOT_DROPPED = 1 * PROGRAM_NOT_GENERATED = 2 * PROGRAM_NOT_WRITTEN = 3 * OTHERS = 4.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'EDSAPPL___PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'EDSAPPL' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'MCSHIERK__PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'MCSHIERK' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'SETDTEL___PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'SETDTEL' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'SETHEADER_PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'SETHEADER' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'T802G_____PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'T802G' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'TKEF______PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'TKEF' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'TKES______PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'TKES' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'TRSTHV____PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'TRSTHV' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'TRSTHVT___PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'TRSTHVT' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.

DB_DROP_INDEX CALL FUNCTION 'DB_DROP_INDEX' EXPORTING DBINDEX = 'TNRO______PUT' PRID = -1 " -> keine Protokollierung TABNAME = 'TNRO' EXCEPTIONS INDEX_NOT_DROPPED = 1 PROGRAM_NOT_GENERATED = 2 PROGRAM_NOT_WRITTEN = 3 OTHERS = 4.






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