RKCDPDEF 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 RKCDPDEF into the relevant SAP transactions such as SE38 or SE80
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.
Title: Flexible Excel Upload: Define Data Description
INCLUDE RKCDPF41 . " F4 FÜR FILENAME
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_KCDEFILE CALL FUNCTION 'ENQUEUE_E_KCDEFILE' EXPORTING mode_kcdefile = 'E' mandt = sy-mandt appl = g_appl file_id = g_file_id * LFDNR = * X_APPL = ' ' * X_FILE_ID = ' ' * X_LFDNR = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1.
KCD_CSV_FILE_TO_INTERN_CONVERT CALL FUNCTION 'KCD_CSV_FILE_TO_INTERN_CONVERT' EXPORTING i_filename = filename i_separator = l_separator TABLES e_intern = l_intern EXCEPTIONS upload_csv = 1 upload_filetype = 2 OTHERS = 3.
KCD_EXCEL_SHEET_KEY_CREAT CALL FUNCTION 'KCD_EXCEL_SHEET_KEY_CREAT' EXPORTING i_file_id = i_file_id i_appl = g_appl i_ol_row = i_ol_row i_ol_col = i_ol_col i_ur_row = i_ur_row i_ur_col = i_ur_col TABLES * c_key = c_key "WIB * c_datar = i_datar "WIB c_r_h = c_r_h CHANGING c_key = c_key "WIB c_datar = i_datar "WIB EXCEPTIONS abbort = 1.
KCD_EXCEL_SHEET_HEAD_CREAT CALL FUNCTION 'KCD_EXCEL_SHEET_HEAD_CREAT' EXPORTING i_file_id = i_file_id i_appl = g_appl i_ol_row = l_ol_row i_ol_col = l_ol_col TABLES c_head = c_head i_datar = i_datar c_r_h = c_r_h EXCEPTIONS abbort = 1.
KCD_EXCEL_SHEET_DATAR_CREAT CALL FUNCTION 'KCD_EXCEL_SHEET_DATAR_CREAT' EXPORTING i_file_id = i_file_id i_appl = g_appl i_subclass = g_subclass i_ol_row = i_ol_row i_ol_col = i_ol_col i_ur_row = i_ur_row i_ur_col = i_ur_col TABLES * c_datar = c_datar "WIB c_r_h = c_r_h CHANGING c_datar = c_datar "WIB EXCEPTIONS OTHERS.
KCD_EXCEL_SHEET_DESCR_LOAD CALL FUNCTION 'KCD_EXCEL_SHEET_DESCR_LOAD' EXPORTING i_file_id = g_file_id i_appl = g_appl TABLES e_key = e_key e_r_h = e_r_h e_head = e_head e_datar = e_datar e_file = e_file EXCEPTIONS not_found = 1 OTHERS = 2.
KCD_EXCEL_SHEET_DESCR_SAVE CALL FUNCTION 'KCD_EXCEL_SHEET_DESCR_SAVE' EXPORTING i_file_id = g_file_id i_appl = g_appl TABLES e_key = g_key e_r_h = g_r_h e_head = g_head e_datar = g_datar e_file = g_file.
KCD_EXCEL_SHEET_DESCR_SAVE CALL FUNCTION 'KCD_EXCEL_SHEET_DESCR_SAVE' EXPORTING i_file_id = g_file_id i_appl = g_appl TABLES e_key = g_key e_head = g_head e_datar = g_datar e_file = g_file e_r_h = g_r_h.
KCD_EXCEL_SHEET_CHECK CALL FUNCTION 'KCD_EXCEL_SHEET_CHECK' EXPORTING file_id = g_file_id IMPORTING e_subrc = l_subrc TABLES c_t_key = g_key c_t_datar = g_datar c_t_head = g_head c_t_r_h = g_r_h.
KCD_EXCEL_SHEET_GENFILE_CHANGE CALL FUNCTION 'KCD_EXCEL_SHEET_GENFILE_CHANGE' EXPORTING i_file_id = g_file_id i_example_file = filename i_appl = g_appl TABLES c_file = g_file EXCEPTIONS abbort = 1.
KCD_EXCEL_SHEET_KEY_CHANGE * CALL FUNCTION 'KCD_EXCEL_SHEET_KEY_CHANGE' * EXPORTING * I_KEY = I_KEY * TABLES * C_KEY = I_KEY * C_DATAR = I_DATAR * C_R_H = I_R_H * EXCEPTIONS * ABBORT = 1 * OTHERS = 2.
KCD_EXCEL_SHEET_HEAD_CHANGE * CALL FUNCTION 'KCD_EXCEL_SHEET_HEAD_CHANGE' * EXPORTING * I_HEAD = I_HEAD * TABLES * C_HEAD = I_HEAD * I_DATAR = I_DATAR * C_R_H = I_R_H * EXCEPTIONS * ABBORT = 1 * OTHERS = 2.
KCD_EXCEL_SHEET_DATAR_CHANGE * CALL FUNCTION 'KCD_EXCEL_SHEET_DATAR_CHANGE' * EXPORTING * I_DATAR = I_DATAR * TABLES * C_DATAR = I_DATAR * C_R_H = I_R_H * EXCEPTIONS * ABBORT = 1 * OTHERS = 2.
KCD_EXCEL_SHEET_KEY_CHANGE CALL FUNCTION 'KCD_EXCEL_SHEET_KEY_CHANGE' EXPORTING i_key = wa_i_key TABLES c_key = i_key c_datar = i_datar c_r_h = i_r_h EXCEPTIONS abbort = 1 OTHERS = 2.
KCD_EXCEL_SHEET_HEAD_CHANGE CALL FUNCTION 'KCD_EXCEL_SHEET_HEAD_CHANGE' EXPORTING i_head = wa_i_head TABLES c_head = i_head i_datar = i_datar c_r_h = i_r_h EXCEPTIONS abbort = 1 OTHERS = 2.
KCD_EXCEL_SHEET_DATAR_CHANGE CALL FUNCTION 'KCD_EXCEL_SHEET_DATAR_CHANGE' EXPORTING i_datar = wa_i_datar TABLES c_datar = i_datar c_r_h = i_r_h EXCEPTIONS abbort = 1 OTHERS = 2.
RKD_WORD_WRAP CALL FUNCTION 'RKD_WORD_WRAP' EXPORTING textline = textl2 IMPORTING out_line1 = tline1 out_line2 = tline2.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = tline1 textline2 = tline2 titel = text-019 IMPORTING answer = ret.
CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = fieldname tabname = tabname IMPORTING select_value = e_filename TABLES fields = help_field_tab valuetab = help_value_tab.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = l_repid dynumb = l_dynnr TABLES dynpfields = l_dyntab.
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 RKCDPDEF or its description.
RKCDPDEF - Flexible Excel Upload: Define Data Description RKCDOREO - Reorganization of doc.flag for SAP-EIS master data table RKCDOREO - Reorganization of doc.flag for SAP-EIS master data table RKCDOKUM - Maintain doc. assignment to SAP-EIS master data RKCDOKUM - Maintain doc. assignment to SAP-EIS master data RKCDMSP0 - Report portf.: Data transfer