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: 

Unable to access local files from the favorites menu

0 Kudos

I tried adding a notepad file from my desktop to my favorites via Favorites->Add other objects->Web address or file. The notepad file got added succesfully to the favorites screen. However on double clicking the file I am getting the below error in the screenshot.

However this was working earlier.

What could possibly be the problem.

Thanks in advance.

Regards,

Vignesh Sunkasi.K

4 REPLIES 4

former_member182550
Active Contributor
0 Kudos

Try with an HTM or HTML extension....

0 Kudos

Hi Richard,

I tried with an HTML extension but it doesnt work.

On debugging, it was found that function module 'CALL_BROWSER' is being called and inside this FM a check is available to see if the path entered starts with 'https://' or 'www'. Since we are uploading a file from the local machine, the path starts with 'C:' and hence the check fails and the error message is getting displayed. Looking for solution to overcome the error.

Regards,

Vignesh Sunkasi.,K

0 Kudos

It's not an error - it seems like it's by design since the browser is being used to display the file. Why not stash it on a server somewhere since on a local pc the file will not be available 24 hours a day since the user will be turning the pc on and off.

Have you checked the SAP documentation ??

This states:

Inserting a Web Address or a File

1.Choose Favorites Link or file.

A dialog box appears.

2.Enter the name and Web address or the file name and choose Continue.

The Web address must start with http://. For example, http://www.sap.com.

The file name must have the format: <Drive>:\<filename>\<filepath>. For example, C:\Texts\SAP.doc. You can use this function only if you can access local files from your Web browser.

anand_sagarsethi
Contributor
0 Kudos

You would be using web address or file to do that.

I tried when you add it; it doesn't open firstly; but later it starts. for me it always doing the same when I login every time..

first time wont work; force it to close it & then run again it will work.