SAP Reports / Programs

RADNTLANG SAP ABAP Report - Set Nametab Flag for Tables with One LANGU Field







RADNTLANG 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 RADNTLANG 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 RADNTLANG. "Basic submit
SUBMIT RADNTLANG AND RETURN. "Return to original report after report execution complete
SUBMIT RADNTLANG 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: CHECK = Exception Tables Check
Selection Text: DDMISS = Test Mode
Selection Text: INACTIVE = Activate Inactive Version
Selection Text: LONGLOG = Detailed Log
Selection Text: TABNAME = Table Name
Selection Text: TRKORR = Transport Requests
Title: Set Nametab Flag for Tables with One LANGU Field
Text Symbol: 001 = Set the Text Language in Sources and Nametab
Text Symbol: 003 = Source of objects to be processed
Text Symbol: 004 = Checks
Text Symbol: 005 = Log Options
Text Symbol: 006 = ( Test Mode )


INCLUDES used within this REPORT RADNTLANG

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:

TR_FLUSH_LOG call function 'TR_FLUSH_LOG'.

TR_SYS_PARAMS call function 'TR_SYS_PARAMS' "#EC FB_RC IMPORTING SYSTEMTYPE = system_type EXCEPTIONS NO_SYSTEMNAME = 1 NO_SYSTEMTYPE = 2 OTHERS = 3.

TR_FLUSH_LOG call function 'TR_FLUSH_LOG'.

DD_GET_NAMETAB call function 'DD_GET_NAMETAB' exporting status = 'M' tabname = tablist-name importing r_status = state x030l_wa = x030l_wa tables x031l_tab = x031l_tab exceptions not_found = 1 no_fields = 2 others = 3.

DD_TBHD_GET call function 'DD_TBHD_GET' EXPORTING GET_STATE = 'M' TABL_NAME = tablist-name IMPORTING GOT_STATE = got_state EXCEPTIONS ILLEGAL_VALUE = 1 OP_FAILURE = 2 OTHERS = 3.

DD_TBHD_GET call function 'DD_TBHD_GET' EXPORTING GET_STATE = 'M' TABL_NAME = tablist-name IMPORTING DD02V_WA_A = dd02v_wa_a GOT_STATE = got_state EXCEPTIONS ILLEGAL_VALUE = 1 OP_FAILURE = 2 OTHERS = 3.

TR_FLUSH_LOG call function 'TR_FLUSH_LOG'.

DD_MASS_DIST CALL FUNCTION 'DD_MASS_DIST' "hk_260504 EXPORTING "hk_260504 longprot = 'X' "hk_260504 IMPORTING "hk_260504 subrc = distrc. "hk_260504

TR_READ_AND_DISPLAY_LOG CALL FUNCTION 'TR_READ_AND_DISPLAY_LOG' "hk_040504 EXPORTING "hk_040504 iv_log_type = 'FILE' "hk_040504 iv_logname_file = logname "hk_040504 iv_language = sy-langu "hk_040504 iv_display_level = 3 "hk_040504 iv_with_long_text_icon = 'X' "hk_040504 EXCEPTIONS "hk_040504 invalid_input = 1 "hk_040504 access_error = 2. "hk_040504

TR_FLUSH_LOG call function 'TR_FLUSH_LOG'.

TR_APPEND_LOG call function 'TR_APPEND_LOG' "#EC FB_RC exporting open_file = open_file close_file = close_file condense = ' ' master_langu = 'E' accept_not_init = ' ' iv_suppress_statistics = ' ' tables xmsg = xmsg exceptions file_not_found = 1 wrong_call = 2 others = 3.

DDIF_TABL_GET call function 'DDIF_TABL_GET' exporting name = tabname state = readstate importing gotstate = gotstate dd02v_wa = dd02v_wa dd09l_wa = dd09l_wa tables dd03p_tab = dd03p_tab exceptions illegal_input = 1 others = 2.

DD_TABL_EXPAND call function 'DD_TABL_EXPAND' exporting dd02v_wa = dd02v_wa * MODE = 1 * DD03P_INDEX = 0 prid = 0 IMPORTING SUBRC = rc_exp * MISSING_TABLE = tables dd03p_tab = dd03p_tab EXCEPTIONS ILLEGAL_PARAMETER = 1 OTHERS = 2.

