Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG

Former Member
0 Kudos

I'm using CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG to replace WS_FILENAME_GET which is an obsolete function module in ECC6.

WS_FILENAME_GET was making use of the file mask -

',.csv ,.csv ,.txt ,.txt.'

When I use the same string in the file_filter parameter of FILE_OPEN_DIALOG, it doesn't work.

Can somebody tell me the correct string format? I would like *.csv & *.txt as the file mask in the open dialog.

Thanks!

2 REPLIES 2

Former Member
0 Kudos

Hi

U can give like this |.csv| ,|.csv |,|.txt |,|.txt.|'

i think it will work.

Thanks

Former Member
0 Kudos

Try this:

'*.csv ,.txt ,.xls.'