Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Upload Excel file - WD vs traditional ABAP problem

Hi all,

I want to upload a simple Excel file to SAP via FileUpload UI Element.

The file structure is as follows (1 column with header line):

Header

Item line

Item line

...

I'm using FM 'TEXT_CONVERT_XLS_TO_SAP' as the following link does:

http://www.sapdevelopment.co.uk/file/file_upexcel.htm

When I test the program with traditional ABAP code, it goes well.

But when I embed the code into a WD program, it comes to an exception: Exception condition "CNTL_ERROR" raised.

Does anyone have knowledge about this situation? Every help is welcomed.

Best regards,

Nguyen

Not what you were looking for? View more on this topic or Ask a question