SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro(CA-EUR) SAP CA

CNV_20340_DETERMINE_DUPLICATES SAP ABAP Report - Determine duplicate cycles based on KOKRS/ERKRS mapping







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


Text pool values


Title: Determine duplicate cycles based on KOKRS/ERKRS mapping


INCLUDES used within this REPORT CNV_20340_DETERMINE_DUPLICATES

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:

CNV_20340_ME_SAVE_CYCLE_MAP CALL FUNCTION 'CNV_20340_ME_SAVE_CYCLE_MAP' DESTINATION gv_rfc_control EXPORTING iv_pcl_packid = gv_pcl_packid iv_handle = cl_cnv_20340_service=>nc_cycle_kokrs_map_handl it_mapping = lt_cyc_map EXCEPTIONS context_not_found = 1 mapping_error = 2 mapping_save_error = 3 communication_failure = 98 MESSAGE gv_msg system_failure = 99 MESSAGE gv_msg.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

CNV_MBT_CWB_PCL_PACK_GET CALL FUNCTION 'CNV_MBT_CWB_PCL_PACK_GET' EXPORTING i_cwb_packid = iv_packid IMPORTING e_pcl_packid = xv_pcl_packid EXCEPTIONS no_package_found = 1 rfc_problems = 2 exec_pack_not_active = 3 OTHERS = 4.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = xv_pcl_packid exec_target = 'P' IMPORTING destination_id = gv_rfc_control EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 get_system_info_failure = 3 rfc_failure = 4 system_info_has_changed = 5 login_not_possible = 6 wrong_unicode_settings = 7 OTHERS = 8.

CNV_20340_ME_SAVE_CYCLE_MAP * CALL FUNCTION 'CNV_20340_ME_SAVE_CYCLE_MAP' * DESTINATION gv_rfc_control * EXPORTING * iv_pcl_packid = gv_pcl_packid * iv_handle = cl_cnv_20340_service=>nc_cycle_erkrs_map_handl * it_mapping = lt_cyc_map * EXCEPTIONS * context_not_found = 1 * mapping_error = 2 * mapping_save_error = 3 * communication_failure = 98 MESSAGE gv_msg * system_failure = 99 MESSAGE gv_msg.

DB_COMMIT * CALL FUNCTION 'DB_COMMIT'.



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