SAP Reports / Programs | Service | Solution Manager | Custom Development Management Cockpit(SV-SMG-CDM) SAP SV

CNV_CDMC_DISPLAY_FUNCTIONS SAP ABAP INCLUDE - Include CNV_CDMC_DISPLAY_FUNCTIONS







CNV_CDMC_DISPLAY_FUNCTIONS 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_CDMC_DISPLAY_FUNCTIONS 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_CDMC_DISPLAY_FUNCTIONS. "Basic submit
SUBMIT CNV_CDMC_DISPLAY_FUNCTIONS AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_CDMC_DISPLAY_FUNCTIONS 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_CDMC_DISPLAY_FUNCTIONS


INCLUDES used within this REPORT CNV_CDMC_DISPLAY_FUNCTIONS

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:

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * TITLEBAR ='E-Mail to all the processors'(104) * TEXT_QUESTION = 'Do you wish to send mail to the * processors?'(107) * TEXT_BUTTON_1 = 'Yes'(105) * ICON_BUTTON_1 = 'ICON_OKAY' * TEXT_BUTTON_2 = 'No'(106) * ICON_BUTTON_2 = 'ICON_CANCEL' * DISPLAY_CANCEL_BUTTON = SPACE * IMPORTING * ANSWER = LV_ANSWER * EXCEPTIONS * TEXT_NOT_FOUND = 1 * OTHERS = 2 .

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING * DEFAULTOPTION = 'Y' diagnosetext1 = text-119 * DIAGNOSETEXT2 = ' ' * DIAGNOSETEXT3 = ' ' textline1 = text-117 textline2 = text-118 titel = 'E-Mail to all the processors'(104) * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = lv_answer.

SO_NEW_DOCUMENT_ATT_SEND_API1 CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1' EXPORTING document_data = lv_doc_data TABLES packing_list = lt_packing_list contents_txt = it_message receivers = lt_receivers EXCEPTIONS too_many_receivers = 1 document_not_sent = 2 document_type_not_exist = 3 operation_no_authorization = 4 parameter_error = 5 x_error = 6 enqueue_error = 7 OTHERS = 8.

TR_OBJECT_TABLE CALL FUNCTION 'TR_OBJECT_TABLE' TABLES wt_object_text = lt_object_text.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING query = 'CD' IMPORTING return = lv_def_path.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = statustext.

POPUP_GET_VALUES_USER_HELP CALL FUNCTION 'POPUP_GET_VALUES_USER_HELP' EXPORTING f4_formname = 'F4_HELP' f4_programname = lv_repid popup_title = 'Assign Processor'(093) IMPORTING returncode = lv_answer TABLES fields = lt_sval.

POPUP_GET_VALUES_USER_HELP CALL FUNCTION 'POPUP_GET_VALUES_USER_HELP' EXPORTING f4_formname = 'F4_HELP' f4_programname = lv_repid popup_title = 'Specify RFC Dest. for creation of piecelist'(092)

CNV_CDMC_CA_PIECELIST CALL FUNCTION 'CNV_CDMC_CA_PIECELIST' DESTINATION lv_rfc_dest TABLES it_e071 = lt_e071 EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel no_piecelist = 3 no_authorization = 4 OTHERS = 5 .

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING display = iv_display fieldname = iv_fieldname tabname = iv_tabname IMPORTING select_value = xv_value TABLES valuetab = lt_vtab[] fields = lt_ftab.

RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION gv_destination_rfc IMPORTING rfcsi_export = ls_rfcsi EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel.

CNV_CDMC_CA_RFC_COMPARE_OBJ * CALL FUNCTION 'CNV_CDMC_CA_RFC_COMPARE_OBJ' * DESTINATION gv_source_rfc * EXPORTING * iv_object = ls_objs-obj_type * iv_objname = ls_objs-obj_name * iv_sub_type = ls_objs-sub_type * iv_sub_name = ls_objs-sub_name * iv_dest_system = ls_rfcsi-rfcsysid * IMPORTING * ev_no_success = lv_no_success * EXCEPTIONS * communication_failure = 1 MESSAGE sy-lisel * system_failure = 2 MESSAGE sy-lisel * program_not_exist = 3 * comparison_not_supported = 4 * unknown_system = 5 * OTHERS = 6 * .

CNV_CDMC_CA_GET_CUS_SAP_DOMAIN * CALL FUNCTION 'CNV_CDMC_CA_GET_CUS_SAP_DOMAIN' * DESTINATION LS_RFCDEST-RFCDEST * EXPORTING * IV_PROJ_ID = P_PROJID * IMPORTING * IV_SYSID = LV_SYSID * TABLES * ET_SAP_DOMAINS = LT_SAP_DOMAINS * ET_CUSTOMER_DOMAINS = LT_CUSTOMER_DOMAINS * ET_DOM_FIXED_VALUES = LT_DOM_FIXED_VALUES * EXCEPTIONS * COMMUNICATION_FAILURE = 1 MESSAGE SY-LISEL * SYSTEM_FAILURE = 2 MESSAGE SY-LISEL * RESOURCE_FAILURE = 3 * OTHERS = 4.

