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

CNVCDMCCTS_DISPLAY_FORMS SAP ABAP INCLUDE - Include CNV_CDMC_DISPLAY_FUNCTIONS







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

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:

TRINT_OBJECT_TABLE CALL FUNCTION 'TRINT_OBJECT_TABLE' TABLES tt_types_in = xt_obj_in[] tt_types_out = xt_obj_out[].

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid is_layout = ls_layout i_structure_name = 'CNVCDMCCTS_EXITS' it_fieldcat = lt_fieldcat TABLES t_outtab = lt_userexit[] EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = lv_repid i_structure_name = 'CNVCDMCCTS_EXITS' CHANGING ct_fieldcat = et_fcat 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 = 'CNVCDMCCTS_BADIS' it_fieldcat = lt_fieldcat TABLES t_outtab = lt_badis[] EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = lv_repid i_structure_name = 'CNVCDMCCTS_BADIS' CHANGING ct_fieldcat = et_fcat 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 = 'CNVCDMCCTS_BTES' it_fieldcat = lt_fieldcat TABLES t_outtab = lt_btes[] EXCEPTIONS program_error = 1 OTHERS = 2.

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

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'CNVCDMCCTS_STATUS' text = 'T' langu = 'E' TABLES dd07v_tab = lt_values_tab EXCEPTIONS wrong_textflag = 1 OTHERS = 2.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CNVCDMCCTS_REQS' CHANGING ct_fieldcat = xt_fcat_org EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CNVCDMCCTS_USED' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CNVCDMCCTS_OBJS' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CNVCDMCCTS_OREF' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

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.

RPY_EXISTENCE_CHECK_DEVC CALL FUNCTION 'RPY_EXISTENCE_CHECK_DEVC' DESTINATION gv_remote_rfc EXPORTING name = 'CNV_CDMC_REPOOBJS' EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel not_exist = 3.

CNVCDMC_OBJECT_EXISTENCE_CHECK CALL FUNCTION 'CNVCDMC_OBJECT_EXISTENCE_CHECK' DESTINATION gv_remote_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_UCIA_ACCESS_OBJECT CALL FUNCTION 'CNV_CDMC_UCIA_ACCESS_OBJECT' DESTINATION iv_remote_rfc EXPORTING iv_obj_type = iv_obj_type iv_obj_name = iv_obj_name iv_operation = iv_operation iv_enclosing_object = iv_encl_obj *+DA28082012 IMPORTING iv_message = lv_message *+DA28082012 EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel not_executed = 3 not_exists = 4 OTHERS = 5.

RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION iv_remote_rfc 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 p_tarsys IMPORTING rfcsi_export = ls_rfcsi EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel.

CNVCDMC_OBJECT_EXISTENCE_CHECK





CALL FUNCTION 'CNVCDMC_OBJECT_EXISTENCE_CHECK' * DESTINATION 'NONE' DESTINATION gv_anal_sys "+DA25082012 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 p_tarsys 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 gv_anal_sys "+DA25082012 EXPORTING iv_funcname = lv_funcname IMPORTING ev_include = lv_include EXCEPTIONS communication_failure = 1 system_failure = 2 function_not_exists = 3 include_not_exists = 4 group_not_exists = 5 no_selections = 6 no_function_include = 7 OTHERS = 8.

RFC_GET_LOCAL_SERVERS CALL FUNCTION 'RFC_GET_LOCAL_SERVERS' DESTINATION p_tarsys 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 p_tarsys 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 'NONE' DESTINATION gv_anal_sys "+DA25082012 EXPORTING iv_object = lv_object iv_objname = lv_obj_name iv_sub_type = lv_sub_type iv_sub_name = lv_sub_name iv_dest_system = ls_rfcsi-rfcsysid iv_destination = p_tarsys "+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.

RPY_EXISTENCE_CHECK_DEVC CALL FUNCTION 'RPY_EXISTENCE_CHECK_DEVC' DESTINATION gv_source_rfc EXPORTING name = 'CNV_CDMC_REPOOBJS' EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel not_exist = 3.

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_CC_FUNC_INCLUDE_INFO CALL FUNCTION 'CNV_CDMC_CC_FUNC_INCLUDE_INFO' EXPORTING iv_funcname = lv_funcname IMPORTING ev_include = lv_include EXCEPTIONS communication_failure = 1 system_failure = 2 function_not_exists = 3 include_not_exists = 4 group_not_exists = 5 no_selections = 6 no_function_include = 7 OTHERS = 8.

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

