SAP Reports / Programs

CNV_00001_COND_ANALYZE SAP ABAP Report - Analysis of selection partitioning







CNV_00001_COND_ANALYZE 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_00001_COND_ANALYZE into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CNV_00001_COND_SPLIT - Analysis of selection partitioning


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_00001_COND_ANALYZE. "Basic submit
SUBMIT CNV_00001_COND_ANALYZE AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_00001_COND_ANALYZE 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_PACK = D Package number
Title: Analysis of selection partitioning
Text Symbol: 010 = The actual number of records in table &1 is unknown. Do you want the system to count the records or to use DB statistics?
Text Symbol: 011 = Do you want to execute an analysis of the distribution of values for field &2 in table &1?
Text Symbol: 012 = DB statistics
Text Symbol: 013 = Actual number
Text Symbol: 014 = Carry out the partitioning analysis first
Text Symbol: 015 = Field already exists or table does not contain such a field
Text Symbol: 008 = Do you want to exclude the field &2 from the analysis?
Text Symbol: 001 = Choose the tables
Text Symbol: 002 = Table name
Text Symbol: 003 = Analysis results are already available for some of the selected tables. Do yo want to delete these results?
Text Symbol: 004 = Number of partitioning blocks
Text Symbol: 005 = Into how many blocks do you want to divide the selection?
Text Symbol: 006 = Overwrite?
Text Symbol: 007 = There are entries for table &2 in &3. Do you want to overwrite these entries?
Text Symbol: 027 = Add
Text Symbol: 028 = Analysis
Text Symbol: 029 = Evaluation
Text Symbol: 030 = Distribution of the values
Text Symbol: 031 = Distribution
Text Symbol: 032 = Distrib.
Text Symbol: 033 = Selection partitioning
Text Symbol: 026 = Add field
Text Symbol: 016 = Do you want to exclude table &1 from the analysis?
Text Symbol: 020 = Select
Text Symbol: 021 = Sel.
Text Symbol: 022 = Delete
Text Symbol: 023 = Delete
Text Symbol: 024 = Resetting
Text Symbol: 025 = Reset
Text Symbol: 042 = Into which table do you want to insert the records?
Text Symbol: 043 = Meaning of the symbols
Text Symbol: 044 = Key change
Text Symbol: 045 = Key change
Text Symbol: 046 = KeyChg
Text Symbol: 047 = Position in index
Text Symbol: 048 = Indx position





Text Symbol: 041 = Choose the table:
Text Symbol: 034 = Sel. partit.
Text Symbol: 035 = Distrib.
Text Symbol: 036 = Progress of the partitioning
Text Symbol: 037 = Progress
Text Symbol: 038 = Select a field
Text Symbol: 039 = Field nm
Text Symbol: 040 = Following records are saved:
Text Symbol: 076 = Enter the value of the selected field
Text Symbol: 077 = Merge
Text Symbol: 078 = Mode: merge
Text Symbol: 079 = Mode: overwrite
Text Symbol: 080 = You first need to reset the results
Text Symbol: 075 = Limit
Text Symbol: 049 = Pos.
Text Symbol: 060 = Package &1 does not exist
Text Symbol: 064 = Include hints?
Text Symbol: 065 = Do you want to include SQL index hints?
Text Symbol: 070 = Limiting WHERE clause
Text Symbol: 071 = WHERE clause
Text Symbol: 072 = WHERE
Text Symbol: 009 = Do you want to reset the analysis results?


INCLUDES used within this REPORT CNV_00001_COND_ANALYZE

INCLUDE LBTCHDEF.


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_00001_IS_USER_EXPERT CALL FUNCTION 'CNV_00001_IS_USER_EXPERT' IMPORTING pd_expert = gd_expert EXCEPTIONS OTHERS = 1.

CNV_INT_PACKAGE_GET CALL FUNCTION 'CNV_INT_PACKAGE_GET' IMPORTING packid = gp_pack EXCEPTIONS active_package_not_found = 1 OTHERS = 2.

CNV_00001_IS_PACK_CUST_SPACE CALL FUNCTION 'CNV_00001_IS_PACK_CUST_SPACE' EXPORTING p_pack = gp_pack IMPORTING p_res = gd_res EXCEPTIONS package_not_found = 1 OTHERS = 2.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = ls_cond_fields-tabname IMPORTING dd02v_wa = ls_dd02v EXCEPTIONS illegal_input = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = ls_cond_fields-tabname IMPORTING x030l_wa = ls_x030l TABLES dfies_tab = lt_field EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = ls_cond_fields-tabname TABLES dd17v_tab = lt_index EXCEPTIONS illegal_input = 1 OTHERS = 2.

DD_INDEX_NAME CALL FUNCTION 'DD_INDEX_NAME' EXPORTING indexname = ls_table_info-indexname tabname = ls_table_info-tabname IMPORTING dbindex = ls_table_info-dbindexname EXCEPTIONS OTHERS = 1.






