SAP Reports / Programs | Service | Solution Manager | Service Data Download(SV-SMG-SDD) SAP SV

/SDF/CD_CUSTOM_CODE_CONNECT_RT SAP ABAP Report - Reference Analysis of Custom Code (Remote)







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


Text pool values


Title: Reference Analysis of Custom Code (Remote)


INCLUDES used within this REPORT /SDF/CD_CUSTOM_CODE_CONNECT_RT

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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_green text = 'Available' "#EC NOTEXT ADD_STDINF = ' ' IMPORTING RESULT = p_prsalt.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_time text = 'Active. Running first time' "#EC NOTEXT

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_incomplete text = 'Incomplete' "#EC NOTEXT ADD_STDINF = ' ' IMPORTING RESULT = p_prsalt.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_red text = lv_message ADD_STDINF = ' ' IMPORTING RESULT = p_prsalt.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_time text = 'In Process' "#EC NOTEXT ADD_STDINF = ' ' IMPORTING RESULT = p_prsalt.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_yellow text = lv_alert_txt ADD_STDINF = ' ' IMPORTING RESULT = p_prsalt.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_yellow text = lv_alert_txt ADD_STDINF = ' ' IMPORTING RESULT = p_prsalt.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_detail info = 'Display Run Parameters' "#EC NOTEXT IMPORTING RESULT = b_runpa.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_refresh info = 'Refresh Run Info' "#EC NOTEXT IMPORTING RESULT = b_runrf.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = ls_variant EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_variant i_save = 'A' IMPORTING e_exit = lv_exit es_variant = ls_variant EXCEPTIONS not_found = 1.

/SDF/CD_CC_CONNECT_API_START CALL FUNCTION '/SDF/CD_CC_CONNECT_API_START' DESTINATION iv_rfcdest EXPORTING iv_btc_jobname = iv_btc_jobname iv_btc_start_date = iv_btc_jobdate iv_btc_start_time = iv_btc_jobtime iv_analysis_mode = iv_mode_id iv_run_id = iv_run_id iv_run_description = iv_run_desc it_rng_cust_namespace = it_rng_namespace it_rng_cust_package = it_rng_package IMPORTING ev_btc_jobcount = lv_btc_jobcount ev_message = ev_message ev_rc = ev_rc EXCEPTIONS communication_failure = 11 MESSAGE ev_message system_failure = 12 MESSAGE ev_message OTHERS = 13.

BP_JOB_MANAGEMENT CALL FUNCTION 'BP_JOB_MANAGEMENT' EXPORTING jobselect_dialog = 'N' "btc_no joblist_opcode = 21 "btc_joblist_edit TABLES joblist = lt_job EXCEPTIONS OTHERS = 0.

/SDF/CD_CC_CONNECT_API_LOAD CALL FUNCTION '/SDF/CD_CC_CONNECT_API_LOAD' DESTINATION iv_rfcdest EXPORTING iv_analysis_mode = iv_mode_id iv_run_id = iv_run_id iv_flg_incl_no_ref = lv_flg_incl_no_ref IMPORTING et_connect_result = lt_connect_result ev_message = ev_message ev_rc = ev_rc EXCEPTIONS communication_failure = 11 MESSAGE ev_message system_failure = 12 MESSAGE ev_message OTHERS = 13.

/SDF/CD_CC_CONNECT_API_DISPLAY CALL FUNCTION '/SDF/CD_CC_CONNECT_API_DISPLAY' EXPORTING it_connect_result = lt_connect_result iv_alv_layout = iv_alv_layout IMPORTING ev_message = ev_message ev_rc = ev_rc.

/SDF/CD_CC_CONNECT_API_RUNINFO CALL FUNCTION '/SDF/CD_CC_CONNECT_API_RUNINFO' DESTINATION iv_rfcdest EXPORTING iv_analysis_mode = iv_mode_id iv_run_id = iv_run_id IMPORTING et_run_info = st_run_info ev_message = sv_message ev_rc = sv_rc EXCEPTIONS communication_failure = 11 MESSAGE sv_message system_failure = 12 MESSAGE sv_message OTHERS = 13.

/SDF/CD_CC_CONNECT_API_LOAD CALL FUNCTION '/SDF/CD_CC_CONNECT_API_LOAD' DESTINATION iv_rfcdest EXPORTING iv_analysis_mode = iv_mode_id iv_run_id = iv_run_id iv_flg_only_run_param = 'X' IMPORTING et_params = st_run_params ev_message = sv_message ev_rc = sv_rc EXCEPTIONS communication_failure = 21 MESSAGE sv_message system_failure = 22 MESSAGE sv_message OTHERS = 23.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = ls_alv_layout it_fieldcat = lt_fieldcat i_save = 'A' i_grid_title = 'Run Parameter List' "#EC NOTEXT i_screen_start_column = 40 i_screen_end_column = 90 i_screen_start_line = 1 i_screen_end_line = 20 is_variant = ls_alv_variant it_excluding = lt_exclude TABLES t_outtab = lt_run_params.

/SDF/CD_CC_CONNECT_API_RUNINFO





CALL FUNCTION '/SDF/CD_CC_CONNECT_API_RUNINFO' DESTINATION iv_rfcdest EXPORTING iv_analysis_mode = p_rpmode iv_run_id = space IMPORTING et_run_info = lt_run_hd ev_message = lv_message ev_rc = lv_rc EXCEPTIONS communication_failure = 1 MESSAGE lv_message system_failure = 2 MESSAGE lv_message OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = '/SDF/CD_CC_CONNECT_RUN_HD' TABLES dfies_tab = lt_fields.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'RUN_ID' "#EC NOTEXT window_title = lv_title value_org = 'S' TABLES value_tab = lt_run_hd field_tab = lt_fields return_tab = lt_return EXCEPTIONS OTHERS = 1.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' DESTINATION iv_rfcdest EXPORTING funcname = '/SDF/CD_CC_CONNECT_API_RUNINFO' EXCEPTIONS function_not_exist = 1 communication_failure = 2 MESSAGE lv_message system_failure = 3 MESSAGE lv_message OTHERS = 4.

RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = iv_rfcdest EXCEPTIONS destination_not_open = 0 OTHERS = 0.

F4_RFC_DESTINATIONS CALL FUNCTION 'F4_RFC_DESTINATIONS' EXPORTING type = '3' IMPORTING RESULT = rv_rfc_dest.



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 /SDF/CD_CUSTOM_CODE_CONNECT_RT or its description.