CNV_CDMC_CA_GET_CUS_SAP_DOMAIN CALL FUNCTION 'CNV_CDMC_CA_GET_CUS_SAP_DOMAIN' DESTINATION ls_rfcdest-rfcdest EXPORTING iv_proj_id = p_projid iv_language = sy-langu IMPORTING iv_sysid = lv_sysid TABLES et_sap_domains = lt_sap_domains et_customer_domains = lt_customer_domains et_dom_fixed_values = lt_dom_fixed_values EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel RESOURCE_FAILURE = 3 OTHERS = 4.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy-cprog " 'CNV_CDMC_CA_DISPLAY' is_layout = ls_layout * i_callback_pf_status_set = lv_status "-SM31082009 it_fieldcat = gt_fieldcat_alv[] i_screen_start_column = 40 i_screen_start_line = 3 i_screen_end_column = 128 i_screen_end_line = 20 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gt_rel_domain EXCEPTIONS program_error = 1 OTHERS = 2.

RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION lv_stat_rfcdest IMPORTING rfcsi_export = ls_rfcsi EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel.

RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION gv_rfc IMPORTING rfcsi_export = ls_rfcsi EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = lv_repid i_internal_tabname = 'LT_SE30' i_structure_name = 'CNVCDMCCA_SE30' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY





CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' is_layout = ls_layout i_structure_name = 'CNVCDMCCA_SE30' i_grid_title = 'Trace File Display' "#EC NOTEXT it_fieldcat = lt_fieldcat i_screen_start_column = 0 i_screen_start_line = 0 i_screen_end_column = 0 i_screen_end_line = 0 TABLES t_outtab = lt_se30[] EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = lv_repid i_internal_tabname = 'LT_USEREXIT' i_structure_name = 'CNVCDMCCA_EXITS' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid is_layout = ls_layout i_structure_name = 'CNVCDMCCA_EXITS' * i_grid_title = 'Implemented User Exits' it_fieldcat = lt_fieldcat it_excluding = lt_excluding "+AV:15.09.2009

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = lv_repid i_internal_tabname = 'GT_SQLTRA' i_structure_name = 'CNVCDMCCA_SQLTRA' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid i_callback_pf_status_set = 'SQL_PF_STATUS' i_callback_user_command = 'USER_COMMAND_SQLTRACE' is_layout = ls_layout i_structure_name = 'CNVCDMCCA_SQLTRA' i_grid_title = 'SQL Trace File Results' it_fieldcat = lt_fieldcat "#EC NOTEXT TABLES t_outtab = gt_sqltra[] EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = 'SQL Statements' "#EC NOTEXT i_screen_start_column = 10 i_screen_start_line = 10 i_screen_end_column = 100 i_screen_end_line = 30 i_tabname = 'LT_SQLSTAT' i_structure_name = 'LINE' * IT_FIELDCAT = * IT_EXCLUDING = * I_CALLBACK_PROGRAM = * I_CALLBACK_USER_COMMAND = * IS_PRIVATE = * IMPORTING * ES_SELFIELD = * E_EXIT = TABLES t_outtab = lt_sqlstat[] EXCEPTIONS program_error = 1 OTHERS = 2 .

CNV_CDMC_UCIA_ACCESS_OBJECT * CALL FUNCTION 'CNV_CDMC_UCIA_ACCESS_OBJECT' * DESTINATION lv_rfcdest * EXPORTING * iv_obj_type = iv_obj_type * iv_obj_name = iv_obj_name * iv_operation = iv_operation * EXCEPTIONS * communication_failure = 1 MESSAGE sy-lisel * system_failure = 2 MESSAGE sy-lisel * not_executed = 3 * OTHERS = 4.

CNV_CDMC_CC_EXECUTE_CHECKS CALL FUNCTION 'CNV_CDMC_CC_EXECUTE_CHECKS' DESTINATION cnvcdmc_rfcdest-rfcdest EXPORTING iv_obj_type = iv_obj_type iv_obj_name = iv_obj_name iv_operation = iv_operation EXCEPTIONS communication_failure = 1 system_failure = 2 invalid_operation = 3 invalid_user_type = 4 not_executed = 5 invalid_obj_type = 6 object_not_exist = 7 OTHERS = 8.

RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION cnvcdmc_rfcdest-rfcdest IMPORTING rfcsi_export = ls_rfcsi EXCEPTIONS communication_failure = 1 system_failure = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = lv_repid i_internal_tabname = 'LT_BADIS' i_structure_name = 'CNVCDMCCA_BADIS' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid is_layout = ls_layout i_structure_name = 'CNVCDMCCA_BADIS' * i_grid_title = text-113 it_fieldcat = lt_fieldcat it_excluding = lt_excluding "+AV:15.09.2009

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = lv_repid i_internal_tabname = 'LT_BTES' i_structure_name = 'CNVCDMCCA_BTES' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid is_layout = ls_layout i_structure_name = 'CNVCDMCCA_BTES' * i_grid_title = text-112 it_fieldcat = lt_fieldcat it_excluding = lt_excluding "+AV:15.09.2009

