I was performing unicode check on a program using t-code UCCHECK.It gives me error message saying FM WS_DOWNLOAD is obsolete.What does this mean
Naimesh Patel replied
Obsoete means SAP is trying to remove the FM in upcoming versions. So, please use FM GUI_UPLOAD or method CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD EXPORTING FILENAME = L_FILE HAS_FIELD_SEPARATOR = 'X' CHANGING DATA_TAB = IT_FILE EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 OTHERS = 18. IF SY-SUBRC <> 0. MESSAGE E398(00) WITH 'Error while opening a file'. ENDIF.