cancel
Showing results for 
Search instead for 
Did you mean: 

SAPGUI scripting notification problem

Former Member
0 Kudos

To run vbs files outside SAP to do SAP automation.

I activated scripting via RZ11 "sapgui/user_scripting".

When running a script I receive a notification, when confirming this notification the script runs.

With parameter "sapgui/user_scripting_force_notification" this notification should be hidden.

My current SAP system doen't know this parameter.

I need to set this one; does anyone know how to do this???

Regards...

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member

Hello John,

The RZ11 Parameter setting for SAPGUI is prereuisite for the SAPGUI recording as well as reply execution. This setting doesn't give any popup.

The popup is appearing due to following setting -

1. On any screen, choose icon with tooltip 'Customizing of local layout' from the Standard Toolbar'.

2. Choose 'Options'.

3. Choose the 'Scripting tab'.

4. Select the checkbox of 'Enable Scripting'.

5. *** Choose the checkbox 'Notify when a script attaches to a running GUI'.

6. *** Choose the checkbox 'Notify when script opens a connection'.

7. Choose 'Apply'.

From the steps 5 & 6 above, uncheck the checkboxes. Now no popup will appear.

The weblog containing all the settings for eCATT is as follows -

/people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i

The weblog containing hints, tips for recording is as follows -

/people/sapna.modi/blog/2006/04/24/ecatt-tips-of-recording-testing-links-part-viii

This will sort out your problem.

PS If the answer solves your query, plz reward points.

Regards

markus_dinkel
Explorer
0 Kudos

Hello John, hello SAP Developer,

please be very careful with unchecking the checkbox 'Notify when script opens a connection'. I would recommend to use the settings as described in my answer in step 4.

This checkbox should be enabled, because it ensures that you're getting notified whenever a script is trying to open a connection on your PC. If this setting is disabled, any script running on your PC could open a connection and execute something on this connection. E.g. someone might attack your PC and try to execute a script without you knowing it. With this checkbox enabled, you ensure that you always get notified when this happens - and no script can run without your confirmation.

Best regads,

Markus

markus_dinkel
Explorer
0 Kudos

Hello John,

maybe the following steps can solve your problem:

1) In any GUI session press ALT-F12.

2) Select the menu entry "Options".

3) In the upcoming popup select the Tab "Scripting"

4) Ensure that the checkboxes "Enable Scripting" and "Notify when a script opens a connection" are enabled and the checkbox "Notify when a script attaches to a running GUI" is disabled.

Hope this helps...

Best regards,

Markus