Quantcast
Channel: SCN : Discussion List - Scripting Languages
Viewing all articles
Browse latest Browse all 325

SAP GUI Appearance Changes After VBScript Manipulation

$
0
0


I can't seem to find any posts on this issue in the forum; perhaps someone out there knows how to fix this via VBScript.

 

I have an Excel macro that manipulates SAP via embedded VBScript. The script was recorded using the SAP Script recorder.  After the code has run, the GUI appearance for popups (session.findById("wnd[1]) forms and subsequent forms look different and less user-friendly. The original session.findById("wnd[0] appearance seems unaffected and looks fine.  Is there a way to ensure that the original, default appearance for session.findById("wnd[1] is maintained after manipulating SAP via VBScript?  The only way I found so far is to log out of the SAP GUI

 

Example:

 

After drilling down to find a WBS code by clicking the drop down icon indicated below:

 

PopUpVBS.png

 

The subforms (popups - session.findById("wnd[1]) look like the screenshots below (before and after):

 

Before Running Script (every day user look and feel):

 

BeforeVBS.png

 

After running script:

 

AfterVBS.png


Viewing all articles
Browse latest Browse all 325

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>