cancel
Showing results for 
Search instead for 
Did you mean: 

Excel Templates

Former Member
0 Kudos

Hi, experts!

On my work, i find the next problems with Excel Templates:

1. When i try to download a from some templates with similar names (example: abc.xls and abc.xls),

i see the following error "Access to file denied". What is the problem? May be in path?

2.I use the following form

DOWNLOAD_TEMPLATE_FROM_SMW0

USING

TEMPLATENAME

FILENAME."

and method to receive a path for download tempalate

CALL METHOD cl_gui_frontend_services=>registry_get_value

EXPORTING

root = 1

key = '\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders'

value = 'Personal'

IMPORTING

reg_value = path

EXCEPTIONS

get_regvalue_failed = 1

cntl_error = 2

error_no_gui = 3

not_supported_by_gui = 4

OTHERS = 1.

but, some users tell me, that they have see error "Access to file denied" in its first Download, without open applications of Excel.

Wait for your answers!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

solved by myself.