Skip to Content

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

Unicode Errors

Hi ABAPpers,

I am getting the Unicode error as

Upload/Ws_Upload and Download/Ws_Download are obsolete, since they are not

Unicode-enabled; use the class cl_gui_frontend_services

in the below code

CALL FUNCTION 'UPLOAD'

EXPORTING

FILENAME = 'C:\'

FILETYPE = 'DAT'

IMPORTING

ACT_FILENAME = P_FILENAME

TABLES

DATA_TAB = I_FILE

EXCEPTIONS

CONVERSION_ERROR = 1

INVALID_TABLE_WIDTH = 2

INVALID_TYPE = 3

NO_BATCH = 4

UNKNOWN_ERROR = 5

OTHERS = 6.

CASE SY-SUBRC.

WHEN '1'. MESSAGE E014(ZV) WITH 'Conversion_error'.

WHEN '2'. MESSAGE E014(ZV) WITH 'Invalid_table_width'.

WHEN '3'. MESSAGE E014(ZV) WITH 'Invalid_type'.

WHEN '4'. MESSAGE E014(ZV) WITH 'No_batch'.

WHEN '5'. MESSAGE E014(ZV) WITH 'Unknown_error'.

WHEN '6'. MESSAGE E014(ZV) WITH 'Others'.

ENDCASE.

Now I want to chage the function module UPLOAD to GUI_UPLOAD but the problem is importing parameter ACT_FILENAME is not their in GUI_UPLOAD.

How to correct this error.

Please Reply.

Thanks and Regard,

Rahul Sinha

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