Skip to Content
Jul 28 at 01:20 PM


102 Views Last edit Jul 29 at 05:39 AM 3 rev

Hi Guys

I want to read and process data from a file on the file server in my application. No interaction with a user via UI is intended. The only suitable tool seems to be the class CL_GUI_FRONTEND_SERVICES.

This works fine for loading a file with the method GUI_UPLOAD under "SAP GUI for Windows". The same coding leads to an error under "SAP GUI for HTML" (, although there is no GUI interaction at all).

This unusual behavior can easily be reproduced using the code snippet for the method FILE_EXIST.

Is there a comprehensible explanation for this behavior and is there a solution for my use case?

Thx in advance, Jan

PS.: I know the "file browser" has been introduced for "SAP GUI for HTML". But again, a user interaction via UI is not foreseen in this usecase.

Appendix: Just to illustrate the problem here a picture.