Skip to Content
avatar image
Former Member

Access to File denied

Hi,

I am running a program to upload materials in bulk into table MARA by uploading a text file. However, it is throwing me an error that "Access to file is denied". I got the error at FM 'GUI_DOWNLOAD'. After browsing also i did not reach any conclusion. The OS on my system is windows XP and I have changed the security settings on the SAP LOGON to disabled status. I have not left the text file opened. I am not sure what else could be the problem. Can anybody please help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 20, 2012 at 07:04 PM

    There are 2 chances to land up for this kind of error.

    1) Either you dont have the permission to store the file in the DRIVE that you are storing, for example C or D or E drives in your PC. Suggestion on this change the Drive name and check.

    2) File with same name might be open already. In this case close the file and then try.

    Hope any one should work for sure.

    Regards

    Venk@

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 20, 2012 at 02:34 PM

    Hi Madhu,

    'GUI_DOWNLOAD' ?
    Try 'GUI_UPLOAD' (or was it just a typo?)

    Best regards
    Uwe Fetzer (@se38)

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Are you running Windows 7 or Vista?  If so, is the PC utilizing the Virtual Store concept that is from Vista onward?  In my case, this happened because the user does not have ownership of the target folder on the PC, or does not have admin rights or ??  In another case, I found that my files were being diverted from SAP GUI Work to something like local/appdata/virtualstore/  again because of the permissions and ownership errors for SAP GUI Work folder. And, unfortunately, since not all my users have the same build in the particular application area (each Win7 migration was done manually), some users work, some get files diverted to virtual store and some get access is denied.

      The access is denied is coming from Windows via the SAP GUI, not from the GUI_DOWNLOAD FM.

      You may need a Windows Guru to fix this mess for you...read about the virtual store fiasco in Google. 

  • avatar image
    Former Member
    Apr 23, 2012 at 06:48 AM

    Hi Venkat,

    Your first suggestion worked for me. Earlier C drive was being used and when i tried to paste a file is C drive, it showed me that access is denied. So I changed it to the D drive and now it works fine..Thanks for the suggestion!

    Add comment
    10|10000 characters needed characters exceeded