Hi,
I´m using the function TEXT_CONVERT_XLS_TO_SAP to read an excel file and
load it into an internal table. For choosing the filename, I´m using the class method
cl_gui_frontend_services=>file_open_dialog.
My problem now is, that the function TEXT_CONVERT_XLS_TO_SAP needs the
filename like the type RLGRAP-FILENAME. That means Char 128!!!!
It´s not a problem to pass the filename I got from the method into that field, but
filenames with full path included are OFTEN longer than 128 characters....
I have now the problem, that sometimes the filenames are cut because of the too
small field of 128 chars...
I have now tried to copy the funcion, but there are many form routines and data
declarations I have also to copy. Isn´t there a better alternative?
And please explain me the reason why SAP uses filenames/pathinformation with
ONLY 128 characters! 😔
Thank You!
Reward points guaranteed