SAP Reports / Programs | Cross-Application Components | General Application Functions | Data Transfer(CA-GTF-DCM) SAP CA

MKCDFF37 SAP ABAP INCLUDE - External Data Transfer: General Form Routines for All Types







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


Text pool values


Title: External Data Transfer: General Form Routines for All Types


INCLUDES used within this REPORT MKCDFF37

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:

KCD_SENDERSTRUC_LOGICAL_READ call function 'KCD_SENDERSTRUC_LOGICAL_READ' exporting repid = repid tables e_send = e_send exceptions ddic_not_found = 1 no_ddic_struc = 2 send_struc_not_found = 3 others = 4.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = l_file_path CHANGING physical_filename = sav_rfout EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.

FILE_GET_NAME call function 'FILE_GET_NAME' exporting logical_filename = log importing file_name = phys exceptions file_not_found = 01.

FDU_CLEAR_STATUS call function 'FDU_CLEAR_STATUS'.

KCD_MESSAGES_COLLECT call function 'KCD_MESSAGES_COLLECT' exporting repid = repid grpid = grpid msgty = severity arbgb = n_klasse msgnr = msgnr msgv1 = param1 msgv2 = param2 msgv3 = param3 msgv4 = param4 exceptions others = 0.

TR_WRITE_LOG call function 'TR_WRITE_LOG' exporting iv_log_type = 'DB' iv_logname_db = wrk_prot_name tables it_msgs = wrk_sprot_u exceptions * invalid_input = 1 * file_access_error = 2 * db_access_error = 3 * others = 4.

MESSAGE_ADD_TO_DDPRS * call function 'MESSAGE_ADD_TO_DDPRS' * exporting * close_db = 'X' ** CONDENSE = 'X' * master_langu = sy-langu * open_db = ' ' * protname = sav_prot_name * tables * xmsg = wrk_sprot_u * exceptions * sql_error = 1 * table_empty = 2 * wrong_call = 3 * others = 4.

MESSAGE_ADD_TO_DDPRS * call function 'MESSAGE_ADD_TO_DDPRS' * exporting * close_db = ' ' ** CONDENSE = 'X' * master_langu = sy-langu * open_db = 'X' * protname = sav_prot_name * tables * xmsg = wrk_sprot_u * exceptions * sql_error = 1 * table_empty = 2 * wrong_call = 3 * others = 4.

KCD_MONITOR_DATA_SAVE call function 'KCD_MONITOR_DATA_SAVE' exporting lognr = glob_lognr.

KCD_MONITOR_DATA_SAVE *call function 'KCD_MONITOR_DATA_SAVE' * exporting * lognr = glob_lognr.

KCD_PROTOCOL_OUTPUT_CONTROL call function 'KCD_PROTOCOL_OUTPUT_CONTROL' exporting max_counter = cnt_ent_ext level = prot_lev information_mess = jinfo warning_mess = jwarn format_mess = jform importing add_to_counter = add_to_counter tables messages = sav_sprot_u messages_index_deleted = index_table changing counter = counter exceptions max_counter_exceeded = 1 others = 2.

KCD_MESSAGES_COLLECT call function 'KCD_MESSAGES_COLLECT' exporting repid = repid grpid = grpid msgty = prot_table-severity arbgb = prot_table-ag msgnr = prot_table-msgnr msgv1 = prot_table-var1 msgv2 = prot_table-var2 msgv3 = prot_table-var3 msgv4 = prot_table-var4 exceptions others = 0.

TR_WRITE_LOG call function 'TR_WRITE_LOG' exporting iv_log_type = 'DB' iv_logname_db = wrk_prot_name tables it_msgs = wrk_sprot_u exceptions * invalid_input = 1 * file_access_error = 2 * db_access_error = 3 * others = 4.

FDU_SET_STATUS call function 'FDU_SET_STATUS' exporting new_status_fdu = con_fehler importing status_fdu = status_fdu exceptions others = 0.

