How to eliminate Command Box in SAPGUI for Java in Portal?

Greetings.
We are planning to use SAPGUI for Java in Portal.
How do we make sure the user does not go to a different transaction other than the one defined in the iView.
Thank you.
PK

I am sending you a link for forum thread.Hope you find your query answered.
Re: Hide the command box in sap gui
Have a best day.

Similar Messages

  • Solaris SAPGUI for Java 7.10 rev 8 try  error JniAgiLibAdaptor. init

    i have a problem java sapgui.
    Launch the Sapgui and then try to connect to any one of the three choices and it should produce the following error.
    i am running this on a Solaris 10 32bit. This sam java SAPGUI runs fine when i boot into the windows xp pro. Hope this helps.
    gui version;
    SAPGUI for Java 7.10 rev 8 (java),
    no library (lib)
    (Version ID 071000040800)
    Mon Mar 30 10:34:24 MEST 2009
    uw1059, 710_REL, 1054563
    Java VM: Sun Microsystems Inc. Version 1.6.0_14
    OS: SunOS(x86) Version 5.10
    The version of Java being used is:
    java -version
    java version "1.5.0_16"
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
    Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
    Thank You,
    Ferhan
    JniAgiLibAdaptor.<init>: Cannot load JNI library
    details;
    java.lang.Exception: JniAgiLibAdaptor.<init>: Cannot load JNI library
    at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:29)
    at: com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:283)
    at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:297)
    at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:798)
    at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)
    at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)
    at: javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at: javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at: java.awt.Component.processMouseEvent(Unknown Source)
    at: javax.swing.JComponent.processMouseEvent(Unknown Source)
    at: java.awt.Component.processEvent(Unknown Source)
    at: java.awt.Container.processEvent(Unknown Source)
    at: java.awt.Component.dispatchEventImpl(Unknown Source)
    at: java.awt.Container.dispatchEventImpl(Unknown Source)
    at: java.awt.Component.dispatchEvent(Unknown Source)
    at: java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at: java.awt.LightweightDispatcher.proc
    Attempt to load shared library
    /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so failed.
    The library file exists, so either the program has
    insufficient privileges to access the library or the library
    is not loadable by the shared object loader.
    Please recheck the system requirements for your operating
    system and make sure all required libraries are installed.
    details;
    ava.lang.UnsatisfiedLinkError: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: ld.so.1: java: fatal: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: wrong ELF data format: ELFDATA2MSB (Possible cause: endianness mismatch)
    at: java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at: java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at: java.lang.ClassLoader.loadLibrary(Unknown Source)
    at: java.lang.Runtime.load0(Unknown Source)
    at: java.lang.System.load(Unknown Source)
    at: com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:56)
    at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:27)
    at: com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:283)
    at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:297)
    at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:798)
    at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)
    at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)
    at: javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at: javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at: javax.swing.plaf.basic.BasicB

    > i am running this on a Solaris 10 32bit. This sam java SAPGUI runs fine when i boot into the windows xp pro. Hope this helps.
    >
    > gui version;
    > SAPGUI for Java 7.10 rev 8 (java),
    > no library (lib)
    > (Version ID 071000040800)
    > Mon Mar 30 10:34:24 MEST 2009
    > uw1059, 710_REL, 1054563
    > Java VM: Sun Microsystems Inc. Version 1.6.0_14
    > OS: SunOS(x86) Version 5.10
    The Java gui runs
    - on 64bit only
    - on SPARC hardware only (not on x86)
    If you execute the command
    file /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so
    you'll see that the library is just for SPARC.
    Markus

  • SAPGUI for Java Support on Mac 10.4

    Hi,
    I am using Mac OS 10.4 Tiger version with SAP GUI 6.4 rev6.
    when I use SAPGUI 6.4 for eCATT Scripts, I  am not able to append or insert new rows in the Parameter list.
    Although, all the commands/pushbuttons are working as they should. On pressing the Append button, a line is inserted in the parameter list, I can add new parameter also. But the problem comes while saving the changes. The system message shows that test script saved successfully, but the changes are not reflected in the parameter list.
    The details about the hardware/ software am using are:
    Hardware:
    Machine Name:     iMac
    Machine Model:     PowerMac6,1
    CPU Type:     PowerPC G4  (3.3)
    Software:
    System Version:     Mac OS X 10.4 (8A428)
    Kernel Version:     Darwin 8.0.0
    SAPGUI for JAVA:
    SAPGUI for Java 6.40 rev 6
    (Version ID 064000040600)
    Build: Wed Dec 21 13:01:37 MET 2005 on uw1059
    Java VM: Apple Computer, Inc. Version 1.4.2-54
    OS: Mac OS X(ppc) Version 10.4
    I would like to know if anyone else has faced the same problem with this configuration?
    Do I need to change my configuration?
    I am currently using SAPGUI for Java 6.3 rev8 for my eCATT scripting without the above problem.
    One more problem is that am no more able to do recording through SAPGUI command in eCATT. OSS note 454939 says that SAPGUI for Java does not support eCATT. Use SAPGUI for windows for SAPGUI recordings.
    Does that mean SAPGUI recording in eCATT will not be supported for SAPGUI for Java any further?

    Hi,
    I am also need this Software.
    My PC Macbook 20010.
    Thak`s
    Rodolfo.

  • SAPGUI for JAVA on HPIA64 error

    Dear all,
    We have installed SAPGUI for JAVA 7.00 in our HPIA64 server (hpux 11.23), using java1.4 version.
    While starting the sapgui with the following command I get the below error:
    cpchpsap:dv2adm 36> sapgui /H/binmain.cpchpsap.clorox.com/S/3253
    ERROR #############################
    23.12. 17:17:22.937 ERROR: Attempt to load shared library /home/dv2adm/SAPClients/SAPGUI7.00rev2/bin/libJPlatin.sl failed.
    23.12. 17:17:22.937 ERROR: The library file exists, so either the program
    23.12. 17:17:22.937 ERROR: don't has the privileges to access the library
    23.12. 17:17:22.937 ERROR: or the library is not loadable by the shared object loader
    23.12. 17:17:22.937 ERROR: Technical information:
    23.12. 17:17:22.937 ERROR: Error location: GuiJniLoader.loadPlatinLibrary()
    23.12. 17:17:22.937 ERROR: Error message : /home/dv2adm/SAPClients/SAPGUI7.00rev2/bin/libJPlatin.sl: '/home/dv2adm/SAPClients/SAPGUI7.00rev2/bin/libJPlatin.sl' is not a valid load module: Bad magic number
    ERROR #############################
    java.lang.UnsatisfiedLinkError: /home/dv2adm/SAPClients/SAPGUI7.00rev2/bin/libJPlatin.sl: '/home/dv2adm/SAPClients/SAPGUI7.00rev2/bin/libJPlatin.sl' is not a valid load module: Bad magic number
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1611)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
            at java.lang.Runtime.load0(Runtime.java:741)
            at java.lang.System.load(System.java:811)
            at com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:114)
            at com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:24)
            at com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:289)
            at com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:316)
            at com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:860)
            at com.sap.platin.base.logon.GuiImpl.evalCommandLine(GuiImpl.java:275)
            at com.sap.platin.base.logon.GuiImpl.<init>(GuiImpl.java:44)
            at com.sap.platin.base.logon.GuiImpl.main(GuiImpl.java:447)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.sap.platin.micro.Microkernel.invokeMainMethod(Microkernel.java:1670)
            at com.sap.platin.micro.Microkernel.startApplication(Microkernel.java:1750)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.sap.platin.Gui.main(Gui.java:65)
    Please note our server is IA64 is a 64 bit server.
    Can anyone help me to sort out this issue.
    I have read this note 335515, but not able to understand fully
    Thanks
    Senthil

    SAPGUI for Java is not available for IA64/Itanium-2 - just for PA-RISC.
    Markus

  • SAPGUI for Windows via Portal - problem with frame

    We are launching SAPGUI for Windows via Portal to drive single sign-on via AD.  Our problem is that when SAPGUI launches, it is contained within an IE browser frame that causes some of the SAPGUI screens to not fit on the screen well.  Those same screens fit just fine if we launch SAPGUI directly.
    Is there any way to launch SAPGUI from Portal, with SSO enabled, but without the IE frame around it?

    Lonny,
    The best way to authenticate users when they logon using SAP GUI for Windows, is to use SNC authentication in SAP GUi. Then, the browser iview will launch the GUI and the GUI will authenticate the user using their AD credentials issued during the Windows logon. You will need to setup an SNC library on both the ABAP system which the user is logged onto, and the workstation where SAP GUI is installed.
    If you don't use SNC, and you just launch SAP GUI for Windows from browser, then an SSO2 ticket is used to authenticate the user to the ABAP stack, and this is not secure due to the fact that the SAP GUI session which is used to pass the SSO2 ticket is not protected - anybody can intercept the SAP GUI session, take the SSO2 ticket from this traffic and logon as that user - clearly this is bad security and needs SNC to make it secure.
    Thanks,
    Tim

  • How can I read cookies in WebDynPro for Java

    Hi,
    in WebDynPro for Java I found a possibility to to get a "request-object" like the standard "HttpServletRequest-object"
    IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request = protocolAdapter.getRequestObject();
    debugEnabled = (request.getParameter("Debug") != null);
    With this request-object I can read request-prameters but I couldn't find a possibility to get cookies from the request.
    There is no method like the "getCookies().method" in the HTTPServletRequest-Interface:-((
    Has anybody an idea, how I can read cookies in WebDynPro for Java ?
    Regards
    Steffen

    Hi,
      This is the latest update I could look for regarding cookies and webdynpro.
    Panic - WebContextAdapter is depracted - no more cookies now?
    Regards,
    Harini S

  • Copy values in ALV reports (cmd+Y/ctrl+Y) in SAPGUI for Java 7.00 rev.4?

    Hi all,
    I'm using SAPGUI for Java 7.00 rev.4 in Mac OSX.
    I use intensively ALV GRID reports. I do frequently need to copy multiple cells values from one column.
    In Windows GUI I do ctrl+Y, than select the area containing the cells and the values are copied in the clipboard.
    In Java GUI (OSX) but I cannot do cmd+Y on more cells of the same column!!!!!
    Any suggestion? Am I doing something wrong? Is it a known issue?
    Many thanks,
    Lorenzo

    Hello Lorenzo,
    you might have seen the release notes of SAP GUI for Java 7.10 rev 5 regarding the grid control.
    It has seen major changes (and improvements) in its core which have been a lot of work.
    The developer is now getting closer to the point where it is reasonable to implement add-on functionality like copying the content of multiple cells.
    It is planned for SAP GUI for Java 7.20, but it is not clear yet if it will be available also as part of a 7.10 revision.
    Best regards
    Rolf-Martin

  • Unable to launch sapgui for Java 7.00

    Hi,
    I encountered the following error when launching sapgui for java:
    [root@family home]# /opt/SAPClients/SAPGUI7.00/bin/guistart /H/n4shost/S/3201&expert=true
    [1] 6939
    [root@family home]# ############################# ERROR #############################
    24.11. 19:00:12.698 ERROR: Attempt to load shared library /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so failed.
    The library file exists, so either the program
    don't has the privileges to access the library
    or the library is not loadable by the shared object loader
    Technical information:
    Error location: GuiJniLoader.loadPlatinLibrary()
    Error message : /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so (/opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so: wrong ELF class: ELFCLASS32)
    ERROR #############################
    java.lang.UnsatisfiedLinkError: /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so (/opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so: wrong ELF class: ELFCLASS32)
    Can someone help please?
    Regards,
    Lim

    > Error message : /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so (/opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so: wrong ELF class: ELFCLASS32)
    You need to run a 32bit JDK for a 32bit Java gui.
    Markus

  • SAPGUI for JAVA error message "wrong logon langage!

    Hello,
    We are testing SAPGUI 7.10 on Linux
    but we have some problem when we want to connect to operation server and it works with other servers like development server.
    The error message is
    "Wrong longon language!
    This language is not allowed for this PC!
    You will be logged off!"
    All servers are in same kernel package 4.6D
    Version SAPGUI for Java is 7.10 rev 1 & rev 3
    OS SUSE 2.6.16.46-0.14
    String connection: /H/servername/S/3200
    Please help me!

    I try with an other PC but i have the same problem.
    In SM21, I didn't see error log of my logon test.
    I have the same language installed in all servers, i saw in SMLT but i think there is a conflict between language in the PC and the server.
    That is strange, it's worked with all server wich are not in cluster.
    also , i tried to connect to servers wich are in cluster with this connection string : conn:/M/servername/S/3600/Gservergroup but i have the same problem.
    I tried to connect to AS directly but i have the problem again.
    I don't understand what its means SM21 t-code.
    Thanks a lot for your help

  • SAPGUI for Java error

    I installed "SAPGUI for Java" on Debian Etch. Installation went fine with no issues. When I add new connection and try to connect, I am getting below error message:
    Attempt to load shared library /opt/SAPClients/SAPGUI7.00rev4/bin/libJPlatin.so failed.
    The library file exists, so either the program don't has the previleges to access the library or the library is not loadable by the shared object loader
    Technical information:
    Error location: GuiJniLoader.loadPlatinLibrary()
    Error message: /opt/SAPClients/SAPGUI7.00rev4/bin/libJPlatin.so: Can't load IA 32-bit. so on a IA 32-bit platform
    When I click "OK" button, I am getting error
    JniAgilibAdaptor.<init>: Cannot load JNI library
    Any idea what might be the problem?

    Markus -
    Output of
    file /opt/SAPClients/SAPGUI7.00rev4/bin/libJPlatin.so
    /opt/SAPClients/SAPGUI7.00rev4/bin/libJPlatin.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
    My machine is a 32-bit one.
    Thanks,
    Phani

  • SAPGUI for Java 6.40 rev 2 available

    Hi all,
    SAPGUI for Java 6.40 rev 2 is now available at
    ftp://ftp.sap.com/pub/sapgui/java/640r2/
    This version includes the bugfix for the problem with Single Sign On, which was discussed in this forum before.
    Release notes can be found in the installers and the separate manual.
    Please refer to OSS note 689063 for supported platforms.
    (http://www.service.sap.com/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012003146900000299152003)
    Best regards
    Rolf-Martin Woersinger
    SAPGUI for Java project lead

    Hello,
    it might have been preferable to create a new thread for this.
    smartforms use ActiveXes, which are not there in SAP GUI for Java (see also transaction classification). The content of the message shown by the transaction is questionable however. What it wants to say is that this functionality is only available with SAP GUI for Windows.
    Best regards
    Rolf-Martin

  • Portal: custom i-view definition (transaction) how to hide command box

    Dear Sirs,
    we are trying to define a transaction i-view (displaying a SRM transaction)
    in portal but hiding the command box.
    The i-view has been defined under portal content \..\iview\GUI\
    We have tested some values in "Parameters Forwarded to Transaction" in I-VIEW definition,
    like...
    noheaderOkCode = 1
    WEBGUI_SIMPLE_TOOLBAR  = hide, no etc..
    listed in other threads
    but whitout any effect.
    Is this a possible feature and what are the correct values ?
    From SRM side we have tested the transaction in SE93 in both modes, EWT and normal.

    Sorry but we have any result with these values
    ~NOHEADEROKCODE = 1 or
    ~WEBGUI_SIMPLE_TOOLBAR = 0
    In the "Parameter forwarded to transaction" in the iview definition from portal.
    The command box appears in any case.
    Whe should remove also the "menu" button.

  • SAPGUI (for Java) using with wan=true

    Hi all,
      I use java version of SAPGUI for linux. I've found a way how to integrate logon items into my system menu including client and username settings on logon screen: run guistart with conection string, e.g.
    path/to/gui/guistart '/H/192.168.1.1/S/3200&clnt=111&user=pvavra&wan=true'
      I use this way from SAPGUI version 6.30. With newer versions of SAPGUI I've found that some systems accept parameters to wrong position (I have to fill username to parameter clnt: clnt=pvavra to fill username). Later I've noted that no logon parameters are accepted when I use connect string with parameter wan=true.  Version 7.10 brings new feature: It write error mesage "Can't fill in logon data when using a wan connection".  Knows anybody why this way is imposible now? Is it an official policy of SAP or a bug? I usually need to connect over thin internet line to SAP systems and pre-filled logon screen is really comfortable feature. Does anybody know a workaround for such situation?

    So I fixed the problem.  In the VPN (PPTP) configuration, I had to:
    - Set the encryption from "Automatic" to "Maximum"
    - Click "Advanced" and check the box for "Send all traffic over VPN connection".
    Both of these selections were required.  You'd think "Automatic" would have been "automatic" about selecting the encryption level, but apparently it wasn't.
    It's unfortunate I have to send all traffic through the VPN as this slows or even prevents other internet-using applications to operate properly while I'm connected to the VPN.
    I think there's a way to edit a routing file and set it up in such a way to only have SAP use the VPN while the other applications bypass it, but I don't know how to do it and I don't really have time to learn it myself.
    Anyway, hope this helps people out there.  Thanks guys for weighing in with advice.
    Chris

  • How to print line numbers in NWDS for Java?

    Hi everyone,
    does someone know how to print out program code with line numbers from the Netweaver Developer Studio for Java? This is inevitable for code reviews.
    In Eclipse 3.4 this issue is solved. Is there possibly such a patch for NWDS as well?
    Thanks,
    Maria

    Hi Pascal,
    thanks for the quick reply. The setting you mention displays line numbers on the screen alright, but printing out does not work.
    We use: SAP NetWeaver Developer Studio for SAP NetWeaver 7.1 SP06 PAT0000, Build id: 200807051938.
    I guess it just does not work, because it was fixed only for Eclipse 3.4, and the above NWDS version bases on Eclipse 3.3.
    What do you recommend for code inspections - copy/paste into PSPad or do you know a more comfortable practice?
    Greetings
    Maria

  • How do I remove blocked plug in for Java?

    How do I remove the blocked plug-in for Java. I have tried to download a new version of Java but I am not a "computer person" and do not understand the proceedures.

    Oracle have released an update said to fix the security flaw, available from here:
    http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.h tml
    Javascript should not be disabled (it has nothing to do with Java).

Maybe you are looking for