SAP Reports / Programs

DMC_CREATE_CLUSTER SAP ABAP Report - Conversion: Create cluster for temporary data storage







DMC_CREATE_CLUSTER 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 DMC_CREATE_CLUSTER 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 DMC_CREATE_CLUSTER. "Basic submit
SUBMIT DMC_CREATE_CLUSTER AND RETURN. "Return to original report after report execution complete
SUBMIT DMC_CREATE_CLUSTER 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: GP_CRE = Create with tablespace select.
Selection Text: GP_DEL = Delete the cluster
Selection Text: GP_SIZ = Create automatically
Selection Text: GP_TEST = Test run - no change to DB
Title: Conversion: Create cluster for temporary data storage
Text Symbol: 001 = Action cancelled
Text Symbol: 002 = Cluster for temporary data storage
Text Symbol: 003 = Select table space
Text Symbol: 004 = 'Really delete'
Text Symbol: 005 = Create cluster in tablespace:
Text Symbol: 010 = Action to be executed
Text Symbol: 020 = automatically assign (biggest tablespace)
Text Symbol: 021 = Cluster
Text Symbol: 022 = was created
Text Symbol: 100 = Delete?
Text Symbol: 101 = Cluster DMC_INDXCL contains data !


INCLUDES used within this REPORT DMC_CREATE_CLUSTER

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:

DD_EXISTS_DATA CALL FUNCTION 'DD_EXISTS_DATA' EXPORTING tabclass = 'TRANSP' tabname = lp_tabname IMPORTING subrc = ld_subrc.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-101 titel = text-004 IMPORTING answer = gd_answer_del_data EXCEPTIONS OTHERS = 1.

GET_TSP_INFO_ORA CALL FUNCTION 'GET_TSP_INFO_ORA' TABLES tsp_tab_out = lt_tsp_ora EXCEPTIONS OTHERS = 1.

DB_INF_DB_SPACE_ALL_DETAIL CALL FUNCTION 'DB_INF_DB_SPACE_ALL_DETAIL' TABLES dbspaces_tab = lt_infdbspace EXCEPTIONS OTHERS = 1.

DB6_TABLESPACE_INFO CALL FUNCTION 'DB6_TABLESPACE_INFO' TABLES tbstab = lt_db6tspace EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = syst-cprog i_callback_user_command = 'INT_LIST_CALLBACK' is_layout = ld_layout it_fieldcat = lt_fieldcat TABLES t_outtab = lt_table_spc.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = syst-cprog i_callback_user_command = 'INT_LIST_CALLBACK' is_layout = ld_layout it_fieldcat = lt_fieldcat TABLES t_outtab = lt_infdbspace.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = syst-cprog i_callback_user_command = 'INT_LIST_CALLBACK' is_layout = ld_layout it_fieldcat = lt_fieldcat TABLES t_outtab = lt_db6tspace.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-005 textline2 = gd_tablespace titel = text-003 IMPORTING answer = ld_answer.

DB_STORAGE_PUT CALL FUNCTION 'DB_STORAGE_PUT' EXPORTING tabname = lp_tabname useflag = t_yes TABLES storpar = lt_storpar EXCEPTIONS db_error = 1 other_error = 2 OTHERS = 3.

DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' EXPORTING name = lp_tabname dd02v_wa = ld_dd02v dd09l_wa = ld_dd09l TABLES dd03p_tab = lt_dd03p "#EC * dd05m_tab = lt_dd05m "#EC * dd08v_tab = lt_dd08v "#EC * EXCEPTIONS tabl_not_found = 1 name_inconsistent = 2 tabl_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.

TRINT_TADIR_INSERT CALL FUNCTION 'TRINT_TADIR_INSERT' EXPORTING devclass = 'CNVM' genflag = 'T' object = 'TABL' obj_name = ld_tabname pgmid = 'R3TR' srcsystem = 'SAP' EXCEPTIONS object_exists_global = 1 object_exists_local = 2 OTHERS = 3.

DDIF_TABL_ACTIVATE CALL FUNCTION 'DDIF_TABL_ACTIVATE' EXPORTING name = lp_tabname "#EC DOM_EQUAL IMPORTING rc = ld_rc EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3.

DD_TABL_DEL CALL FUNCTION 'DD_TABL_DEL' EXPORTING tabname = lp_tabname del_state = 'M' EXCEPTIONS OTHERS = 1.

TRINT_TADIR_DELETE CALL FUNCTION 'TRINT_TADIR_DELETE' EXPORTING object = 'TABL' obj_name = ld_tabname pgmid = 'R3TR' EXCEPTIONS tadir_entry_not_existing = 1 object_exists = 2 OTHERS = 3.

DB_STORAGE_GET CALL FUNCTION 'DB_STORAGE_GET' EXPORTING dbsys = sy-dbsys prid = 0 tabname = 'DMC_INDXCL' source_hierarchy = ld_storagesrc TABLES storpar = lt_storpar EXCEPTIONS mapping_error = 1 db_error = 2 uncomplete_parameter = 3 OTHERS = 4.

DB_STORAGE_GET CALL FUNCTION 'DB_STORAGE_GET' EXPORTING dbsys = sy-dbsys prid = 0 tabname = 'DMC_INDXCL' source_hierarchy = ld_storagesrc TABLES storpar = lt_storpar EXCEPTIONS mapping_error = 1 db_error = 2 uncomplete_parameter = 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 DMC_CREATE_CLUSTER or its description.