SAP Reports / Programs | Cross-Application Components(CA) SAP CA

CNV_10940_SELECT_FORM SAP ABAP INCLUDE - Include CNV_10940_SELECT_FORM







CNV_10940_SELECT_FORM is a standard ABAP INCLUDE 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_10940_SELECT_FORM 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_10940_SELECT_FORM. "Basic submit
SUBMIT CNV_10940_SELECT_FORM AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_10940_SELECT_FORM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include CNV_10940_SELECT_FORM


INCLUDES used within this REPORT CNV_10940_SELECT_FORM

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:

KD_GET_FILENAME_ON_F4 CALL FUNCTION 'KD_GET_FILENAME_ON_F4' EXPORTING field_name = 'P_FILENM' CHANGING file_name = gv_filenm EXCEPTIONS mask_too_long = 1 OTHERS = 2.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING * I_BUFFER_ACTIVE = i_structure_name = 'CNV_10940_HEAD' i_client_never_display = gc_x i_bypassing_buffer = gc_x CHANGING ct_fieldcat = gt_fieldcat_0100 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

CNV_10940_EXCEL_TO_IN CALL FUNCTION 'CNV_10940_EXCEL_TO_IN' EXPORTING filename = im_filename i_begin_col = 1 "Begining Column i_begin_row = 1 "Begining Row i_end_col = 3 "Total Column i_end_row = 65000 TABLES intern = lt_excel EXCEPTIONS inconsistent_parameters = 1 upload_ole = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CNV_10940_RUNSTR' i_client_never_display = gc_x i_bypassing_buffer = gc_x CHANGING ct_fieldcat = xt_fieldcat_0300 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

KD_GET_FILENAME_ON_F4 CALL FUNCTION 'KD_GET_FILENAME_ON_F4' EXPORTING field_name = 'P_FILENM' CHANGING file_name = gv_file EXCEPTIONS mask_too_long = 1 OTHERS = 2.

CNV_10940_EXCEL_TO_IN CALL FUNCTION 'CNV_10940_EXCEL_TO_IN' EXPORTING filename = im_filename i_begin_col = 1 "Begining Column i_begin_row = 1 "Begining Row i_end_col = 4 "Total Column i_end_row = 65000 TABLES intern = lt_excel EXCEPTIONS inconsistent_parameters = 1 upload_ole = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CNV_10940_RUNSTR' i_client_never_display = gc_x i_bypassing_buffer = gc_x CHANGING ct_fieldcat = xt_fieldcat_0400 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-123 titel = text-126 IMPORTING answer = p_answer.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CNV_10940_DOMAIN' i_client_never_display = gc_x i_bypassing_buffer = gc_x CHANGING ct_fieldcat = xt_fieldcat_0301 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CNV_10940_DOMAIN' i_client_never_display = gc_x i_bypassing_buffer = gc_x CHANGING ct_fieldcat = xt_fieldcat_0401 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-128 titel = text-126 IMPORTING answer = lv_answer.

LVC_FIELDCATALOG_MERGE * CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' * EXPORTING * i_structure_name = 'CNV_10940_RUNSTR' * i_client_never_display = gc_x * i_bypassing_buffer = gc_x * CHANGING * ct_fieldcat = xt_fieldcat_0201 * EXCEPTIONS * inconsistent_interface = 1 * program_error = 2 * OTHERS = 3.

DDIF_VIEW_ACTIVATE * CALL FUNCTION 'DDIF_VIEW_ACTIVATE' * EXPORTING * name = lt_dd25l-viewname ** AUTH_CHK = 'X' ** PRID = -1 * IMPORTING * rc = ld_rc * EXCEPTIONS * not_found = 1 * put_failure = 2 * OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING * I_BUFFER_ACTIVE = i_structure_name = 'CNV_10940_RUNSTR' i_client_never_display = gc_x i_bypassing_buffer = gc_x CHANGING ct_fieldcat = gt_fieldcat_0202 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

POPUP_TO_CONFIRM_STEP * CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' * EXPORTING * textline1 = text-004 * titel = text-005 * IMPORTING * answer = gv_answer_save.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING * I_BUFFER_ACTIVE = i_structure_name = 'CNV_10940_RUNSTR' i_client_never_display = gc_x i_bypassing_buffer = gc_x CHANGING ct_fieldcat = gt_fieldcat_0402 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'TX' doklangu = sy-langu dokname = iv_object TABLES links = lt_links EXCEPTIONS object_not_found = 1 sapscript_error = 2 OTHERS = 3.

KD_GET_FILENAME_ON_F4 CALL FUNCTION 'KD_GET_FILENAME_ON_F4' EXPORTING field_name = 'P_FILENM' CHANGING file_name = gv_filenm EXCEPTIONS mask_too_long = 1 OTHERS = 2.

LVC_FIELDCATALOG_MERGE





CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING * I_BUFFER_ACTIVE = i_structure_name = 'CNV_10940_DOMAIN' i_client_never_display = gc_x i_bypassing_buffer = gc_x CHANGING ct_fieldcat = gt_fieldcat_0203 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.



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