Application Development and Automation 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: 
Read only

Local Path check?

Former Member
0 Likes
989

I have a create a porgram to download the SAP table's content from SAP to Local path,but i don't know how to check if the local path is exist before download, if the path path does not exist, how can i create the path. and because according to the business requirement, i can not use the SAP Standard Function such as "WS_UPLOAD" to check the path if exists. Who can help me? Thank you very much!!!!!

1 ACCEPTED SOLUTION
Read only

thomas_jung
Developer Advocate
Developer Advocate
0 Likes
797

Have you looked at class CL_GUI_FRONTEND_SERVICES. It has methods for everything you say you want to do: DIRECTORY_EXIST, DIRECTORY_CREATE, DOWNLOAD, etc.

4 REPLIES 4
Read only

thomas_jung
Developer Advocate
Developer Advocate
0 Likes
798

Have you looked at class CL_GUI_FRONTEND_SERVICES. It has methods for everything you say you want to do: DIRECTORY_EXIST, DIRECTORY_CREATE, DOWNLOAD, etc.

Read only

0 Likes
797

Thanks for your help!

Read only

0 Likes
797

I'm glad this took care of your problem. Please mark the question answered so the status changes in the forum view.

Thanks

Read only

0 Likes
797

Hi Yewei,

You are thanking a poster for his answer.

Please next time also give him points.

See: /people/mark.finnern/blog/2004/08/10/spread-the-love

This time I did it for you.

Remember: When you ask a question you also assume the responsibility to assign points.

Please check your other questions and if the answers were good.

Spread the love and give some points.

Thanks in advance, Mark.