SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Activation Program, Conversion Program, DB Utility, MC, SPDD(BC-DWB-DIC-AC) SAP BC

RUTCSADAPT SAP ABAP Report - DD: Changes log cluster to transparent







RUTCSADAPT 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 RUTCSADAPT 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 RUTCSADAPT. "Basic submit
SUBMIT RUTCSADAPT AND RETURN. "Return to original report after report execution complete
SUBMIT RUTCSADAPT 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: Changes log cluster to transparent
Text Symbol: 001 = Modify Cluster Sources / Ntab to Transparent
Text Symbol: 002 = Task:
Text Symbol: 003 = Mode:
Text Symbol: 004 = Test


INCLUDES used within this REPORT RUTCSADAPT

INCLUDE RADBTOUM.
INCLUDE RADBTLOM.


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_TABL_COPY call function 'DD_TABL_COPY' exporting dst_name = clname force = 'X' get_state = get_state prid = prid src_name = 'TACOPA' withtext = 'X' langu = sy-langu source_system = 'NONE' importing dd02v_wa = dd02v_wa dd09l_wa = dd09l_wa tables dd03p_tab = dd03p_tab exceptions illegal_value = 1 op_failure = 2 copying_refused = 3 others = 4.

DD_TABL_ACTM call function 'DD_TABL_ACTM' exporting MODE = 12 GETSTATE = 'M' NTAB_PUTSTATE = 'A' prid = prid SETTMST = ' ' tabname = dd02v_wa-tabname AUTH_CHK = ' ' EXCOMMIT = 'X' IMPORTING ACT_RESULT = rc_l EXCEPTIONS DBCHANGE_FAILURE = 1 NTAB_GEN_FAILURE = 2 PUT_FAILURE = 3 READ_FAILURE = 4 ACCESS_FAILURE = 5 OTHERS = 6.

DD_GET_NAMETAB CALL FUNCTION 'DD_GET_NAMETAB' EXPORTING * STATUS = 'A' TABNAME = clname IMPORTING R_STATUS = read_state X030L_WA = x030l_wa TABLES X031L_TAB = x031l_tab EXCEPTIONS NOT_FOUND = 1 NO_FIELDS = 2 OTHERS = 3.

DD_MAP_NAMETAB_TO_DDFIELDS CALL FUNCTION 'DD_MAP_NAMETAB_TO_DDFIELDS' EXPORTING * KEYFIELDS = 'X' * NULLABLE = 'X' * AUTHENTIC = ' ' * CHECK_ONLY = ' ' X030L_WA = x030l_wa TABLES DDFIELDS = ddfields X031L_TAB = x031l_tab.

DB_CREATE_TABLE_S CALL FUNCTION 'DB_CREATE_TABLE_S' EXPORTING DBSYS = syst-dbsys NO_EXEC = 'X' * PRID = 0 * PROGNAME = ' ' TABNAME = dd02v_wa-tabname DB_CHECK_FLAG = ' ' TABLES DDFIELDS = ddfields STATEMENTS = statements EXCEPTIONS PROGRAM_NOT_GENERATED = 1 PROGRAM_NOT_WRITTEN = 2 TPARAM_SOURCE_NOT_DETERMINATED = 3 TABLE_EXISTS = 4 TABLE_NOT_CREATED = 5 OTHERS = 6.

WRITE_AND_CALL_DBPROG call function 'WRITE_AND_CALL_DBPROG' EXPORTING * NO_EXEC = ' ' PRID = prid * PROGNAME = ' ' * MAX_SEVERITY = 'E' * ABAP_FLAG = ' ' IMPORTING * GENPROG = RC = rc_l tables statements = statements EXCEPTIONS PROGRAM_NOT_WRITTEN = 1 SQL_ERROR_OCCURED = 2 OP_FAILURE = 3 OTHERS = 4.

DD_TABL_DEL call function 'DD_TABL_DEL' exporting tabname = clname del_state = 'M' * CHECK_EXISTENCE = ABAP_FALSE PRID = prid.

DB_EXISTS_TABLE call function 'DB_EXISTS_TABLE' exporting tabname = name importing subrc = rc.

DDIF_TABL_GET call function 'DDIF_TABL_GET' exporting name = name state = 'M' langu = syst-langu importing gotstate = got_state dd02v_wa = dd02v_wa dd09l_wa = dd09v_wa tables dd03p_tab = dd03p_tab dd05m_tab = dd05m_tab dd08v_tab = dd08v_tab dd12v_tab = dd12v_tab dd17v_tab = dd17v_tab dd35v_tab = dd35v_tab dd36m_tab = dd36m_tab exceptions illegal_input = 1 others = 2.

DDIF_TABL_PUT call function 'DDIF_TABL_PUT' exporting name = name dd02v_wa = dd02v_wa dd09l_wa = dd09v_wa tables dd03p_tab = dd03p_tab dd05m_tab = dd05m_tab dd08v_tab = dd08v_tab dd35v_tab = dd35v_tab dd36m_tab = dd36m_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 mode = 12 getstate = 'M' ntab_putstate = 'A' prid = prid settmst = 'DA' tabname = name auth_chk = ' ' excommit = 'X' timer_on = ' ' upgrmode = ' ' modeflag = ' ' action = ' ' cycleobj = ' ' importing act_result = rc exceptions dbchange_failure = 1 ntab_gen_failure = 2 put_failure = 3 read_failure = 4 access_failure = 5 others = 6.

DD_GET_NAMETAB_HEADER call function 'DD_GET_NAMETAB_HEADER' exporting * STATUS = 'A' tabname = tabname IMPORTING X030L_WA = x030l_wa EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

DD_PUT_NAMETAB_HEADER call function 'DD_PUT_NAMETAB_HEADER' exporting * MODEFLAG = ' ' status = 'A' x030l_wa = x030l_wa * TRTYPE = ' ' IMPORTING R_SUBRC = subrc EXCEPTIONS WRITE_ERROR = 1 OTHERS = 2.



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