Starting SAP GUI via Active X

HI,
I'm trying to find an example of starting the SAP GUI via ActiveX / OCX. I'd like the same functionality as provided by the Enterprise Portal but within a normal HTML page. I'd be interested in the HTML code as well as details regarding the passing of transaction code, etc.
Thanks.
Dick

Unfortuantely, the Current User registry key cannot be updated via SMS. From what I've seen& tested  the registry settings can be pushed via a login GPO or login script, but due to our environment including contactors and consultants I still cannot get a high coverage rate.
If i do find a magic bullet - I'll report it here.
In the meantime, perhaps a SAP developer would bring this capability to the Installation Server - it allows us to tune & tweak the packages already.    <hint hint> - Xmas is coming!
Kurt

Similar Messages

  • Error in starting SAP GUI as part of an Java RFC call from a PC

    Hi,
    We are on the 4.6C version of SAP and have the latest basis kernel patches that allow an RFC connection to start the SAP GUI. The program that I am running externally is java using the 3.0.1 JCo. The OS of the PC I am using is Windows XP. The SAPGUI version is 7.10 patch level 11.
    The program seems to be working properly as the command prompt window goes grey as if there is another window being opened but then I get back this error message and I do not see the GUI.
    The message I am getting back is:
    Exception in thread "main" com.sap.conn.jco.JCoException:(136) JCO_ERROR_ILLEGAL_STATE:Launching SAP GUI failed, though it was requested(error message:Communication with SAPGUI timed out)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.startSAPGui(MiddlewareJavaRfc.java:1853)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1285)
    at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:661)
    at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103)
    at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:171)
    at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:44)
    at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:160)
    at com.sap.conn.jco.rt.RfcDestination.initializ(RfcDestination.java:766)
    at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:794)
    at com.sap.conn.jco.rt.RepositoryManager.getRepository(RepositoryManager.java:32)
    at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:865)
    at GISToSAPWO_Test.get_wo_call(GISToSAPWo.java:91)
    at GISToSAPWO_Test.main(GISToSAPWO_Test.java:206)
    I have been all over trying to find the solution to this and have come up empty. Any help will be greatly appreciated. If this is the wrong forum for this please let me know and I will re-post.
    Thank you in advance for any information you can pass on about the issue,
    Mark

    Hi Greetson,
    Thank you in advance for your response. It is greatly appreciated.
    1) In a way yes. I am using the connection setting USE_SAPGUI = 1. This is suppose to start the GUI prior to starting the RFC's program run. If this is not correct please let me know.
    2) The code is part of the JCo and the RFC library from what I have read. If this is not correct please let me know.
    3) I am only testing from my PC at this moment. I have re-installed my SAP GUI and am now at patch level 13 on 7.10.
    4) The application passes in the connection information which includes username and password along with the parameters for the RFC call. I would like the SAP GUI to open without the user having to re-enter his/her username and password. I thought that once the RFC is called using the dialog users credentials that the GUI would then open using the connection. I have used the java pooled connection method and it still does not open the GUI.
    5) The purpose is to pass Equipment objects, Functional Location objects and Leak Id objects to an RFC to open a list screen from IW39, List Maintenance Order transaction, for display of each at one pass, as well as open Excel with data from classification for the Leak Id's.
    Hope this sheds some light on the problem I am having. Please let me know if more information is needed.
    Best regards,
    Mark

  • Accessing SAP GUI via terminal services

    In my current project, it is proposed that all SAP development be done remotely via terminal services login to host machine. Does anuone have experience of this way of working? If so what problems were encountered (performance / response times?) and was this method of development successful?

    Paul,
    We did this for a short while for off hours development work and had to quit, but the reasons may be specific to us.  We are only doing ABAP development.
    1.  Support. Developers would be disconnected (for what ever reason) then when reconnect the terminal server would open another session, taking another key, and potentially loosing unsaved code.
    2.  Debugger.  The new debugger, as of ECC, really lends itself to a wide display or two screens, we were very limited to what display options we had by the terminal server (again this might be specific to the way the TS was setup here, but you might want to check)
    As I mentioned ours was for off hours support, so we setup the developers the ability to remote desktop to their desktops through VPN. 
    Good Luck.
    - Brian.

  • SAP GUI Scripting  bug?

    Hi there,
    I developed a custom transaction with only one very simple screen. I disabled the application toolbar in the screen settings (checked "Without Application Toolbar"). But when I start SAP GUI via Scripting API, the application toolbar is always shown. I wonder is this a bug or by design?
    Does anyone know the work around for this? It's a real show stopper for me
    Igor

    Hi Gunnar,
    if You log via myProgram.exe to SAP, then SAP GUI is running in so-called classical design. This also appears to selected design, if the following to be set:
    START -> All programs -> SAP Front End -> SAP GUI Configuration -> Applications -> Add -> myProgram.exe -> Open -> OK-Button
    Regards,
    ScriptMan

  • Webdynpro Vs SAP GUI

    Hi,
    Our requirement is to make SAP transactions available over internet.We are considering below two options.
    1) SAP GUI using VPN
    2) Portal with java webdynpro
    If we are not really interested in initutive UI , whay do we need to consider weebDypro as SAP GUI is the proven technology.
    WebDynpro is considerably slower than SAP GUI, What is the need for using webDynpro over SAP GUI.
    We have requirements for RF enabled trasactions.How simple to develop weebdypro applications for RF enabled devices.
    Please explain How webdynpro is better than SAP GUI via VPN considering the above scenario ?
    Thanks,
    Abdul Raheem S

    Hi,
    1)The SAP GUI for HTML is used in combination with the ITS technology. It runs inplace in the browser. The contents are generated by the Internet Transaction Server (ITS). The SAP GUI for HTML need not be installed separately on the client computers.
    2)SAP GUI for JAVA:  This GUI runs as Java applet inplace in the browser
    You must provide users with the SAP GUI for Java on the Web server and edit the properties in service file Transaction_Configuration. To do so follow this link
    http://help.sap.com/saphelp_nw70/helpdata/en/b7/17c43b6312210fe10000000a11402f/content.htm
    3)SAP gui for windows: SAP GUI for Windows must be installed locally on the client. It is started in the browser
    refer this link for more details
    http://help.sap.com/saphelp_nw70/helpdata/en/fe/13c43bb7137503e10000000a11402f/content.htm
    regards,
    Ameya
    ***reward points if useful***

  • SAP GUI 7.20 Patch 9 Update failed

    Hello,
    I have patched my Intallation Server with Sap GUI 7.20 Patchlevel 9.4, but the automatic workstation updater fails on the local workstation. Every time when I start SAP GUI it will be updatet ("an update is avaliable on the installation source...")
    In the log-file (NwSapSetup.log) is one error:
    10:44:28 NwSapsAtlC  1        |-----SAP Automatic Workstation Update --> Installed
    10:44:28 NwSapsAtlC  1        |---     |---SAPSetup Automatic Workstation Update Service --> Installed
    10:44:28 NwSapsAtlC  1E  Fixing the inconsitent state by removing the older version from the database.
    10:44:28 NwSapsAtlC  1  
    How can I fix this problem?
    Thanks.
    Dirk

    Hello Jude,
    thanks for your answer, but it dosn't work.
    I have patchd the install server with:
    - SAPSETUP90P1SP00_3-20008539.exe
    - SAPSETUP90P2SP00_3-20008539.exe
    - gui720_10-10007878.exe
    The problem is the same, tha automatic WS updater means every time he has an new update, but he can't install it.
    I create an Error-report Link:[https://service.sap.com/sap/support/message/D/002007974700000562722012]
    Dirk

  • WDA and SAP-GUI-Integration

    Hello,
    I am testing the integration of an WDA in the SAP-GUI via cl_gui_wdr_viewer and events. it works fine but now i have new challange where i have some problems.
    I the new case, the WDA should run on another Server. I call the WDA with the cl_gui_wdr_viewer->show_url( ), thats works fine but in this case there is no cl_wdr_sapgui_integration-instance in the WD available ?!?
    Does anybody know the condition for the availability of this instance ?!?
    Thx
    Thomas

    Some seperate Installation requirements are need to Install SAP GUI.........
    Windows:
    CPU: Pentium III or equivalent 300 MHz or higher
    Memory: 128 MB or higher
    Monitor: 17" recommended
    Resolution: 1024x768 / 32,000 colors
    MACintosh:
    CPU: G3 or higher
    Memory: 128 MB or higher
    Monitor: 17" recommended
    Resolution: 1024x768
    Kanagaraja L

  • Stop and start the system via the SAP GUI

    ........ although I don't know the answer!
    We have SAP running on an iSeries/DB2 format.
    And we of course have stopped and started our SAP systems many times before via an iSeries screen.
    One thing we have never had to do, is stop and start the system via the SAP GUI.
    Is this possible? If so, how is it done?
    Surprisingly difficult to find a solution online.
    Edited by: Juan Reyes on Aug 10, 2010 11:10 AM

    Paui,
    You can also do a soft shutdown, which waits till the active users/sessions are logged out (Draing out the sesstions) and no more new users are allowed to login during that time.
    Goto SM51, select the instace/server you want to stop then menu --> Goto --> Server Name --> Administration --> Shut Down Server (soft).
    Here you can also select a hard shutdown if the situation demands by following the same menu path.
    Even though your question is answered but I still wanted to update you the options to select.
    -Mahesh

  • After restart system, cannot start sap (and connect via GUI)

    We have installed Solution Manager 7.1 on linux64.
    After the accident, and reboot the system , stops producing startsap. On the advice of specialists took over running the "startsap <virtualhost>"
    At the command prompt , startsap_DVEBMGS00.log startsap.trc and indicated that the launch was successful .
    However, neither in the list of processes to be seen dispatcher, or SAP GUI can not connect to the system.
    In addition, there is an assumption that just does not start JAVA Instance.
    In this regard, there are a number of questions for the esteemed colleagues :
    1. on how the logs directory from which you can learn this starts the ABAP and JAVA stacks ?
    2 . As can be verified directly from the server ( what commands ) kaktivnost / no system activity ?
    3 . Which log files do I need to provide here , you so that you could possibly help me?

    Hi Michael,
    You need to check the below things
    1. Run R3trans -d to check whether sap can connect to DB or not.(it will create the trans.log file)
       If return code is 0012 , then
          There is some problem with Database
      Else return code 0000
         There is some problem with SAP.
    2. Now go to the directory /usr/sap/<SID>/DVEBMGS<XX>/work
        and check the log files
        1. dev_w0
        2. dev_disp
        3. dev_ms
        4. stderr<x> logs which alos content important system
    Above logs are for ABAP system analysis.
    For Java
    3. std_server<x>.out
    4. dev_server<x>
    5. dev_dispatcher
    Also check the default tarce and application log as well for java
    With Regards
    Ashutosh Chaturvedi

  • Problem with starting Crystal Report document from SAP Gui

    Dear all,
    in Crystal Reports I created my first report (based on a BW query), which is executed successfully, when I run it directly from CR or from Infoview. The report is stored directly in BW and has been published successfulyl to BOE.
    If I try to run it native from the SAP Gui, the following steps happen:
    Internet Explorer is started with the following link:
    http://dtcmbbwp01.ctc.ch.rcc:1080/sap/bw/ce_url?(ce_protcl):(DS)(ce_server)/(ce_path_pr)/viewreport.csp(Q)bw_id=4I4B2HQG8KK2ICFPONVIG5D9Q&sap_sysid=(sysid)&sap_client=010&language=EN&sap-client=010
    this link is transcoded to the following:
    http://dtcmbbwp01.ctc.ch.rcc:1080/sap/bw/=ce_protcl)%3a//MONHAMBO020.world.mon:8080%2fSAP%2fviewreport.csp(Q&sap_sysid=BWP&sap_client=010&language=EN&sap-client=010&sap-language=EN&cmsname=MONHAMBO020.world.mon
    (I already entered /CRYSTAL/CL_BW_HTTP_HANDLER handler in the ce_url service)
    and afterwards I get an error 404 -> corresponding service not available
    which is obvious, as a service =ce_protcl is not existing at alkl.
    If I then execute my CR document again from SAPGui (without closing the IE), the standard BOE login page for the infoview is displayed, but I get an error:
    Account information not recognized: The credentials passed to secSAPR3 [] are invalid. Use the following format: sid~clnt/user
    I can logon with my BW credentials, and afterwards I can see my CR document.
    Any idea, what went wrong?
    Thanks,
    Andreas

    Dear Ingo,
    the basic installation of all BOE components was done by the SAP installation service and I checked several times your blog(s) and the corresponding parts on the BOE server and in BW. From my point of view we did all necessary configuration steps on BOE and BW (/CRYSTAL/RPTADMIN) which are necessary to setup the BOE software and the connections.
    I checked again the HTTP handler and it still says:  /CRYSTAL/CL_BW_HTTP_HANDLER
    I stopped and restarted the service, but with no effect at all -> I do not think that I need a restart of the server, right?
    My user is as well existing on the BOE server and I can logon to the BOE with my SAP credentials.
    I guess as well that the key to the success is the HTTP handler. The first link I provided is the link that is shown in IE, before I logged on to the BW server and I think this is correct, as the transcodification is done after(!) I logged on to the BW server.
    A part of the transcodification is as well working, as I can see the replacement of my ce_server, sysid, etc. But it seems to me that the first part of the string is crap:
    http://dtcmbbwp01.ctc.ch.rcc:1080/sap/bw/=ce_protcl)%3a
    Any further ideas?
    Thanks and best regards,
    Andreas

  • Store Business Document via SAP GUI for HTML

    We are trying to use SAP GUI for HTML via UWL in Portal to deliver Workflow. When we try to attach files for the "Store Business Document" step, it gives an informational message "Store business document Access via 'NULL' object reference not possible"  but the documents themselves never get attached. We are on ECC 6.0 and Portal 7.0. Any help is greatly appreciated.
    Thanks!
    - Rao

    I've found a working solution a minute ago: See SAP Note: 510007
    Best regards
    Danny

  • Access directory in remote server via SAP GUI

    Dear experts:
    My servers are with windows server 2003 OS, I want to access directories in a remote server via SAP GUI(in tcode AL11).
    I have shared the directory in the remote server, and grant full control authrization to everyone. Then I map a driver to the shared diretory on SAP server,and I can open the diretory successfully. But when I add this diretory to SAP-directories(through tcode AL11), I can't open it in SAP GUI, when I doudle click on this directory, the error message occurs on the status bar:"Wrong order of calls <- CALL opendir: Not a directory(,,..)"
    How can I fix this problem? Thanks!

    > I have shared the directory in the remote server, and grant full control authrization to everyone. Then I map a driver to the shared diretory on SAP server,and I can open the diretory successfully.
    Please note:
    Driver letters are user dependent. So if you map the drive as administrator or <sid>adm it's not available for user SAPService<SID> (the user running the SAP system).
    So the best thing to access directory is using UNC names like
    \\<servername>\<share>
    not drive letters.
    Markus

  • SAP GUI 7.20 PL7 - How to change the default Start Menu shortcuts location

    I would like to change the SAP GUI shortcuts .lnk file location in the start menu.
    Example. The shortcuts to be installed to Start Menu > Production > SAP Front End > SAP Logon

    Thanks for the help but I did not get the answer provided.
    I am trying to create a package with SAP Installation Server Admin tool and need to change the shortcut locations when the package is installed.
    By default nwsapsetup.exe /package="xyz"
    installs all shortcuts to start menu > programs > sap front end
    in Windows XP.
    I want this to be in Start Menu > Production > SAP Front End
    I need to deloy the package to Windows XP.
    COuld you pls help?

  • SAP GUI 7.20 PL5 - Does NOT start

    Hi there,
    I just installed PL5 for SAP GUI for Windows 7.20. I hoped this would fix the problem with the centralized saplogontree.xml as said in several notes.
    But after I installed the patch, the GUI doesnt start anymore. The screen with the version number and the two people appears and after a few seconds disappears. The GUI doesnt start and I cant connect to our systems. There is no process running the GUI. I tried to reboot too, no success.
    Any ideas? Possibly a bug?!
    Anyone else having problems with the patch?

    After I corrected the adress for the saplogon.ini in the saplogontree.xml file on the webserver the GUI starts up normally. My fault was that I typed in the absolute path "http:://domain.tld/saplogon.ini" instead of just "domain.tld/saplogon.ini". The XML-file then linked to http://http://domain.tld/saplogon.ini
    After I corrected the entry, the GUI starts normal.
    Regards,
    Jann

  • Starting external programms via SAP XI

    Hello everybody,
    is it possible to start external programms via SAP XI?
    I have following scenario:
    A user in a webapplication should approve a process. Then a file which is on a fileserver should be encrypted und should be sent via ISDN (external programms are responsible for this doing).
    Can SAP XI handle this requirement? Does it make sense? Or should the webapplication starts this programms without SAP XI?
    Best regards,
    Jürgen

    Hi,
                   webservice                         File Adapter
    Website-->>>>>>>>>>>>>>>>  XI  >>>>>>>>>>>>>FILE
                    Soap Adapter
    Regards
    Hemant
    Reward points if find helpful

Maybe you are looking for