Others will be ignored DATA ( lt_mapping ) = VALUE zcl_eui_file_io => tt_excel_map ( ( field = 'CARRID' column_name = 'B' ) ( field = 'CONNID' column_name = 'C' ). " Specify the mapping of the required fields. " File from a network folder lo_file_io -> import_from_file ( iv_full_path = `I: \$ secret \2 020-06-27.xlsx` ). " Load from Excel DATA ( lo_file_io ) = NEW zcl_eui_file_io ( ). METHODS : " Data Import Error Handler (-> EXPORT_TO_ITAB) on_mapping_error FOR EVENT mapping_error OF zcl_eui_file_io IMPORTING iv_source " Original text iv_row " Line number is_excel_map " Mapping field io_error " CX_* exception cv_value " Value to change cv_value->* cs_row.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |