RUTNTCHGMWSKZ 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 RUTNTCHGMWSKZ 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.
Selection Text: TABNAME = Table Name
Selection Text: ORIG = Column Name MWSZK
Selection Text: OLD = Change Original Name to ...
Selection Text: NO_PROT = Display No Log
Selection Text: NEW = Name of New Field
Selection Text: LOGSHOW = Display Log Immediately
Selection Text: LOGNAME = Log Name
Selection Text: DEVICE = 'T': Table, 'F': File System
Text Symbol: 023 = Table name missing
Text Symbol: 022 = Do not use this report in stand-alone mode
Text Symbol: 021 = System information cannot be retrieved
Text Symbol: 020 = Log type is msissing (T:Table, F: File)
Text Symbol: 019 = Log name missing
Text Symbol: 018 = Active runtime object is not latest one
Text Symbol: 017 = Renaming (New Field -> Original Name)
Text Symbol: 016 = Renaming (Original Field -> Name Old)
Text Symbol: 015 = Table & was adapted successfully
Text Symbol: 014 = Runtime object & not written
Text Symbol: 013 = New column & was not found
Text Symbol: 012 = Original column & not found
Text Symbol: 011 = New column & was not found
Text Symbol: 010 = Original column & was not found
Text Symbol: 009 = Active runtime object could not be read
Text Symbol: 008 = There is a revised or new version
Text Symbol: 007 = End Adaptation Table
Text Symbol: 006 = Start Adaptation Tabvle
Text Symbol: 005 = Action of Program:
Text Symbol: 004 = Adapt MWSKZ Length
Text Symbol: 003 = Type of log missing (T:table, F:file)
Text Symbol: 002 = Log name missing
Text Symbol: 001 = At least one column name missing
INCLUDE RADBTOUM.
INCLUDE RADBTLOM.
No SAP DATABASE tables are accessed within this REPORT code!
TR_SYS_PARAMS call function 'TR_SYS_PARAMS' importing systemtype = system_type exceptions no_systemname = 01 no_systemtype = 02.
DD_TABL_GET call function 'DD_TABL_GET' EXPORTING GET_STATE = get_state LANGU = SY-LANGU PRID = prid TABL_NAME = tabname IMPORTING DD02V_WA_N = dd02v_wa DD09L_WA_N = dd09l_wa GOT_STATE = got_state TABLES DD03P_TAB_N = dd03p_tab EXCEPTIONS ACCESS_FAILURE = 1 OTHERS = 2.
DD_GET_NAMETAB call function 'DD_GET_NAMETAB' exporting STATUS = 'A' tabname = tabname GET_ALL = 'X' IMPORTING R_STATUS = r_state X030L_WA = x030l_wa tables x031l_tab = x031l_tab EXCEPTIONS NOT_FOUND = 1 NO_FIELDS = 2 OTHERS = 3.
DD_TABL_PUT call function 'DD_TABL_PUT' exporting CTRL_TABL_PUT = put_state dd02v_wa = dd02v_wa dd09l_wa = dd09l_wa PRID = prid PUT_STATE = 'A' TABL_NAME = tabname TABLES DD03P_TAB = dd03p_tab * DD05M_TAB = * DD08V_TAB = * DD35V_TAB = * DD36M_TAB = * DD12V_TAB = * DD17V_TAB = EXCEPTIONS DB_ACCESS_FAILURE = 1 OBJECT_INCONSISTENT = 2 OTHERS = 3.
DD_PUT_NAMETAB call function 'DD_PUT_NAMETAB' exporting * MODEFLAG = ' ' status = 'A' x030l_wa = x030l_wa * TRTYPE = ' ' * NO_INACT_DEL = ' ' IMPORTING R_SUBRC = rc tables x031l_tab = x031l_tab EXCEPTIONS WRITE_ERROR = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.