SAP GUI Crash and/or hung up

We have an application that emulate the user interaction with SAP application and use SAP GUI scripting (GUI for window) from VB module to interact with SAP application and perform various operations on SAP window. The operation performed during that exercise are inputting values, search a node in tree, search a value in table, input value in a table cell, click on button, send virtual keys to sap window, interacting with context menu etc etc.. Operations that need to perform on SAP GUI are organized into 'tests" and are performed in a serial fashion. A same test (sequence of operations) can be performed any number of times on a given SAP application.
Lately, we have seen that either SAP Gui crashes or become unresponsive at random when a set of operations (test) are being performed iteratively on SAP GUI. The same test executed correctly many times but at random iteration it become completely unresponsive and hung up.
Although, SAP Gui hang up occurred at a random iteration but we've noticed that if there were two sap instances on the machine then this behavior is noticed much earlier and it is almost certain to get to this sate if an ECATT is running in another sap window but still not able to establish a particular pattern and some time same tests were executed correctly in all the above mentioned scenarios. However, when problem occurred, it usually happen just after the operations that have caused SAP GUI to do a server round trip like click on button or scrolling a table etc but still it was quite random and was unable to establish a pattern.
When SAP GUI hung up then not only it becomes completely unresponsive, but it also hung up any application they tries to interact with SAP GUI scripting object.  At this point, any attempt to make any references to any scripting object or even a fresh attempt to connect to scripting object model also hung up that application. The only way out at that point is to kill SAP Gui from the task manager and once SAP Gui killed then all application that was previously hang up start to resume execution!
SAP GUI for Window  7.1 patch 7 and path 11 are being used.
Any help shall be greatly appreciated.

Hi Gary,
You could also reach a point where your backend ABAP instance Kernel version plus SAP-BASIS component will have problems with a unsupported SAP GUI.  Your W2's will leverage an Adobe Document Server, ADS, or smart form technology.  You will experience rendering issues eventually.
It's a vicious circle of Desktop Office Integration.  With Microsoft 8.1 and Microsoft Office 2013 there were a lot correction's pushed out in SAP GUI 7.30.
Cheers,
Dan Mead