FDU_SET_STATUS call function 'FDU_SET_STATUS' exporting new_status_fdu = con_warnung importing status_fdu = status_fdu exceptions others = 0.

FDU_SET_STATUS call function 'FDU_SET_STATUS' " I - Informationen exporting new_status_fdu = con_ok importing status_fdu = status_fdu exceptions others = 0.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = l_file_path CHANGING physical_filename = sav_rfout EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.

FDU_SET_STATUS call function 'FDU_SET_STATUS' exporting new_status_fdu = con_abbruch importing status_fdu = status_fdu exceptions others = 0.

FDU_SET_STATUS





call function 'FDU_SET_STATUS' exporting new_status_fdu = con_warnung importing status_fdu = status_fdu exceptions others = 0.

FDU_IMPORT_GLOBAL_VARIABLES call function 'FDU_IMPORT_GLOBAL_VARIABLES' tables kcd_eiglva = general_exp_tab exceptions others = 0.

FDU_ADDITIONAL_INFO_GET call function 'FDU_ADDITIONAL_INFO_GET' exporting repid = repid importing xsuetyp = xsuetyp tables type_info = sav_kcd_tyvpes repid_info = repid_info exceptions * repid_not_availlable = 1 * type_not_availlable = 2 * others = 3.

FDU_ADMINDATA_GET call function 'FDU_ADMINDATA_GET' exporting pf_sendprog = repid tables wrk_cdifie = wrk_cdifie exceptions * not_found = 1 * wrong_function_call = 2 * no_type_set = 3 * no_receiving_struc_set = 4 * others = 5.

KCD_APPLICATION_PROGRAM_GET call function 'KCD_APPLICATION_PROGRAM_GET' exporting anwdg = sav_kcd_tyvpes-anwdg importing blkmd = blkmd.

FDU_BEGIN_WITH_INDEX_SET call function 'FDU_BEGIN_WITH_INDEX_SET' exporting fdu_start_mode = fdu_start_mode importing kopf = kopf i = von_i changing cnt_r_sum = cnt_r_sum exceptions others = 0.

TR_WRITE_LOG call function 'TR_WRITE_LOG' exporting iv_log_type = 'DB' iv_logname_db = wrk_prot_name tables it_msgs = wrk_sprot_u exceptions * invalid_input = 1 * file_access_error = 2 * db_access_error = 3 * others = 4.

GET_JOB_RUNTIME_INFO call function 'GET_JOB_RUNTIME_INFO' importing jobcount = jobcount jobname = jobname exceptions * no_runtime_info = 1 * others = 2.

TH_GET_OWN_WP_NO call function 'TH_GET_OWN_WP_NO' importing subrc = subrc1 wp_no = wp_no wp_pid = wp_pid wp_index = wp_index.

FDU_SET_STATUS call function 'FDU_SET_STATUS' exporting new_status_fdu = con_warnung importing status_fdu = status_fdu exceptions others = 0.

FDU_SET_STATUS call function 'FDU_SET_STATUS' exporting new_status_fdu = con_abbruch importing status_fdu = status_fdu exceptions others = 0.

DEQUEUE_ALL call function 'DEQUEUE_ALL'.

FDU_CUSTOMER_RELEVANCE *call function 'FDU_CUSTOMER_RELEVANCE' * exporting * repid = repid * rfout = rfout * tables * sender_table = s * receiver_table = struct_r * receiver_struct_table = wrk_cdifie * lu_index_table = r_index ** REPID_INFO = REPID_INFO * type_info = sav_kcd_tyvpes * exceptions * others = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = l_file_path CHANGING physical_filename = rfout EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.

FDU_CLEAR_STATUS call function 'FDU_CLEAR_STATUS'.

ENQUEUE_EJBFDU0002 CALL FUNCTION 'ENQUEUE_EJBFDU0002' EXPORTING MODE_DDPRH = 'E' PROTNAME = wrk_prot_name EXCEPTIONS OTHERS = 0. " ignore all



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