Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime error in KEFC Transaction while uploading CSV format file

former_member212001
Participant
0 Kudos
248

Hi Experts,

This is regarding Runtime Error while executing the KEFC transaction in R3D.

It is working successfully while uploading the file in Text format. But there is run time error while uploading in CSV format.

It showing "The transfer was terminated.However,content errors occured" .

Please provide the solution.

Thanks in advance.

Regards,

Priya.

1 REPLY 1

Former Member
0 Kudos
86

Hi,

To upload a CSV file it is used FM:

CALL FUNCTION 'TEXT_CONVERT_CSV_TO_SAP'

EXPORTING

i_field_seperator = ';'

I_LINE_HEADER =

i_tab_raw_data = lt_file

i_filename = p_filename

TABLES

i_tab_converted_data = p_table

EXCEPTIONS

conversion_failed = 1

OTHERS = 2

Please check what separetor this fm and your file are using. It should be the same.

Regards,

Fernando