CNV_20100_TABOPT 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_20100_TABOPT into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CNV_20100_TABOPT - Make scen.related optimization
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.
Selection Text: P_CLASS = Analyze classification tables
Selection Text: P_KEEP = Keep basic settings
Selection Text: P_TEST = Test run
Title: For performance optimization adapt CNV settings
Text Symbol: 001 = NOTUSE = X by CNV_20100_TABOPT (see log)
Text Symbol: 002 = Entry created by CNV_20100_TABOPT (see log)
INCLUDE CNV_20100_ERRTYPE.
No SAP DATABASE tables are accessed within this REPORT code!
CNV_INT_PACKAGE_GET CALL FUNCTION 'CNV_INT_PACKAGE_GET' IMPORTING packid = gc_packid phase = gd_phase EXCEPTIONS active_package_not_found = 1 OTHERS = 2.
CNV_INT_PROTOCOL_MESSAGE CALL FUNCTION 'CNV_INT_PROTOCOL_MESSAGE' EXPORTING msgty = lp_msgty msgid = lp_msgid msgno = lp_msgno msgv1 = lp_msgv1 msgv2 = lp_msgv2 msgv3 = lp_msgv3 msgv4 = lp_msgv4 level = lp_level probclass = lp_class.
CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state = 'E'.
CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING state = 'W'.
CNV_INT_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.
CNV_20100_GET_MAPPING CALL FUNCTION 'CNV_20100_GET_MAPPING' EXPORTING iv_packid = iv_packid iv_get_from_me = '' "<--Shall be read from original tables IMPORTING ev_timestamp = lv_timestamp TABLES t_chart_of_acc = gt_cnv_chart_of_acc t_coa_t004 = gt_cnv_coa_t004 t_ccode = gt_cnv_coa_ccode EXCEPTIONS no_mapping = 1 error = 2 OTHERS = 3.
CNV_10020_SET_ORGDEPENDENCE CALL FUNCTION 'CNV_10020_SET_ORGDEPENDENCE' EXPORTING i_packid = gc_packid i_packid_src = '20100' i_action = 'A' EXCEPTIONS no_update_required = 1 action_not_handled = 2 OTHERS = 3.
CNV_10020_SET_ORGDEPENDENCE CALL FUNCTION 'CNV_10020_SET_ORGDEPENDENCE' EXPORTING i_packid = gc_packid i_packid_src = '20100' i_action = 'D' EXCEPTIONS no_update_required = 1 action_not_handled = 2 OTHERS = 3.
CNV_00001_PARAMS_READ CALL FUNCTION 'CNV_00001_PARAMS_READ' EXPORTING paramname = 'CNV_20100_NO_N_TO_1_NO_SUMUP' packid = gc_packid IMPORTING valuefrom = lv_delete_sumup EXCEPTIONS no_active_package = 1 parameter_does_not_exist = 2 package_does_not_exists = 3 OTHERS = 4.
CNV_20100_CREATE_DYNAMIC_TABLE CALL FUNCTION 'CNV_20100_CREATE_DYNAMIC_TABLE' EXPORTING i_struct_name = lc_tabname_t004 CHANGING dyn_wa = new_t004_line.
CNV_10020_SET_RELVAL CALL FUNCTION 'CNV_10020_SET_RELVAL' EXPORTING i_packid = gc_packid i_packid_src = '20100' i_dtobj = '' i_relval = '' i_action = 'D' EXCEPTIONS action_failed = 1 action_not_handled = 2 OTHERS = 3.
CNV_10020_SET_RELVAL CALL FUNCTION 'CNV_10020_SET_RELVAL' EXPORTING i_packid = gc_packid i_packid_src = '20100' i_dtobj = 'BUKRS' i_relval = gs_cnv_coa_ccode-coa_old_bukrs EXCEPTIONS action_failed = 1 action_not_handled = 2 OTHERS = 3.
CNV_10020_SET_RELVAL CALL FUNCTION 'CNV_10020_SET_RELVAL' EXPORTING i_packid = gc_packid i_packid_src = '20100' i_dtobj = 'KOKRS' i_relval = lt_tka02-kokrs EXCEPTIONS action_failed = 1 action_not_handled = 2 OTHERS = 3.
CNV_10020_SET_RELVAL CALL FUNCTION 'CNV_10020_SET_RELVAL' EXPORTING i_packid = gc_packid i_packid_src = '20100' i_dtobj = 'KTOPL' i_relval = gs_cnv_coa_ccode-coa_old EXCEPTIONS action_failed = 1 action_not_handled = 2 OTHERS = 3.
CNV_10020_SET_RELVAL CALL FUNCTION 'CNV_10020_SET_RELVAL' EXPORTING i_packid = gc_packid i_packid_src = '20100' i_dtobj = 'KTOPL' i_relval = gs_cnv_chart_of_acc-coa_old EXCEPTIONS action_failed = 1 action_not_handled = 2 OTHERS = 3.
CNV_10020_GET_RELVAL CALL FUNCTION 'CNV_10020_GET_RELVAL' EXPORTING i_packid = gc_packid i_packid_src = '20100' TABLES et_relval = lt_relval EXCEPTIONS OTHERS = 1.
CNV_00001_PARAMS_WRITE CALL FUNCTION 'CNV_00001_PARAMS_WRITE' EXPORTING paramname = gc_mc_duplicates_param valuefrom = abap_false EXCEPTIONS no_active_package = 1 package_does_not_exists = 2 OTHERS = 3.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = gs_cnvtables-tabname fieldname = gs_cnvfields-fieldname * LANGU = SY-LANGU * IMPORTING * X030L_WA = TABLES dfies_tab = lt_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = gs_cnvfields_copy-tabname fieldname = gs_cnvfields_copy-fieldname * LANGU = SY-LANGU * IMPORTING * X030L_WA = TABLES dfies_tab = lt_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = gs_cnvfields_copy-tabname TABLES dfies_tab = lt_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
CNV_00001_TRANSF_REL_TO_ORDER CALL FUNCTION 'CNV_00001_TRANSF_REL_TO_ORDER' EXPORTING * MANDT = packid = gc_packid TABLES t_relationships = lt_relationship t_cnvorder = lt_cnvorder.
CNV_00001_CHECK_SEQUENCE CALL FUNCTION 'CNV_00001_CHECK_SEQUENCE' EXPORTING packid = gc_packid IMPORTING conflict = lv_conflict.
CNV_00001_CTRLOBJ_FILL_COMMON CALL FUNCTION 'CNV_00001_CTRLOBJ_FILL_COMMON' EXPORTING created = sy-cprog auto_for_created = 'X' CHANGING struct = p_struct.
CNV_00001_CTRLOBJ_FILL_COMMON CALL FUNCTION 'CNV_00001_CTRLOBJ_FILL_COMMON' EXPORTING changed = sy-cprog auto_for_changed = 'X' CHANGING struct = p_struct.
CNV_10020_DT_PROPOSAL CALL FUNCTION 'CNV_10020_DT_PROPOSAL' EXPORTING i_packid = gc_packid i_tabname = p_tabname i_packid_src = '20100' TABLES * IT_TDTOBJ = et_dtfld = lt_dtfld_prop * IT_DD03L = EXCEPTIONS no_tdtobj = 1 OTHERS = 2.
CNV_10020_GET_DT_FIELDS CALL FUNCTION 'CNV_10020_GET_DT_FIELDS' EXPORTING packid = gc_packid tabname = p_tabname TABLES et_dtfld = lt_dtfld_act EXCEPTIONS no_packid_src = 1 OTHERS = 2.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = p_tabname TABLES dfies_tab = lt_dfies * FIXED_VALUES = EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = p_tabname TABLES dfies_tab = lt_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
CNV_20100_GET_REAL_FIELDNAME CALL FUNCTION 'CNV_20100_GET_REAL_FIELDNAME' EXPORTING iv_fieldname = ls_cnvfields-fieldname IMPORTING ev_fieldname = lv_fieldname.
CNV_00001_CTRLOBJ_FILL_COMMON CALL FUNCTION 'CNV_00001_CTRLOBJ_FILL_COMMON' EXPORTING changed = sy-cprog auto_for_changed = 'X' CHANGING struct = ls_cnvfields.
CNV_00001_CTRLOBJ_FILL_COMMON CALL FUNCTION 'CNV_00001_CTRLOBJ_FILL_COMMON' EXPORTING changed = sy-cprog auto_for_changed = 'X' CHANGING struct = ls_cnvfields.
CNV_00001_CTRLOBJ_FILL_COMMON CALL FUNCTION 'CNV_00001_CTRLOBJ_FILL_COMMON' EXPORTING changed = sy-cprog auto_for_changed = 'X' CHANGING struct = ls_cnvfields.
CNV_20100_GET_MAPPING CALL FUNCTION 'CNV_20100_GET_MAPPING' EXPORTING iv_packid = gc_packid * IV_COA_OLD = iv_get_from_me = '' " do not read from ME but from DB-tables * IMPORTING * EV_TIMESTAMP = TABLES * T_CHART_OF_ACC = * T_COA_T004 = t_ccode = lt_coa_ccode t_account = lt_coa_account * T_COSTELE = * T_OTHERS = * T_MAPPING = EXCEPTIONS no_mapping = 1 error = 2 OTHERS = 3 .
CNV_20100_GET_REAL_FIELDNAME CALL FUNCTION 'CNV_20100_GET_REAL_FIELDNAME' EXPORTING iv_fieldname =
-fieldname IMPORTING ev_fieldname = lv_fieldname.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname =
-tabname fieldname = lv_fieldname TABLES dfies_tab = lt_dfies EXCEPTIONS not_found = 1 internal_error = 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_20100_TABOPT or its description.
CNV_20100_TABOPT - For performance optimization adapt CNV settings CNV_20100_TABOPT - For performance optimization adapt CNV settings CNV_20100_SPLIT_MAPPING - CNV20100SPLITMAPPING CNV_20100_SPLIT_MAPPING - CNV20100SPLITMAPPING CNV_20100_SET_PARAM - Set or delete a parameter in cnv_00001_params CNV_20100_SET_PARAM - Set or delete a parameter in cnv_00001_params