SAP Reports / Programs

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







CNV_MBT_CLUSTER_CREATE 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 CNV_MBT_CLUSTER_CREATE 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 CNV_MBT_CLUSTER_CREATE. "Basic submit
SUBMIT CNV_MBT_CLUSTER_CREATE AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_MBT_CLUSTER_CREATE 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
Selection Text: P_ACT_ID = Actvity ID
Selection Text: P_PACK = Package ID
Selection Text: P_PHASE = Phase
Title: Conversion: Create cluster for temporary data storage
Text Symbol: 001 = Standard parameters
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: 100 = Delete?
Text Symbol: 101 = Cluster CNVMBTCLU contains data !


INCLUDES used within this REPORT CNV_MBT_CLUSTER_CREATE

INCLUDE CNV_MBT_SM_MACROS.


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:

CNV_MBT_CREATE_CLUSTER CALL FUNCTION 'CNV_MBT_CREATE_CLUSTER' EXPORTING im_clustername = gv_clustername im_test = gp_test TABLES it_storpar = lt_storpar it_messages = lt_msgs EXCEPTIONS table_not_exists = 1 cancelled_by_user = 2 delete_not_successful = 3 invalid_storage_parm = 4 cluster_not_created = 5 OTHERS = 6.

CNV_MBT_DELETE_CLUSTER CALL FUNCTION 'CNV_MBT_DELETE_CLUSTER' EXPORTING im_clustername = gv_clustername im_test = gp_test TABLES it_messages = lt_msgs EXCEPTIONS table_not_exists = 1 cancelled_by_user = 2 delete_not_successful = 3 error_saving_storage_params = 4 OTHERS = 5.

DB_STORAGE_GET CALL FUNCTION 'DB_STORAGE_GET' EXPORTING dbsys = sy-dbsys prid = 0 tabname = gv_clustername 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 = gv_clustername source_hierarchy = ld_storagesrc TABLES storpar = lt_storpar EXCEPTIONS mapping_error = 1 db_error = 2 uncomplete_parameter = 3 OTHERS = 4.

CNV_MBT_GP_GET_GP_VALUE CALL FUNCTION 'CNV_MBT_GP_GET_GP_VALUE' EXPORTING ip_global_parameter = gv_glob_param IMPORTING ep_low = lv_value TABLES et_cnvmbtparams = lt_params EXCEPTIONS gp_no_valid_found = 1 no_client_or_all = 2 gp_no_value_found = 3 OTHERS = 4.

CNV_MBT_GET_STORAGE_PARAMETERS CALL FUNCTION 'CNV_MBT_GET_STORAGE_PARAMETERS' EXPORTING im_tabname = lv_tabname TABLES it_storpar = lt_storpar EXCEPTIONS no_settings_found = 1 OTHERS = 2.

CNV_MBT_RFC_PCL CALL FUNCTION 'CNV_MBT_RFC_PCL' EXPORTING packid = p_pack IMPORTING destination_id = l_rfcdest_pcl EXCEPTIONS no_destinations_for_packid = 1 no_pcl_destination_for_packid = 2 OTHERS = 3.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'C' IMPORTING destination_id = l_rfcdest_dtl EXCEPTIONS OTHERS = 0.

CNV_MBT_ADM_PACKAGE_INFO CALL FUNCTION 'CNV_MBT_ADM_PACKAGE_INFO' DESTINATION l_rfcdest_pcl EXPORTING packid = p_pack IMPORTING mtid = l_mtid EXCEPTIONS packid_does_not_exist = 1 OTHERS = 2.

DTL_GET_RELID CALL FUNCTION 'DTL_GET_RELID' DESTINATION l_rfcdest_dtl EXPORTING i_mt_id = l_mtid IMPORTING e_relid = l_relid.



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