Skip to Content
-2
Sep 30, 2019 at 11:33 AM

Shorten path

1075 Views

Hello,

I select the document using method

cl_gui_frontend_services=>file_open_dialog

which gives me the path to the folder type STRING.Then I read the file using Function Module : TEXT_CONVERT_XLS_TO_SAP

which has an importing parameter i_filename type RLGRAP-FILENAME , length limited to 128 CHAR.

Sometimes the path can be longer than 128 Char and like this the prg does not find the file.

Do you know a way to shorten the path or read the file path entirely?

Please let me know!