Skip to Content
Former Member
Dec 11, 2008 at 03:34 AM

How to check existence of Local Drive (or Network Drive)..


Dear ABAP Guru,

I need to download file from SAP to Local Drive or Network Shared Drive that are mapped in my computer

SharedDrive\MyFolder\ is mapped as drive G:\ in my computer. (use information of this example for below..)

I've try to download file from SAP using FM 'GUI_DOWNLOAD' and the file path is using path of mapped drive

eg. G:\test_data.XLS

I see it's worked.

But, for each location on network shared drive, users on difference client computer may map them to difference drive name. such as user A map as drive F:/ or user B map as drive I:/ for

My program is have selection screen field for input mapped drive name, but I worry about human errors

So.. I need to know how to check existence of Local Drive or Network Drive and File Path before execcute FM GUI_DOWNLOAD.

Best Regard & Thank you all


Edited by: Nattapash Changpant on Dec 11, 2008 4:34 AM