CNV_CDMC_CC_GET_FUNC_POOL_FUGR CALL FUNCTION 'CNV_CDMC_CC_GET_FUNC_POOL_FUGR' DESTINATION iv_destination_rfc EXPORTING iv_function_group = lv_fugr_name IMPORTING ev_function_pool = lv_func_pool EXCEPTIONS group_not_exists = 1 OTHERS = 2 .

CNVCDMC_OBJECT_EXISTENCE_CHECK CALL FUNCTION 'CNVCDMC_OBJECT_EXISTENCE_CHECK' DESTINATION iv_source_rfc EXPORTING iv_object_type = lv_object_type iv_object_name = lv_object_name IMPORTING ev_exist = lv_exist EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel invalid_type = 3 OTHERS = 4.

CNVCDMC_OBJECT_EXISTENCE_CHECK CALL FUNCTION 'CNVCDMC_OBJECT_EXISTENCE_CHECK' DESTINATION iv_destination_rfc EXPORTING iv_object_type = lv_object_type iv_object_name = lv_object_name IMPORTING ev_exist = lv_exist EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel invalid_type = 3 OTHERS = 4.

CNV_CDMC_CC_FUNC_INCLUDE_INFO CALL FUNCTION 'CNV_CDMC_CC_FUNC_INCLUDE_INFO' DESTINATION iv_source_rfc EXPORTING iv_funcname = lv_funcname IMPORTING ev_include = is_objs-obj_name EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel function_not_exists = 3 include_not_exists = 4 group_not_exists = 5 no_selections = 6 no_function_include = 7 OTHERS = 8.

CNV_CDMC_CC_GET_FUNC_POOL_FUGR CALL FUNCTION 'CNV_CDMC_CC_GET_FUNC_POOL_FUGR' DESTINATION iv_source_rfc EXPORTING iv_function_group = lv_function_group IMPORTING ev_function_pool = is_objs-obj_name EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel group_not_exists = 3 OTHERS = 4.

RFC_GET_LOCAL_SERVERS CALL FUNCTION 'RFC_GET_LOCAL_SERVERS' DESTINATION iv_destination_rfc TABLES hosts = lt_hosts EXCEPTIONS communication_failure = 1 system_failure = 2 not_available = 3 OTHERS = 4.

RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION iv_destination_rfc IMPORTING rfcsi_export = ls_ref_rfcsi EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel.




CNV_CDMC_CA_RFC_COMPARE_OBJ CALL FUNCTION 'CNV_CDMC_CA_RFC_COMPARE_OBJ' DESTINATION iv_source_rfc EXPORTING iv_object = is_objs-obj_type iv_objname = is_objs-obj_name iv_sub_type = is_objs-sub_type iv_sub_name = is_objs-sub_name iv_dest_system = iv_destination_sys iv_destination = iv_destination_rfc "+TD27092009 *{+SP21122010: Get the destination host ID in control server and check * against the Host id specified in the Pop of Analysis * Server it_host = lt_cnvcdmc_host *+SP21122010 } EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel program_not_exist = 3 comparison_not_supported = 4 unknown_system = 5 OTHERS = 6.

CNV_CDMC_CC_GET_USERS_FOR_ROLE CALL FUNCTION 'CNV_CDMC_CC_GET_USERS_FOR_ROLE' DESTINATION iv_rfcdest EXPORTING iv_activity_group = lv_activity_group IMPORTING et_activity_groups_users = lt_activity_groups_users EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel role_not_exist = 3 OTHERS = 4.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = lv_repid i_structure_name = 'STR_AGRS' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_screen_start_column = 68 i_screen_start_line = 18 i_screen_end_column = 140 i_screen_end_line = 30 TABLES t_outtab = lt_activity_groups_users[] EXCEPTIONS program_error = 1 OTHERS = 2.

CNV_CDMC_CC_EXECUTE_CHECKS CALL FUNCTION 'CNV_CDMC_CC_EXECUTE_CHECKS' DESTINATION cnvcdmc_rfcdest-rfcdest EXPORTING iv_obj_type = lv_objtype iv_obj_name = lv_objname iv_operation = lv_operation EXCEPTIONS communication_failure = 1 system_failure = 2 invalid_operation = 3 invalid_user_type = 4 not_executed = 5 invalid_obj_type = 6 object_not_exist = 7 OTHERS = 8.

RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION cnvcdmc_rfcdest-rfcdest IMPORTING rfcsi_export = ls_rfcsi EXCEPTIONS communication_failure = 1 system_failure = 2.



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