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

RKCDFILEINCFOR SAP ABAP INCLUDE - Data transfer: Import file form routines







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


Text pool values


Title: Data transfer: Import file form routines


INCLUDES used within this REPORT RKCDFILEINCFOR

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:

FILE_NEXT_RECORD CALL FUNCTION 'FILE_NEXT_RECORD' IMPORTING next_record = tef_strbuf EXCEPTIONS no_record = 1.

FILE_NEXT_RECORD CALL FUNCTION 'FILE_NEXT_RECORD' IMPORTING next_record = EXCEPTIONS no_record = 1.

KCD_SENDER_SET_TRANSFER CALL FUNCTION 'KCD_SENDER_SET_TRANSFER' EXPORTING sender_set = blksz = blksize.

SCP_GET_CODEPAGE_NUMBER CALL FUNCTION 'SCP_GET_CODEPAGE_NUMBER' EXPORTING database_also = ' ' IMPORTING appl_codepage = s_codepage.

KCD_MESSAGES_COLLECT CALL FUNCTION 'KCD_MESSAGES_COLLECT' EXPORTING msgty = 'A' arbgb = 'UC' msgnr = '067' msgv1 = grs_recnt.

KCD_SENDERSTRUC_LOGICAL_READ CALL FUNCTION 'KCD_SENDERSTRUC_LOGICAL_READ' EXPORTING repid = repid TABLES e_send = h_it242s EXCEPTIONS OTHERS = 0.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' IMPORTING select_value = sfeld TABLES fields = help_field_tab valuetab = help_value_tab.

KCD_SENDERSTRUC_LOGICAL_READ CALL FUNCTION 'KCD_SENDERSTRUC_LOGICAL_READ' EXPORTING repid = repid TABLES e_send = s_tab_log.

KCD_SENDERSTRUC_DDIC_READ CALL FUNCTION 'KCD_SENDERSTRUC_DDIC_READ' EXPORTING i_repid = repid TABLES e_multi_ddic = multi_ddic.

KCD_SENDER_SET_TRANSFER CALL FUNCTION 'KCD_SENDER_SET_TRANSFER' EXPORTING sender_set = c_log_recrd blksz = blksize.

SCP_GET_CODEPAGE_NUMBER CALL FUNCTION 'SCP_GET_CODEPAGE_NUMBER' EXPORTING database_also = ' ' IMPORTING appl_codepage = s_codepage.

KCD_EXCEL_DATE_CONVERT CALL FUNCTION 'KCD_EXCEL_DATE_CONVERT' EXPORTING excel_date = IMPORTING sap_date = .

KCD_SENDERSTRUC_LOGICAL_READ CALL FUNCTION 'KCD_SENDERSTRUC_LOGICAL_READ' EXPORTING repid = repid TABLES e_send = l_it242s EXCEPTIONS OTHERS = 0.

KCD_MESSAGES_COLLECT CALL FUNCTION 'KCD_MESSAGES_COLLECT' EXPORTING repid = repid grpid = grpid msgty = 'A' arbgb = 'DU' msgnr = '027'.

KCD_SENDERSTRUC_LOGICAL_READ CALL FUNCTION 'KCD_SENDERSTRUC_LOGICAL_READ' EXPORTING repid = repid TABLES e_send = l_it242s EXCEPTIONS OTHERS = 0.

KCD_MESSAGES_COLLECT CALL FUNCTION 'KCD_MESSAGES_COLLECT' EXPORTING repid = repid grpid = grpid msgty = 'A' arbgb = 'DU' msgnr = '027'.

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'DE' dokname = data_element TABLES links = links EXCEPTIONS OTHERS = 0.

BAL_FILTER_CREATE CALL FUNCTION 'BAL_FILTER_CREATE' EXPORTING i_object = kcdu_c_appl_log_object IMPORTING e_s_log_filter = ls_log_filter.

BAL_DB_SEARCH





CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING i_s_log_filter = ls_log_filter IMPORTING e_t_log_header = lt_log_header EXCEPTIONS log_not_found = 1 no_filter_criteria = 2 OTHERS = 3.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = l_log_handle EXCEPTIONS OTHERS = 0.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_log_header = lt_log_header2 IMPORTING e_t_log_handle = lt_log_handle EXCEPTIONS no_logs_specified = 1 log_not_found = 2 log_already_loaded = 3 OTHERS = 4.

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_s_msg_filter = ls_msg_filter IMPORTING e_t_msg_handle = lt_msg_handle EXCEPTIONS msg_not_found = 1 OTHERS = 2.

BAL_LOG_MSG_READ CALL FUNCTION 'BAL_LOG_MSG_READ' EXPORTING i_s_msg_handle = ls_msg_handle IMPORTING e_s_msg = ls_msg EXCEPTIONS log_not_found = 1 msg_not_found = 2 OTHERS = 3.

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_s_msg_filter = ls_msg_filter EXCEPTIONS msg_not_found = 1 OTHERS = 2.

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_s_msg_filter = ls_msg_filter EXCEPTIONS msg_not_found = 1 OTHERS = 2.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = l_log_handle EXCEPTIONS OTHERS = 0.

KCD_MESSAGES_COLLECT CALL FUNCTION 'KCD_MESSAGES_COLLECT' EXPORTING repid = repid grpid = grpid msgty = 'A' arbgb = 'UC' msgnr = '094' msgv1 = ls_msg-msgv3 msgv2 = ls_msg-msgv4 msgv3 = ls_msg-msgv2 db_commit = 'X'.

WS_FILE_DELETE * CALL FUNCTION 'WS_FILE_DELETE' "obsolete * EXPORTING * file = l_filename * IMPORTING * return = l_return.

GUI_DELETE_FILE CALL FUNCTION 'GUI_DELETE_FILE' EXPORTING FILE_NAME = l_filename EXCEPTIONS FAILED = 1 OTHERS = 2 .

KCD_MESSAGES_COLLECT CALL FUNCTION 'KCD_MESSAGES_COLLECT' EXPORTING * REPID = ' ' * GRPID = ' ' msgty = 'E' arbgb = 'UC' msgnr = '151' msgv1 = physfl db_commit = 'X'.

KCD_SENDERSTRUCTURE_CHECK CALL FUNCTION 'KCD_SENDERSTRUCTURE_CHECK' EXPORTING repid = repid IMPORTING anwdg = anwdg EXCEPTIONS send_struc_not_found = 1 OTHERS = 2.

RKC_SENDERPROGRAM_POPUP CALL FUNCTION 'RKC_SENDERPROGRAM_POPUP' EXPORTING anwdg = '*' IMPORTING repid = repid.



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