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: 

Judge whether the file exist

Former Member
0 Kudos
188

hi,

I want to know a file whether exist in a special direcotry in the user's computer, e.g. a computer that a user used to log on the sap.

how can i realize it .

thanks in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
67

Hi,

Try class method CL_GUI_FRONTEND_SERVICES=>FILE_EXIST

Svetlin

3 REPLIES 3

Former Member
0 Kudos
67

hi,

Try this function module WS_QUERY.

Best Regards,

Vijay

Former Member
0 Kudos
68

Hi,

Try class method CL_GUI_FRONTEND_SERVICES=>FILE_EXIST

Svetlin

Former Member
0 Kudos
67

If 46c or lower, ws_query is v good soln.

For 470 onwards, use cl_gui_frontend_services=>file_exist