RADNTBMV 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 RADNTBMV 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: FILE = Output to file
Selection Text: LOGNAME = Log name
Selection Text: LOG_SHOW = Display log
Selection Text: OBJDDXTT = Objects of inactive nametab
Selection Text: OBJNAME = Object name
Selection Text: DATABASE = Output to database
Title: Move nametab as ABAP
Text Symbol: 012 = Move to inactive nametab successful
Text Symbol: 013 = : Inactive nametab could not be deleted
Text Symbol: 014 = : Inactive nametab successfully deleted
Text Symbol: 015 = ReturnCode:
Text Symbol: 005 = Object
Text Symbol: 004 = No object to be handled was selected
Text Symbol: 003 = Log parameters
Text Symbol: 002 = Object Selection
Text Symbol: 001 = Selection for nametab move
Text Symbol: 006 = : No inactive nametab to be edited exists
Text Symbol: 011 = Error when editing table
Text Symbol: 010 = : Error when adjusting in the database
Text Symbol: 009 = : Inactive nametab could not be copied to active nametab
Text Symbol: 008 = Object & successfully edited
Text Symbol: 007 = Edit Table
INCLUDE RADBTMAC.
INCLUDE RADBTOUM.
INCLUDE RADBTLOM.
No SAP DATABASE tables are accessed within this REPORT code!
DD_GET_NAMETAB_HEADER CALL FUNCTION 'DD_GET_NAMETAB_HEADER' EXPORTING STATUS = 'N' TABNAME = OBJECTS_TAB-NAME1 IMPORTING R_MODEFLAG = MODEFLAG X030L_WA = X030L_WA EXCEPTIONS NOT_FOUND = 1 OTHERS = 3.
WRITE_AND_CALL_DBPROG CALL FUNCTION 'WRITE_AND_CALL_DBPROG' EXPORTING PRID = PRID MAX_SEVERITY = 'W' IMPORTING RC = RC_EXE TABLES STATEMENTS = STATEMENT_TAB EXCEPTIONS PROGRAM_NOT_WRITTEN = 1 SQL_ERROR_OCCURED = 2 OTHERS = 3.
DD_GET_NAMETAB CALL FUNCTION 'DD_GET_NAMETAB' EXPORTING STATUS = 'N' TABNAME = OBJNAME get_all = 'X' IMPORTING X030L_WA = X030L_WA TABLES X031L_TAB = X031L_TAB EXCEPTIONS NOT_FOUND = 1 NO_FIELDS = 2 OTHERS = 3.
DD_PUT_NAMETAB CALL FUNCTION 'DD_PUT_NAMETAB' EXPORTING STATUS = 'A' X030L_WA = X030L_WA IMPORTING R_SUBRC = RC_WRITE TABLES X031L_TAB = X031L_TAB EXCEPTIONS WRITE_ERROR = 1 OTHERS = 2.
DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING TABNAME = OBJNAME IMPORTING SUBRC = RC_EX EXCEPTIONS OTHERS = 1.
DB_EXISTS_VIEW CALL FUNCTION 'DB_EXISTS_VIEW' EXPORTING VIEWNAME = OBJNAME IMPORTING SUBRC = RC_EX 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.