CNV_CDMC_CA_RFC_COMPARE_OBJ CALL FUNCTION 'CNV_CDMC_CA_RFC_COMPARE_OBJ' DESTINATION gv_source_rfc EXPORTING iv_object = lv_object iv_objname = lv_obj_name iv_sub_type = lv_sub_type iv_dest_system = ls_rfcsi-rfcsysid iv_projid = p_projid *{+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.

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'(035)

RPY_EXISTENCE_CHECK_DEVC CALL FUNCTION 'RPY_EXISTENCE_CHECK_DEVC' DESTINATION lv_rfc_dest EXPORTING name = 'CNV_CDMC_REPOOBJS' EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel not_exist = 3.

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.

F4_RFC_DESTINATIONS CALL FUNCTION 'F4_RFC_DESTINATIONS' EXPORTING type = '3' destination = '*' IMPORTING result = lv_rfcdest.

RPY_EXISTENCE_CHECK_DEVC CALL FUNCTION 'RPY_EXISTENCE_CHECK_DEVC' DESTINATION lv_rfcdest EXPORTING name = 'CNV_CDMC_REPOOBJS' EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel not_exist = 3.

CNV_CDMC_UCIA_ACCESS_OBJECT CALL FUNCTION 'CNV_CDMC_UCIA_ACCESS_OBJECT' DESTINATION gv_anal_sys "+DA25082012 EXPORTING iv_obj_type = iv_obj_type iv_obj_name = iv_obj_name iv_operation = iv_operation iv_enclosing_object = iv_encl_obj iv_position = iv_position *+DA28082012 IMPORTING iv_message = lv_message *+DA28082012 EXCEPTIONS not_executed = 1 not_exists = 2 OTHERS = 3.

CNV_CDMC_CTS_RFC_READ_DATA CALL FUNCTION 'CNV_CDMC_CTS_RFC_READ_DATA' DESTINATION lv_anal_sys EXPORTING iv_project_id = p_projid TABLES et_cnvcdmccts_badis = lt_cts_badis et_cnvcdmccts_btes = lt_cts_btes et_cnvcdmccts_exits = lt_cts_exits et_cnvcdmccts_reqs = lt_cts_reqs et_cnvcdmccts_used = lt_cts_used et_cnvcdmccts_objs = lt_cts_objs et_cnvcdmccts_oref = lt_cts_oref et_cnvcdmccts_robjs = lt_cts_robjs EXCEPTIONS communication_failure = 1 MESSAGE sy-lisel system_failure = 2 MESSAGE sy-lisel no_data_found = 3 OTHERS = 4.

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

RFC_GET_LOCAL_SERVERS CALL FUNCTION 'RFC_GET_LOCAL_SERVERS' DESTINATION 'NONE' TABLES hosts = lt_hosts EXCEPTIONS not_available = 1 OTHERS = 2.




MD5_CALCULATE_HASH_FOR_CHAR CALL FUNCTION 'MD5_CALCULATE_HASH_FOR_CHAR' EXPORTING data = lv_lock_key * LENGTH = 0 * VERSION = 1 IMPORTING hash = lv_hash_key EXCEPTIONS no_data = 1 internal_error = 2 OTHERS = 3 .

ENQUEUE_ESSRETID CALL FUNCTION 'ENQUEUE_ESSRETID' EXPORTING mode_sretidcat = 'E' catid = lv_hash_key x_catid = ' ' _scope = '2' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

MD5_CALCULATE_HASH_FOR_CHAR CALL FUNCTION 'MD5_CALCULATE_HASH_FOR_CHAR' EXPORTING data = lv_lock_key * LENGTH = 0 * VERSION = 1 IMPORTING hash = lv_hash_key EXCEPTIONS no_data = 1 internal_error = 2 OTHERS = 3 .

DEQUEUE_ESSRETID CALL FUNCTION 'DEQUEUE_ESSRETID' EXPORTING * MODE_SRETIDCAT = 'E' catid = lv_hash_key * X_CATID = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING * DEFAULTOPTION = 'Y' diagnosetext1 = text-136 * DIAGNOSETEXT2 = ' ' * DIAGNOSETEXT3 = ' ' textline1 = text-137 textline2 = text-138 titel = 'E-Mail to all the processors'(139) * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = lv_answer. "#EC FB_OLDED

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.

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'(130) IMPORTING returncode = lv_answer TABLES fields = lt_sval.



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