Excel file FILE://\\CLIENT\D$\DELETE\REVAL.XLSX is not processed
I'm using a Z-tcode to upload Excel sheet and further upload the data in excel to SAP. For that we are using method cl_gui_frontend_services=>gui_upload to upload the data from Excel to internal table.
Then we are using FM TEXT_CONVERT_XLS_TO_SAP to convert the data. But this FM returns an error "Excel file FILE://\\CLIENT\D$\DELETE\REVAL.XLSX is not processed"
when I checked further some where inside this FM it returns ERROR->ERROR_CODE with "DOCUMENT_TYPE_NOT_REGISTERED".
We tried uploading Excels of extension .xlsx and .xls. In both cases, we faced the same error. And we are sure that the Excel is not opened while uploading.
Please suggest what can be the reason.