on 10-14-2005 5:53 PM
Hi Gurus!
I use Visual Basic to call Function:
SAP.Functions.Connection.Logon(0, False)
SAP.Functions.Connection.Logoff
It works.
But sometimes the session still remain (SM04).
How can it be after session idle time out?
Can anyone help me?
Thanks, best regards,
AndyML
P.S. There is no problem in SAPKW30B21.
Hi,
Composite SAP note for several smaller problems
<b>835122</b>
Regards
Siddhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Warning!!!
There is the bug in SAP Automation ActiveX (OCX) Control:
Object: "Connection"
Property: "IsConnected"
"IsConnected" can be equal to "1" long time,
after maximum user idle time exceeded on the server side.
There are locked data and session has status "connected".
Server: SAPKW35012 = BW Version 3.5 + package 12
SAP GUI: 620
Solution (Visual Basic for Excel):
-
Public Function Check_Connection_Status (objFunc As Object) As Boolean
Dim objCall As Object
If objFunc.Connection.IsConnected <> "1" Then
Check_Connection_Status = False
Else
Set oSaveObj = objFunc.Add("Z_PING")
Check_Connection_Status = objCall.Call
End If
End Function
-
Where "Z_PING" is dummy empty ABAP-Function.
Best Regards.
AndyML
P.S.
SAP ActiveX user manual:
http://help.sap.com/saphelp_46c/helpdata/de/d8/44ca50ac3c11d189c60000e829fbbd/frameset.htm
Hi,
Go through the oss notes: <b>503557,867673,312847</b>
Hope it helps..
Regards-
Siddhu
Message was edited by: sidhartha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SM04 is to display User List. To check if your query is still running, try SM66.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is no process (sm51, sm66).
But session (sm04) for user has status "Connected".
sm21: (for user)
-
Communication error, CPIC return code 019, SAP return code 728
> Conversation ID: 18158141
> CPI-C function: CMSEND(SAP)
Problem class....... K SAP Web AS Problem
Development class... STSK
-
???
Hi,
Another words...
I have the window with message:
-
Sapgui 620
BW: Auto logout (maximum user idle time exceeded)
Time Mon Oct 10 18:04:51 2005
Component DPTM
Release 620
Version 10
Return Code -22
Counter 1
-
But session (sm04) for user has status "Connected"
and "SAP.Function.Connection.isConnected" = 1
It does not depend on time!
What do I wrong?
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.