on 03-22-2017 4:35 AM
Dear Gurus,
I have developed a program which generates an image file and insert the same in a word file and print the word file after printing is finished the program delete the image file.
I am using class CL_GUI_FRONTEND_SERVICES and methods GUI_DOWNLOAD and FILE_DELETE to generate the delete the image file respectively.
while performing download and delete the system shows a pop-up dialog box (at least for the first time) to allow/deny the access. I have set the SAPGUI security settings to "ASK" because of security reasons and It is not possible to make it "ALLOW".
So, I have no option to avoid this pop-up, Also, if user selects deny for deletion step for the image file intentionally/unintentionally the file will remain there and a smart user can use the image file and exploit the same. I don't want the user to decide on downloading/deleting the image file.
I am looking for some solution within the program to skip these pop-up.
Regards,
Dipeshkumar Bhavsar
Hi,
I found the solution on my own.
I found a method that return the path of SAP temp directory where SAPGUI security is always allows anything. So, I decided to download and delete the image file in SAP temp directory to avoid the SAPGUI security pop-up dialog box.
Thanks for you inputs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I had used CL_GUI_FRONTEND_SERVICES >> GET_SAPGUI_WORKDIR and GET_TEMP_DIRECTORY in my program. This will give the path to SAP related directory. SAPGUI security allows anything to be added from SAP without any pop-up dialog box.
Dipesh
Hello Dipesh,
You can easily supress this popup via Security settings of GUI via following path -
Goto - Menu ->SAP Options(Customzed local layout) - > Options - >Security->Security Settings - >
Click on Security Configuration Dialog.
A popup would appear , there Input 'ALLOW' under Default Action.
Press OK twice .
Thats it.
Hope it helps!
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shashank,
Thanks.
But, if you read my question carefully, I have already mentioned about the option you suggested is not going to work for me for security reason.
I have specifically asked for some solution within the program to suppress SAPGUI security settings.
Regards,
Dipeshkumar Bhavsar
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.