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: 

CALL METHOD cl_gui_frontend_services=>file_copy/delete

david_fnez
Explorer
0 Kudos

Hi;

I use this method to copy/delete files from local disk [CALL METHOD cl_gui_frontend_services=>file_copy/delete], when I call this method it always display a dialog windows asking for permission to copy/delete a file. How can I get rid of this method behavior ?.

Users complains that they don't want to be pressing OK each time this dialog window displays and don't want to be clicking the option "remember my decision"

Thanks on advance.

4 REPLIES 4

matt
Active Contributor
0 Kudos

This is part of Windows security. I know of no way to override it.

raymond_giuseppi
Active Contributor
0 Kudos

For lazzy and irresponsible users, there is an option in SAP GUI to remove any security check... But AFAIK from Abap size no solution (*), this is computer dependant. Also ask for a discharge of responsibilitty before they overwrite an important file on their pc/network...

Regards,

Raymond

(*) Actually theres is one, changing some register value with the cl_gui_frontend_services but they require administration authorization of their terminal. (Don't)

Sandra_Rossi
Active Contributor
0 Kudos

PS: the Windows registry entries are described in the SCN articles entitled "SAP GUI for Windows Administration Guide". I think the setting is for the SAP GUI screen attached.

LutzR
Active Contributor
0 Kudos

Hi David, as already described by Raymond an Matthew this is security functionality provided by the SAP GUI installation / configuration. The clean way to get rid of it would be to define a security rule for SAP GUI that allows e.g. to read/write/delete. in a certain directory. Security rules can somehow be rolled out to users' desktops (but I am no client side expert and cannot give you details on this).

Regards, Lutz