DDIF_TABL_PUT call function 'DDIF_TABL_PUT' exporting name = dd02v_wa-tabname DD02V_WA = dd02v_wa DD09L_WA = dd09l_wa TABLES DD03P_TAB = DD03P_TAB EXCEPTIONS TABL_NOT_FOUND = 1 NAME_INCONSISTENT = 2 TABL_INCONSISTENT = 3 PUT_FAILURE = 4 PUT_REFUSED = 5 OTHERS = 6.

DD_TABL_ACTM call function 'DD_TABL_ACTM' EXPORTING getstate = 'M' ntab_putstate = 'N' mode = 5 prid = 0 tabname = dd02v_wa-tabname auth_chk = ' ' IMPORTING act_result = rc EXCEPTIONS dbchange_failure = 1 ntab_gen_failure = 2 put_failure = 3 read_failure = 4 access_failure = 5 OTHERS = 6.

DDIF_TABL_ACTIVATE call function 'DDIF_TABL_ACTIVATE' exporting name = dd02v_wa-tabname AUTH_CHK = ' ' PRID = 0 IMPORTING RC = rc EXCEPTIONS NOT_FOUND = 1 PUT_FAILURE = 2 OTHERS = 3.

DD_PUT_NAMETAB call function 'DD_PUT_NAMETAB' exporting status = status x030l_wa = x030l_wa tables x031l_tab = x031l_tab exceptions write_error = 1 others = 2.

DD_TABL_ACT CALL FUNCTION 'DD_TABL_ACT' EXPORTING * DEVICE = 'F' * PATH = ' ' * PROTNAME = ' ' TABNAME = tabname * TIMER_ON = ' ' PRID = 0 ACT_MODE = 1 * AUTH_CHK = 'X' * EXCOMMIT = 'X' IMPORTING ACT_RESULT = rc * TABLES * ACT_RES_TAB = EXCEPTIONS ACTOK_FAILURE = 1 DBCHANGE_FAILURE = 2 LOCKACT_FAILURE = 3 NTAB_GEN_FAILURE = 4 PUT_FAILURE = 5 READ_FAILURE = 6 UNLOCKACT_FAILURE = 7 ACCESS_FAILURE = 8 OTHERS = 9.

DB_TABLE_SET_LOCK





**call function 'DB_TABLE_SET_LOCK' ** EXPORTING ** DBSYS = SY-DBSYS ** PRID = 0 ** TABNAME = 'D010SINF' ** MAX_SEVERITY = 'W' ** IMPORTING ** SUBRC = subrc ** EXCEPTIONS ** ILLEGAL_VALUE = 1.

DD_GET_NAMETAB call function 'DD_GET_NAMETAB' exporting * STATUS = 'A' tabname = tabname * GET_ALL = ' ' IMPORTING * F_STATUS = * R_MODEFLAG = R_STATUS = read_state * X030L_WA = tables x031l_tab = x031l_tab EXCEPTIONS NOT_FOUND = 1 NO_FIELDS = 2 OTHERS = 3.

TR_GET_NAMESPACE_AND_ROLE call function 'TR_GET_NAMESPACE_AND_ROLE' exporting iv_pgmid = 'R3TR' iv_object = object iv_objname = objname * IV_USE_DEVCLASS_INFO = ' ' IMPORTING * EV_NAMESPACE = EV_ROLE = role EXCEPTIONS NAMESPACE_NOT_EXISTING = 1 INVALID_OBJECT = 2 NAMESPACE_NOT_DETERMINABLE = 3 OTHERS = 4.

DD_RANGE_SELECT call function 'DD_RANGE_SELECT' exporting formid = 'LANGU_INCONSISTENCY_SEL' repid = 'RADNTLANG' tables result_tab = tabnames symbol_tab = excl_tab exceptions illegal_value = 1 others = 2.

DD_TBHD_GET CALL FUNCTION 'DD_TBHD_GET' EXPORTING GET_STATE = 'M' TABL_NAME = tabname IMPORTING DD02V_WA_N = dd02v_wa GOT_STATE = got_state EXCEPTIONS ILLEGAL_VALUE = 1 OP_FAILURE = 2 OTHERS = 3.



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