CNV_TDMS_16_PRECALC_FLAT 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_TDMS_16_PRECALC_FLAT 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.
Title: To trigger the precalculation for flat objects
INCLUDE: CNV_MBT_SM_PARAMS ,
No SAP DATABASE tables are accessed within this REPORT code!
CNV_TDMS_SET_GET_STATE CALL FUNCTION 'CNV_TDMS_SET_GET_STATE' EXPORTING gd_packid = p_pack gd_phase = p_phase gd_act_id = p_act_id EXCEPTIONS insert_error = 1 rfc_error = 2 OTHERS = 3.
CNV_MBT_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_SUBSTATE_WRITE' TABLES im_cnvmbtsubstate = lt_substate EXCEPTIONS update_failed = 1 OTHERS = 2.
CNV_MBT_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_SUBSTATE_WRITE' DESTINATION gv_pcl_dest TABLES im_cnvmbtsubstate = lt_substate EXCEPTIONS update_failed = 1 communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext OTHERS = 2.
CNV_MBT_SUBSTATE_JOBCOUNT_UPD CALL FUNCTION 'CNV_MBT_SUBSTATE_JOBCOUNT_UPD' DESTINATION ls_substate-destination EXPORTING i_cnvmbtsubstate = ls_substate EXCEPTIONS OTHERS = 1.
CNV_MBT_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_SUBSTATE_WRITE' TABLES im_cnvmbtsubstate = lt_substate EXCEPTIONS update_failed = 1 OTHERS = 2.
CNV_MBT_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_SUBSTATE_WRITE' DESTINATION gv_pcl_dest TABLES im_cnvmbtsubstate = lt_substate EXCEPTIONS update_failed = 1 communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext OTHERS = 2.
CNV_MBT_SUBPARAMS_SET CALL FUNCTION 'CNV_MBT_SUBPARAMS_SET' TABLES t_im_subact_params = lt_subparams EXCEPTIONS modify_subparams_error = 1 calling_of_function_error = 2 delete_subparams_error = 3 OTHERS = 4.
CNV_MBT_SUBPARAMS_SET CALL FUNCTION 'CNV_MBT_SUBPARAMS_SET' DESTINATION gv_pcl_dest TABLES t_im_subact_params = lt_subparams EXCEPTIONS modify_subparams_error = 1 calling_of_function_error = 2 delete_subparams_error = 3 OTHERS = 4.
CNV_MBT_L_STATE_FINISH CALL FUNCTION 'CNV_MBT_L_STATE_FINISH' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id.
CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'P' all_as_table = '' IMPORTING destination_id = gv_pcl_dest EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 OTHERS = 3.
CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'C' all_as_table = '' IMPORTING destination_id = gv_cent_dest EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 OTHERS = 3.
CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'S' all_as_table = '' IMPORTING destination_id = gv_send_dest EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 OTHERS = 3.
CNV_MBT_ADM_MAX_JOBS_GET CALL FUNCTION 'CNV_MBT_ADM_MAX_JOBS_GET' EXPORTING packid = p_pack exec_target = 'S' phase = p_phase activity_id = p_act_id IMPORTING ex_jobs_free = lv_jobs EXCEPTIONS get_pcl_destination_error = 1 get_jobs_control_error = 2 rfc_failure = 3.
CNV_MBT_SUBACT_JOBS_CREATE CALL FUNCTION 'CNV_MBT_SUBACT_JOBS_CREATE' EXPORTING program_starter = 'CNV_MBT_SUBACT_JOBS_START' TABLES im_cnvmbtsubstate = lt_substate EXCEPTIONS scheduling_error = 1 modify_substate_error = 2 program_execution_failed = 3 OTHERS = 4.
CNV_MBT_STATE_GET CALL FUNCTION 'CNV_MBT_STATE_GET' DESTINATION gv_pcl_dest EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id all_as_table = 'X' TABLES t_ex_cnvmbtstate = lt_state EXCEPTIONS communication_failure = 1 MESSAGE gd_msgtext system_failure = 2 MESSAGE gd_msgtext entry_does_not_exist = 3 OTHERS = 4.
CNV_MBT_SUBSTATE_GET CALL FUNCTION 'CNV_MBT_SUBSTATE_GET' DESTINATION gv_pcl_dest EXPORTING session_id = lv_sess_id packid = p_pack TABLES t_substate = lt_last_sub EXCEPTIONS daten_not_found = 1 OTHERS = 2.
DTL_PRL_DATA_SELECTION_OBJECTS * CALL FUNCTION 'DTL_PRL_DATA_SELECTION_OBJECTS' * DESTINATION gv_cent_dest * IMPORTING * et_obj_names = lt_obj.
CNV_MBT_GET_PRECALC_OBJECTS CALL FUNCTION 'CNV_MBT_GET_PRECALC_OBJECTS' DESTINATION gv_cent_dest EXPORTING IV_PACKID = p_pack IV_NO_HEADER_TABLES = lc_x TABLES ET_PRECALCOBJ = lt_precalcobj EXCEPTIONS RFC_PROBLEMS = 1 OTHERS = 2.
CALL FUNCTION 'DTL_GET_DELIMIT_REPORT_NAME' EXPORTING i_check_existence = 'X' i_flat_object_name = lv_obj_16 "#EC * IMPORTING e_reportname = gs_subact-subact e_report_exists = lv_exist.
CNV_MBT_L_STATE_GET CALL FUNCTION 'CNV_MBT_L_STATE_GET' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id all_as_table = 'X' IMPORTING last_exec_num = ld_exec_num TABLES t_ex_cnvmbtstate = lt_state EXCEPTIONS entry_does_not_exist = 1 OTHERS = 2.
RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = gv_pcl_dest EXCEPTIONS destination_not_open = 1 OTHERS = 2.
CNV_MBT_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_SUBSTATE_WRITE' DESTINATION gv_pcl_dest TABLES im_cnvmbtsubstate = gt_cnvmbtsubstate1 EXCEPTIONS update_failed = 1 OTHERS = 2.
CNV_MBT_SUBACT_JOBS_CREATE CALL FUNCTION 'CNV_MBT_SUBACT_JOBS_CREATE' EXPORTING program_starter = gc_starter TABLES im_cnvmbtsubstate = gt_cnvmbtsubstate1 EXCEPTIONS scheduling_error = 1 modify_substate_error = 2 program_execution_failed = 3 OTHERS = 4.
DEQUEUE_ECNVMBTSUBSTATE CALL FUNCTION 'DEQUEUE_ECNVMBTSUBSTATE' EXPORTING mode_cnvmbtsubstate = 'E' client = sy-mandt session_id = p_session_id subact_id = p_subact_id task_id = p_task_id EXCEPTIONS OTHERS = 1.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' EXCEPTIONS OTHERS = 1.
ENQUEUE_ECNVMBTSUBSTATE CALL FUNCTION 'ENQUEUE_ECNVMBTSUBSTATE' EXPORTING mode_cnvmbtsubstate = 'E' client = sy-mandt session_id = p_session_id subact_id = p_subact_id task_id = p_task_id EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
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_TDMS_16_PRECALC_FLAT or its description.
CNV_TDMS_16_PRECALC_FLAT - To trigger the precalculation for flat objects CNV_TDMS_16_PRECALC_FLAT - To trigger the precalculation for flat objects CNV_TDMS_16_INCL_TOP - Include CNV_TDMS_16_INCL_TOP CNV_TDMS_16_INCL_POV - Include CNV_TDMS_16_INCL_POV CNV_TDMS_16_INCL_PBO - Include CNV_TDMS_16_INCL_PBO CNV_TDMS_16_INCL_PAI - Include CNV_TDMS_16_INCL_PAI