Similar Messages

  • DB2 Table locks after SAP Gui crashes

    Hi,
    I have a really annoying problem. Since my SAP Gui crashes sometimes, when I have nearly the limit of sessions open, I get serious problems with table locks in DB2.
    Background:
    When I run a program, which is updating/deleting/inserting data in SAP tables and the SAP Gui crashes, the table entries, which have been processed at that time get locked. So when SAP is then doing the roll back, the locks still exist!
    The SAP basis guys have restarted the system for me, when I got this problem before, but it's really annoying, when this happens again...
    I mean, of course the SAP gui shouldn't crash, but anyway the locks should be deleted by SAP during roll back, right?
    Does anybody know this problem and does anybody know how to solve it without restarting the machine?
    Many thanks!

    Hi Markus,
    true, the SAP Gui is also an issue I have to solve... But anyway the table lock should not occur.
    If you think about some other situations, where the process can be interrupted:
    - Calling a BAPI synchronous via RFC, which is updating/inserting/deleting table records
    - Windows bluescreen
    - etc....
    Whatever, it is really annoying to be in the need of restarting the system, when a process is going to be interrupted...
    Any ideas to this anyone?
    Thank you!

  • Difference between SAP GUI scripting and eCATT

    HI,
      What is difference between SAP GUI Script and eCATT.
      I know that SAP GUI Script can be used for transaction that have activex controls but can we use these script in eCATT also.
      If yes, how?
    Thanks,
    Priya

    Hi Priya,
    SAPGUI script will only work from an external program, may be VB or vbScript. ECATT can only execute a fixed set of commands e.g. (TCD, SAPGUI etc) or a block of ABAP code. ECATT can both work in foreground and background mode.
    In foreground mode you would be able to see the script running on your frontend whereas background mode will create a job in the SAP system.
    You can convert your SAPGUI scripts to SAPGUI commands and execute. If you strictly want to execute SAPGUI script from ECATT then you would have to save the script somewhere on your desktop computer and call it from an ABAP block in ECATT.
    Bikash

  • SAP MMC not showing SID after sap gui install and reboot of the server

    Hi,  after SAPGUI 7.10 install on our server and rebooting of the same,  SAP MMC says  u201CMMC could not create the snap-inu201D.
    We are desperately trying to find a solution.  We did the following:  Uninstalled the gui.
    1) Uninstalled the SAPMMC snap-in
    2) Re-installed it with the sapmmc_2-20005866.msi.
    3) This automatically created all the required dlls..especially the main ones ..sapmmc.dll,  sapstartsrv.exe in c:\WINDOWS\system32
    4) Copied librfc32.dll from a working system  to c:\WINDOWS\system32 of the system that is having issues
    5) Did the registry setup, by doing REGSVR32 sapmmc.dll, and further did sapstartsrv   -t  and re-created the service with the following parameters:
        <SID>
        01
       START_D*_hostname
       .\SAPService<SID>
       Password:*****
    6) All the services are up and running.
    7) Also did a re-boot, just to check if the registry update needed it, for the changes to be active.
    Still facing the same issue  "SAP MMC could not create the snap-in"
    Any input is  appreciated.
    Thanks and regards,
    RS.

    Hi,
    Check your "Input locale" might not be compatible with "System locale".
    Let us know if this information is useful to you.
    with regards,
    Parin Hariyani

  • Problem with 'SAPGUI_PROGRESS_INDICATOR' in SAP GUI 7.10

    Hi!
    We have a problem with SAP GUI 7.10 PL 11. When running this little code snipet, the SAP GUI crashes and SM21 mentions a broken pipe while calling writev in niuxi.c
    DATA: lv_i type i,
          lv_string type string.
    DO 50000 TIMES.
    lv_i = lv_i + 1.
    lv_string = lv_i.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
       EXPORTING
    *     PERCENTAGE       = 0
         text             = lv_string.
    ENDDO.
    Can anyone confirm this problem or is it solved with a higher patch level ?
    Thank you,
    Markus

    Hello Markus,
    this code snippet would be perfect to be added to an official bug report created at http://service.sap.com/message on component BC-FES-GUI.
    Best regards
    Rolf-Martin

  • Is this possible: SNC connection from SAP GUI to SAP Router, and ...

    Hi,
    I have (stupid perhaps) question.
    Is this scenario possible:
    SNC connection from SAP GUI to SAP Router, and non-SNC connection from SAP Router to SAP System.
    I know how to set up scenario like this:
    SAP System --- (non-SNC conn) --- saprouter1 --- (SNC conn) --- saprouter2 --- (non-SNC conn) --- SAP GUI.
    Best regards,
    Marek Majchrowski

    Wolfgang,
    To be sure myself and Marek understand, can you confirm the different scenarios supported:
    Scenario 1:
    SAP GUI --- (non SNC conn) --- saprouter1 --- (SNC conn) --- saprouter2 --- (non-SNC conn) --- SAP System
    With this scenario, it would be possible for a user to logon using SAP GUI onto the SAP System, but without SAP GUI SNC.
    Scenario 2:
    SAP GUI --- (SNC conn) --- saprouter1 --- (non SNC conn) --- saprouter2 --- (SNC conn) --- SAP System
    With this scenario it would be possible to logon to the SAP System using SAP GUI, and using SNC authentication.
    Also, with this scenario the SAP GUI software and SAP System software would consider this to be similar to:
    SAP GUI -- (SNC conn) -- SAP System
    Scenario 3:
    This is the scenario mentioned by Marek in his initial question:
    SAP GUI -- (SNC conn) -- saprouter1 -- (non SNC conn) -- SAP System
    With this scenario it will not be possible to logon to SAP System using SNC, and only possible if the SAP GUI is configured to not use SNC. In other words the SNC connection between SAP GUI and saprouter1 is available, but cannot be used.
    Thanks,
    Tim
    Edited by: Tim Alsop on Feb 25, 2008 5:24 PM

  • How to read the configuration for SAP GUI elements in Plant Maintenance module from SPRO and leverage the same in NWBC for HTML.

    Dear Members,
    Greetings for the day!
    I am working on NWBC for HTML in Plant Maintenance module.
    We have configured some changes in SPRO for customizing the UI elements( like visibility, mandatory ) like tabs and fields in transactions like IW21( Create Notification).
    As of now separate parallel configuration needs to be carried out in NWBC for HTML in PM module to achieve the same UI features for creating notifications and this is time consuming.
    Is there any way to read the configuration done in SPRO for the SAP GUI's and leverage the same in NWBC for HTML.
    Appreciate your time in responding to this.
    Thanks & Regards,
    Ram.

    >
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7003,127.0.0.1:7103,127.0.0.1:7104
    MatchExpression /app1
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    MatchExpression /app2
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    >
    This configuration is weird little bit. There is MatchExpression /app1 and MatchExpression /app2 and at the same time two <Location /weblogic> sections. Are you sure you understand what that configuration stands for?
    Try something like this ...
    <Location /app1>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    </Location>
    <Location /app2>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    </Location>
    where /app1 and /app2 are contexts of your weblogic applications.
    http://download.oracle.com/docs/cd/E11035_01/wls100/plugins/apache.html
    http://httpd.apache.org/docs/2.0/mod/core.html#location

  • Difference between IE version 6.0 SP 2  and SP 1 with SAP GUI 710

    Hi,
    I'm using SAP GUI 710 and Internet Explorer 6.0 with SP 1
    When i run a query on portal and i'm able to export the result to excel.
    But when i run the same query with IE 6.0 with SP 2 and when i try to export the result to excel and i'm getting this error.
    You need to have Microsoft Outlook express installed to work with Single file web pages.Outlook express is an optional component of microsoft ie 4.0 and later.
    Please suggest, I'm not sure of my findings on the error regarding ie versions.
    Cheers,
    Shana
    Answers will be awarded with due credits

    Hello. Can you check the MS Office (directly Word ) are 2007 version? Regards.

  • NWBC Side Panel and SAP GUI Scripting

    Hi,
    I was hoping someone might be able to clarify the SAP GUI scripting requirements for using the NWBC side panels. In the help documentation it states:
    As of NWBC 3.5 patch level 6 or NWBC 4.0 and SAP GUI 7.20 patch level 13 or 7.30 final release, it is no longer necessary to enable SAP GUI Scripting on the client PC, except if you are using Property Collector. That means, it is no longer necessary to enable front-end scripting through registry key (HKLM and HKCU) for using side panels in NWBC. However, it is still necessary to install SAP GUI Scripting and to enable it for the server (at least read-only).
    Some of our users are getting pop up messages that say "The scripting support is not installed"... interestingly they don't actually appear to be opening a side panel when they get this message.
    I noticed that these users don't actually have SAP GUI scripting installed at all, so not that it is just not enabled, it is not installed in these cases. So does the above section from the help documentation mean that SAP GUI scripting must be installed on the client PC but it does not actually have to be enabled?
    That's how I am currently reading it... but perhaps someone can clarify for me, or someone else has had a similar experience.
    Thanks,
    Simon

    Hi Simon,
    As written in the documentation you quoted:
    Simon Kemp wrote:
    Hi,
    I was hoping someone might be able to clarify the SAP GUI scripting requirements for using the NWBC side panels. In the help documentation it states:
    As of NWBC 3.5 patch level 6 or NWBC 4.0 and SAP GUI 7.20 patch level 13 or 7.30 final release, it is no longer necessary to enable SAP GUI Scripting on the client PC, except if you are using Property Collector. That means, it is no longer necessary to enable front-end scripting through registry key (HKLM and HKCU) for using side panels in NWBC. However, it is still necessary to install SAP GUI Scripting and to enable it for the server (at least read-only).
    Meaning: SAP GUI Scripting need to be installed on the client PC, although it is not required to activate it:
    Regards,
    Claudia

  • App-V 5 SP1: Error with SAP GUI 7.3

    Hallo!
    We work on a project to use SAP GUI 7.3 with latest fixes with App-V 5. This works fine so far with the exception of only one transaction in SAP - SWDD. This windows shows no icons on top. After waiting for a while this transaction stops working and SAP
    GUI crashes. SAP support says it's an error with App-V. So we tried to find some error with process monitor. We are able to see many of these errors:
    Date & Time: 19.11.2013 11:02:26
    Event Class: Registry
    Operation: RegOpenKey
    Result: NAME NOT FOUND
    Path: HKU\S-1-5-21-1393060369-1102717077-1881041405-25977_CLASSES\AppV\Client\Packages\4782139E-FD11-4C4D-84FB-57E849A8B823\Registry\Machine\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
    TID: 10504
    Duration: 0.0000049
    Desired Access: Maximum Allowed
    Date & Time: 19.11.2013 11:02:31
    Event Class: Registry
    Operation: RegEnumKey
    Result: BUFFER TOO SMALL
    Path: HKCR\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
    TID: 10504
    Duration: 0.0000021
    Index: 0
    Length: 0
    Date & Time: 19.11.2013 11:02:31
    Event Class: Registry
    Operation: RegOpenKey
    Result: NAME NOT FOUND
    Path: HKLM\SOFTWARE\Microsoft\AppV\Client\Packages\4782139E-FD11-4C4D-84FB-57E849A8B823\Versions\E7BFC8A3-BB43-4739-A7A8-604AA3A68E84\Registry\Machine\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
    TID: 10504
    Duration: 0.0000123
    Desired Access: Maximum Allowed
    There are hundreds of these entries. What are these NAME NOT FOUND errors? Did anyone of you successful sequence SAP Gui 7.3 with App-V 5?
    Thanks for help.
    Dietmar

    Hello,
    See this topic which explains BUFFER TO SMALL.
    http://blogs.technet.com/b/markrussinovich/archive/2005/05/17/buffer-overflows.aspx
    The Name not found indicates that it is looking for a registry key (location is the path) and not finding it. That may not be a problem, as it usually traverses multiple locations (HKCU and / or HKLM, native and virtual..).
    First question is;
    On a machine with SAP installed natively - is there an entry named;
    HKLM\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
    or
    HKCU\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
    If yes, does it exist in the package?
    Nicke Källén | The Knack| Twitter:
    @Znackattack

  • SAP GUI 7.20 installation in Citrix environment

    Dear colleagues,
    does anybody, if there are some hints using the SAP GUI 7.20 in Citrix?
    We've different installations of the SAP GUI; one installation szenario is local on the client workstations and one is on a citrix environment.
    On the local installation, the SAP GUI 7.20 works fine so far, but in Citrix the menu looks strange.
    Is it possible, that we need a different installation server because on the client we've Vista; on Citrix it's 2003 Server?
    Thank your for any advice + best regards,
    Clemens

    Hi,
    try to disable the signature theme (higher ressources are needed):
    To do so, you define the following registry value (REG_DWORD):
        HKEY_LOCAL_MACHINE\Software\SAP\General\Appearance\ShowShadowBorder (on 32-bit operating systems)
        or
        HKEY_LOCAL_MACHINE\Software\Wow6432Node\SAP\General\Appearance\ShowShadowBorder (on 64-bit operating systems)
    and assign the value "0".
    As a result, a solid frame is drawn around the SAP GUI window and the resources are preserved.
    Please see note 138869 for further information.
    Hope this helps.
    Regards,
    Jann

  • SAP GUI Property Collector is unresponsive

    Hiya,
    I can't seem to get SAP GUI Property Collector to work?
    it just stays grayed out like this:
    I've switched on sapgui/user_scripting on the server and the GUI has scripting enabled but the collector just stays unresponsive...
    Any ideas why this could be?
    Many thanks!

    Yeah, it is working now for me.
    I have set
    sapgui/user_scripting
    sapgui/user_scripting_per_user
    sapgui/user_scripting_set_readonly
    to TRUE (must be upper case).
    In addition, it was necessary to logoff from all my sessions to the system before the server side scripting got enabled.
    Please select something different in dropdown box of "Process" if you want to collect from SAP GUI sessions and not NWBC sessions.

  • File_Open_Error=1 message for SAP Gui 7.10 when running GUI_IS_ITS

    Hello,
    I'm trying to upload a text file using gui_is_its. When using sap gui 7.10 (SP 14) I get a file_open_error = 1 message. However, when I run the same option using sap gui 6.40 - the file uploads OK.
    Can you tell me why I get the error with the latest sap gui patch and how I can resolve this issue?

    Hi ,
    I have updated the GUI for the latest patch , that is 5. and still at sometimes when using query designer "critical Error" msg used to appear.. i have checked the logs but it doesnt give out any clue why this error occurs.. if  ya have any suggestion please let me inform as well..
    Thanks !

  • SAP GUI 7.20 Windows 7 Crash in some Tcode

    Hi,
    Just suddenly last week my sap gui 7.20 patch level 4 just starting to crash when i run Tcode VA05 with todayu2019s date. no error message is displayed the GUI is just gone.
    I get this error i SM21
    Connection to user 22243 (XXXXX ), terminal 63 (XXXXXX ) lost. but as i know this is not specific to my error just that the connection is lost without a proper logout.
    What i have tried so far uninstall SAP GUI delete the remaining folders, reboot install again with antivirus deactivated. but still the same error.
    Anyone with the same problem or know how to fix this?
    Regards
    Anders

    Hi Anders,
    I have a similar Problem with my GUI and
    I also use the SAP GUI 7.20 with patch level 4 on a windows 7 64-bit system.
    As soon as i try to start transaction SE80 the GUI is closed without any warnings.
    I didn't change anything at the gui config or registry. Last week everything worked fine,
    and after booting my system today, i face this problem. I can't remember active if any major windows updates have been made.
    I also have installed the gui in my windows xp mode system and it works fine, also with the same patch level. Even installing the older sap gui 7.10 doesn't fix the problem. So it seams to be a windows 7 problem.
    I also attached my log from sm21. Would be thankful for every hint.
    Time     Type Nr Clt User TCode Grp N Text
    14:09:26 DP                     Q0  I Operating system call recv failed (error no. 10054)
    perating system call recv failed (error no. 10054)
    etails
    ecording at local and central time........................ 14.02.2011 14:09:26
    Task...... Process    User...... Terminal Session TCode Program Cl Problem cl         Package
    13388      Dispatcher                                           K  SAP Web AS Problem STSK
    urther details for this message type
    Module nam Line Error text          Caller.... Reason/cal
    nixxi.cp   4436           recv10054 NiIRead    recv
    Documentation for system log message Q0 I :
    The specified operating system call was returned with an error.
    For communication calls (receive, send, etc) often the cause of errors
    are network problems.
    It could also be a configuration problem at operating system level.
    (file cannot be opened, no space in the file system etc.).
    Additional specifications for error number 10054
    Name for errno number WSAECONNRESET
    No documentation available for error WSAECONNRESET
    echnical details
    Kind Regards
    Andreas Hartl

  • SAP GUI session crashes in Windows 7

    Hello,
    I have Windows 7 Enterprise Edition and I'm using SAP GUI 7.10 compilation 4 / patch 14.
    Here's what happened:
    - i've logged into SAP client, entered a standard transaction (ESWTMON01 or EDATEXMON01), pressed click on a switch document or ID POD and then freezes.
    On my screen I have the transaction screen and the busy pointer of the mouse, nothing else.
    I've looked into SapWorkDir folder for a trace file (sapfewdll_01_0002_00_2176_1408.err.trc)
    Here's the content:
    (Error)(02.02.10 09:58:56.253):    CALL METHOD "CreateControl"[DispID=5] OF [#8/0x052A70B8/101/{83658045-6571-3232-7082-797884697868}]
                        #0: LONG "129"
                        #1: STRING "SAPGUI.GridViewCtrl.1"
                        #2: LONG "1409286144"
                        #3: LONG "128"
    IDispatch::Invoke raised exception
    Does anybody know what's the cause of this crash? is it SAP GUI, the patch, my OS?
    I've tried every standard transaction in SAP IS-U, it works for a couple of minutes, then SAP GUI freezes.
    I can only stop the session from Task Manager.
    If someone had this problem before, I'd be more than glad to hear a solution.
    Thank you,
    Eduard M.

    Hello Eduard
    Try to register the gridview.ocx manually in Windows 7 system.
    From Start->Accessories, right click on "Command Prompt" option and select "Run as Administrator".
    Now in the command prompt, navigate to c:\windows\system32 folder
    Now type regsvr32 <path>\gridview.ocx
    E.g: regsvr32 "C:\Program Files\SAP\FrontEnd\SAPgui\gridview.ocx"
    The registration should be successful.
    Hope this should resolve the issue.
    Regards,
    Dinesh

Maybe you are looking for

  • Need help with my missing dvd-driver

    I've had my MacBook Pro since 2009 and I have updated to Mac OS X, Lion and then Mountain Lion over the years.. Well, somewhere along the way I have lost my dvd driver. I don't know if it was because I installed a third part dvd driver or not but I a

  • My iphone "freese" every time i lock the screen? if i dosn't lock the screen it doesn't??

    every time i lock my screen it "freese", if i doesn't, it does not?

  • Buisiness rules in bpel

    How to Create a rule in Oracle Business Rules Rule Author and how to create a Decision Service Partner Link in BPEL that referers the Rule Repository and implement the same in a BPEL process. can anybody help me with an example...

  • Photo in trash can but it says i can't empty the trash b.c. it's being used

    I downloaded pictures to my mac, then i put them on my desktop now i want to delete them off my desktop so i dragged it into my trash can and it says i can't empty the trash can because the photo is being used. help please!

  • Error with third party backup tool

    Hello Experts, We are using Veritas netbackup to take backups. Veritas backup is showing error 6 after running 7 different successful streams and when I checked from SAP  (DB12) it shows successful backup of the system. Can you pls explain why netbac