Skip to Content
author's profile photo Former Member
Former Member

SAPlogon-pad problem

Hello,

I'm calling a function-module which starts a transaction and opens a GUI to show data. The call is: " results = this.SAPInvoke("Z_Vb_Test_Fg_Called_By_Vb",new object[] ); ". Before this I open a connection to SAP. When the SAPInvoke... is started the standard SAPLogon-Pad appears during the function-module opens the GUI and shows data (it is not opened during the connection is opened but just when SAPInvoke... starts). The SAPLogon-pad stays in the background, it is shown in the taskbar and in the notification area (next to the clock) and it doesn't get closed automatically even if the SAP-session and the connection are closed. The SAPLogon-pad is not needed. A probelem occurs when a user closes the SAPlogon-pad before closing the SAP-session. Then the SAPlogon disappears from the taskbar but it is not closed and can only be reactivated by clicking on the icon in the notification area. It is not possible to start the SAPlogon-pad manually by clicking "Start, Programs, SAP Front End, SAP Logon" because nothing happens.

So my question is, if it's possible not to open the SAPlogon-pad at all or close it by my program.

Thanks

Jochen

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 20, 2005 at 03:12 PM

    You are using an "interactive" RFC function that brings up the GUI. Ideally you should avoid this in general.

    But anyway, they way how the GUI comes up and what "sideeffect" it has depends on the version of GUI you are using. In newer versions SAPGUI and SAPLOGON has been integrated to a single process, so starting GUI via RFC has this interesting side effect. I'm sure that you can solve the problem by using a different GUI version or by configuring GUI that is "looses" this coupling of SAPLOGON and SAPGUI. If or how this configuration is possible is unfortunaty beyond my experience. You may open an OSS-ticket in GUI area and ask there.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2005 at 04:09 PM

    Thanks for the answer.

    Best regards

    Jochen

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.