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: 

Sap script to close security pop up

Former Member
0 Kudos

Looking for a SAP script command line to close security pop up.. Action triggered by server was denied based on rule... do you want to see a list of actions triggered in the last communication step... Yes no

4 REPLIES 4

patelyogesh
Active Contributor
0 Kudos

Hello mUFEEZ DIN,

Can you please add more detail to your question for better understanding.

Thank you

Yogesh Patel

SAP community Moderator

LukaszL
Participant

Hello

to change the rule SAP Gui to Allow, go to Customize Local Layout > Options > Security > Security Settings > Security Rules choose /H/app.server/S/3200 rule and change there from Deny to Allow

Reference

SAP GUI security window on portal

0 Kudos

Looking for a SAP script command line to close security pop up.. Action triggered by server was denied based on rule... do you want to see a list of actions triggered in the last communication step... Yes no

Changing the default security setting to "allow" is not really the solution. I use a script to run 10 reports in SAP and then all 10 reports are saved as spreadsheet on the local HD as a plain data source (read only) for some other more complex workbooks. When the default security setting is set to "allow" Excel is started for all 10 reports, opening all the 10 reports. In order to prevent that the security default is set to "deny". However when the default is "deny" the above mentioned SAP Security dialog comes up while running the script.

How can I close this security notification dialog in the script choosing "no" as the answer?

0 Kudos

Same exact scenario as gruehar and mufeez ... we have a dozen+ reports being scripted to download and don't want Excel opening a dozen times. Can't get this popup to appear unless running a script, and can't capture the correct window session.findById("wnd[x] using Record and Playback when it's open due to a script running. I've also tried many variations of the wnd target path as above, as well as trying to force via script the Alt+N to answer "No". Nothing works ... any suggestions are appreciated.

============================================================================
Request Details
Version: 1.0
Encoding: UTF-8
============================================================================
----------------------------------------------------------------------------
REQUEST:

- Object:
Object name: C:\Program Files\Microsoft Office\Office15\EXCEL.EXE
Object type: File

- Context:
System ID: EP1
Network: 
Client: 400
Transaction: SE16
Dynpro name: SAPLSLVC_FULLSCREEN
Dynpro number: 0200

- Access:
Access type: Execute

ACTION:
Action taken: Deny
Action source: User rule

RULE:

- Object:
Object name: C:/Program Files/Microsoft Office/Office15/EXCEL.EXE
Object type: File

- Context:
System ID: 
Network: 
Client: 
Transaction: 
Dynpro name: 
Dynpro number: 

- Access:
Access type: Execute
----------------------------------------------------------------------------