CNV_00001_POPUP_CHOOSE_VALUE CALL FUNCTION 'CNV_00001_POPUP_CHOOSE_VALUE' EXPORTING p_title = text-001 p_column_title = text-002 p_multiple = 'X' IMPORTING p_answer = ld_answer TABLES p_values = lt_names p_sel_values = lt_chosen EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING default_button = 2 text_question = text-003 IMPORTING answer = gd_answ.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = sy-cprog i_callback_pf_status_set = 'STATUS_SET' i_callback_user_command = 'USER_COMMAND' is_layout = ld_layout it_fieldcat = lt_fieldcat i_tabname_header = 'H' i_tabname_item = 'T' it_event_exit = lt_event_exit it_sort = lt_sort is_keyinfo = ld_keyinfo TABLES t_outtab_header = gt_tabs t_outtab_item = pt_prio_field EXCEPTIONS program_error = 1 OTHERS = 2.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = ld_jobname IMPORTING jobcount = ld_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = ld_jobcount jobname = ld_jobname strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

CNV_00001_POPUP_CHOOSE_VALUE CALL FUNCTION 'CNV_00001_POPUP_CHOOSE_VALUE' EXPORTING p_title = text-077 p_column_title = text-078 IMPORTING p_answer = ld_answ p_sel_value = pd_oper TABLES p_values = lt_opers EXCEPTIONS OTHERS = 1.

CNV_00001_POPUP_GET_VALUE CALL FUNCTION 'CNV_00001_POPUP_GET_VALUE' EXPORTING p_title = text-075 p_text = text-076 p_length = 72 p_default = '' IMPORTING p_value = ld_clause p_answer = ld_answ EXCEPTIONS OTHERS = 1.

CNV_00001_POPUP_GET_VALUE CALL FUNCTION 'CNV_00001_POPUP_GET_VALUE' EXPORTING p_title = text-004 p_text = text-005 p_length = 5 p_default = gc_default_blocks IMPORTING p_value = ld_value p_answer = ld_answ EXCEPTIONS OTHERS = 1.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = ld_jobname IMPORTING jobcount = ld_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = ld_jobcount jobname = ld_jobname strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

CNV_00001_IS_USER_EXPERT * CALL FUNCTION 'CNV_00001_IS_USER_EXPERT' * EXPORTING * PD_PACKID = PD_PACK * IMPORTING * PD_HINT_EXPERT = LD_EXPERT * EXCEPTIONS * OTHERS = 1.

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * TITLEBAR = TEXT-064 * TEXT_QUESTION = TEXT-065 * IMPORTING * ANSWER = LD_HINTS * EXCEPTIONS * TEXT_NOT_FOUND = 1 * OTHERS = 2.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING es_layout = ls_layout et_fieldcat = lt_fieldcat EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING is_layout = ls_layout it_fieldcat = lt_fieldcat EXCEPTIONS OTHERS = 1.

DOCU_CALL CALL FUNCTION 'DOCU_CALL' EXPORTING displ = 'X' displ_mode = '2' id = 'TX' langu = sy-langu object = gc_docu_help EXCEPTIONS OTHERS = 1.

DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING id = 'DT' langu = sy-langu object = gc_docu_legend TABLES line = lt_docu EXCEPTIONS no_docu_on_screen = 1 no_docu_self_def = 2 no_docu_temp = 3 ret_code = 4 OTHERS = 5.

CNV_00001_POPUP_DISPLAY_TEXT CALL FUNCTION 'CNV_00001_POPUP_DISPLAY_TEXT' EXPORTING p_title = text-043 TABLES pt_text = lt_docu EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = ld_question IMPORTING answer = ld_answ EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = ld_question IMPORTING answer = ld_answ EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM



CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = ld_txt IMPORTING answer = ld_answ EXCEPTIONS text_not_found = 1 OTHERS = 2.

RS_DD_FIEL_SHOW CALL FUNCTION 'RS_DD_FIEL_SHOW' EXPORTING objname = ld_field-tabname.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = ld_txt IMPORTING answer = ld_answ EXCEPTIONS text_not_found = 1 OTHERS = 2.

CNV_00001_POPUP_CHOOSE_VALUE CALL FUNCTION 'CNV_00001_POPUP_CHOOSE_VALUE' EXPORTING p_title = text-038 p_column_title = text-039 p_multiple = space IMPORTING p_answer = ld_answ p_sel_value = ld_fieldname TABLES p_values = lt_fieldnames EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy-cprog i_callback_pf_status_set = 'SUBSTATUS_SET' i_callback_user_command = 'SUBUSER_COMMAND' is_layout = ld_layout it_fieldcat = lt_fieldcat TABLES t_outtab = lt_result EXCEPTIONS program_error = 1 OTHERS = 2.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = p_jobnum job_read_jobname = p_jobname job_read_opcode = 19 IMPORTING job_read_jobhead = ld_job EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 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 CNV_00001_COND_ANALYZE or its description.