WD Java iView button disappears

Hello All,
We have a Webdynpro Standard iView for ESS/ MSS , we are facing the followig scenario as follows
the iView is getting display in the iView content area in the portal .  We have a system tray being enabled , now when we minimise and them maximise the system tray , the button disappears from the screen (when the application is first loaded on the iView the button is displayed ). this prolem is not faced when we refresh the iView by clicking the system tray --> refresh , but only happens on the minimise and maximise action.
Tried to see, if this behaviour can be changed with changing the WD UI settings on the portal side(ctrl + secondary mouse  click). but was unable to do so .
Could this be handle without touching the WD code ?
Ronniee

hi
How are you using this iVew ? Have you added this iView to a page or workset ? or are you using this iView by itself ? Which object property have you changed? is it the iView or the page ?
Lemme know the details
and will take it up from there
Sheril

Similar Messages

  • Connectivity between "SAP Connector and Java Iview".

    hi Experts,
    I have written a Java iview, and trying to connect r/3 by the java Iview, i am not able to track where i am goin wrong ?? Please help.
    Is there anyway to check whether the connectivity is been established or not.I am really confused.
    Code is :-
    package com.rr.ess.DynPage;
    import com.sapportals.connector.connection.IConnection;
    import com.sapportals.connector.execution.functions.IInteraction;
    import com.sapportals.connector.execution.functions.IInteractionSpec;
    import com.sapportals.connector.metadata.functions.IFunction;
    import com.sapportals.connector.metadata.functions.IFunctionsMetaData;
    import com.sapportals.htmlb.Button;
    import com.sapportals.htmlb.Form;
    import com.sapportals.htmlb.GridLayout;
    import com.sapportals.htmlb.Image;
    import com.sapportals.htmlb.InputField;
    import com.sapportals.htmlb.TextView;
    import com.sapportals.htmlb.Tray;
    import com.sapportals.htmlb.enum.InputFieldDesign;
    import com.sapportals.htmlb.enum.TrayDesign;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.ivs.cg.ConnectionProperties;
    import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
    import com.sapportals.portal.ivs.cg.IConnectorService;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.resource.IResource;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    import com.sun.corba.se.spi.legacy.connection.Connection;
    import javax.resource.cci.MappedRecord;
    import javax.resource.cci.RecordFactory;
    public class TestDynPage extends PageProcessorComponent {
      public DynPage getPage() {
         return new TestDynPageDynPage();
      public static class TestDynPageDynPage extends DynPage {
          Tray mytray;             
          Image Logo;
          InputField myinputfield;
          Button mybutton;
          Button defaultbutton;
          TextView text;
          GridLayout mygrid;
          String message;
          String Str = new String();
          * Initialization code executed once per user.
         public void doInitialization() {
              IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
              IPortalComponentProfile profile = request.getComponentContext().getProfile();
              this.message = profile.getProperty("mymessage");
              if(this.message=="")
                   this.message = profile.getProperty("defaultmessage");         
          * Input handling code. In general called the first time with the second page request from the user.
         public void doProcessAfterInput() throws PageException {
         IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
         IPortalComponentProfile profile = request.getComponentContext().getProfile();     
         InputField myinput = (InputField)getComponentByName("input");
         if(myinput != null)
              message = myinput .getValueAsDataType().toString();
         try{
              getConnection(request,"P35");
         catch(Exception e)
         public IConnection getConnection(IPortalComponentRequest request,String alias)
                        throws Exception {
                   IConnectorGatewayService cgService =
                   (IConnectorGatewayService) PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
                   ConnectionProperties prop =     new ConnectionProperties(request.getLocale(),request.getUser());
                   IConnection connection = cgService.getConnection("P35",request);      
                   getSAPdata(connection);                              
                        return cgService.getConnection("P35", prop);                    
         public void getSAPdata(IConnection client) throws Exception {
                        /* Start Interaction * */
              try{          
                   IInteraction ix = client.createInteractionEx();
                                  IInteractionSpec ixspec = ix.getInteractionSpec();               
                                  ixspec.setPropertyValue("Name", "HRMSS_RFC_EP_READ_PHOTO_URI");
    //                              Create IFunction instance
                                  IFunctionsMetaData functionsMetaData = client.getFunctionsMetaData();
                                  IFunction function = functionsMetaData.getFunction("HRMSS_RFC_EP_READ_PHOTO_URI");
    //                              CCI api only has one datatype: Record     
                                  RecordFactory recordFactory = ix.getRecordFactory();
                                  MappedRecord importParams      = recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS");
    //                              Set scalar values
                                  importParams.put("PERNR", "1012");
    //                              Get scalar values               
                                  System.out.println("Invoking... " + function.getName());
                                  MappedRecord exportParams = (MappedRecord) ix.execute(ixspec, importParams);
                                  String scalar = (String)exportParams.get("URI");
                                  Str = scalar;     
                finally {
                   if (client != null) {
                        try {
                        client.close();
                        //("* Iview: Closing connection ok.");
                        client = null;
                              } catch (Exception e) {
                          //     logMsg("* Iview: Error closing connection.");
          * Create output. Called once per request.
         public void onPersonalise(Event event) throws PageException
         IPortalComponentRequest request = (IPortalComponentRequest)this.getRequest();
         IPortalComponentProfile profile = request.getComponentContext().getProfile();
         profile.setProperty("mymessage",this.message);
         profile.store();
         public void onDefault(Event event) throws PageException
              IPortalComponentRequest request = (IPortalComponentRequest)this.getRequest();
              IPortalComponentProfile profile = request.getComponentContext().getProfile();
              this.message = profile.getProperty("defaultmessage");
              profile.setProperty("mymessage","");
              profile.store();
         public void doProcessBeforeOutput() throws PageException {    
           // create your GUI here....
           IPortalComponentRequest  req= (IPortalComponentRequest)getRequest();
           //IResource rs = req.getResource(IResource.IMAGE,"images/CAR1.jpg");
           IResource rs = req.getResource(IResource.IMAGE,Str);
           Logo = new Image(rs.getResourceInformation().getURL(req),"Logo");
           Form myForm = this.getForm(); // get the form from DynPage      
           myinputfield = new InputField("Input");
           myinputfield.setDesign(InputFieldDesign.STANDARD);
           mybutton = new Button("mybutton");
           mybutton.setText("Personlise");
           mybutton.setOnClick("Personalise");
           defaultbutton = new Button("Default");
           defaultbutton.setText("Default");
           defaultbutton.setOnClick("Default");
           text = new TextView("fgfdg"+Str);
           mytray = new Tray();
           mytray.setDesign(TrayDesign.BORDER);
           //mytray.addComponent(Logo);
           form.addComponent(Logo);
           mygrid = new GridLayout(3,2);
           mygrid.setCellPadding(2);
           mygrid.addComponent(1,1,myinputfield);
           mygrid.addComponent(2,1,mybutton);
           mygrid.addComponent(3,1,defaultbutton);
           mygrid.addComponent(3,2,text);
           mytray.addComponent(mygrid);
           myForm.addComponent(mytray); 
    Points would be awarded to helpful answers.
    Regards,
    Sanjyoti.

    hi Prashant,
    Thanks for your reply.
    I am able to see the Iview with all the components(textfield,buttons).
    But the image is not displayed. and I am not able to check whether the connectivity is been established.
    in this part of code
    text = new TextView("fgfdg"+Str);
    I am assigning the value of "Str", which i get from R/3 to "text",
    but in the iview the value of "Str" is not displayed.
    Regards,
    Sanjyoti

  • Urgent: Customize BP for Products Java iView

    Hi,
    We have implemented Business Package for Products 50.3.1 in EP 6.0.
    I want to ewmove some buttons like create document and change materials in the Java iView provided in the Business Package.
    I have no idea how this customization could be done?
    Is there any configuration setting in the R/3 needs to be done?
    Please share the documents if there is any for the customization.
    Thanks and Best Regards,
    Prashil

    Hi Marko,
    I don't know the BP, but this exception clearly states that within the method <i>getPage</i> within the class <i>ListPortalComponent</i> a <i>CRMContextException</i> is referenced (probably should be thrown), which in fact does not exist within the classpath.
    <i>If</i> I would have the BP at hand (and you have, that's your advantage), just check if the class exists. If not, you could try a workaround and check the cause for the exception, if you achieve that it should not be thrown, the JVM won't complain...
    Is the BP delivered within one or within several PAR's? If it takes several PAR's, maybe <i>CRMContextException</i> is in one, <i>ListPortalComponent</i> in another PAR and no SharingReference could be set (but I wouldn't call this very probable for the common package <i>com/sap/pct/crm/generics</i>; nevertheless, it's an idea).
    Just try to analyze around this...
    Hope it helps
    Detlev
    PS: You didn't mark your question as question?!

  • API - method for Webdynpro Java iview functionality of Print

    I know.. you would love to post me with n different blogs and forums discussion about how to print from webdynpro java application.
    But lets read before what i am looking for..
    There is standard "Print" function available on webdynpro for java iview.. and layout and all its just fine for us. though we want to trigger this event from a screen button. as going to iview properties is very user friendly.
    I was looking for some iview api which can help me.. We are on NW 7.01 SP6 at the moment. And this is for standard ESS applications.
    Thanks a lot for your inputs.
    Regards,
    Sudhir

    Hi
    You can write Java program for printing. Call the java class from screen (button or Url). Also you can write the content to XMl file.open the xml file in action. so that u will get print preview and print option.

  • Accessing Webdynpro Java iview functionality for print from webdynpro code

    I know.. you would love to post me with n different blogs and forums discussion about how to print from webdynpro java application.
    But lets read before what i am looking for..
    There is standard "Print" function available on webdynpro for java iview.. and layout and all its just fine for us. though we want to trigger this event from a screen button. as going to iview properties is very user friendly.
    I was looking for some iview api which can help me.. We are on NW 7.01 SP6 at the moment. And this is for standard ESS applications.
    Thanks a lot for your inputs.
    Regards,
    Sudhir

    Hi
    You can write Java program for printing. Call the java class from screen (button or Url). Also you can write the content to XMl file.open the xml file in action. so that u will get print preview and print option.

  • ISR Form Java Iview problem.

    Hello,
    We are having an ESS Iview named "Hire External Applicant" in Portal.
    This iview has been customised.
    I found that to construct this iview "5.     Request Form as Java iView in Enterprise Portal 5.0" section from ISR Cookbook is been used.
    i.e. Created a request form using java iview.
    This iview is being used in two places :
    1. Create
    2. Update.
    Now Create is working fine.
    But when this iview is accessed from Update section...i.e. user press update button:
    the customized section in java iview is not getting updated.
    Where this problem could be.

    There is a new form section in existing standard form.
    This section contains 4 new customized checkboxes.
    When create button is pressed the values from these checkboxes is properly getting updated in R/3.
    But when Update is pressed, these values are passing blank "As if nothing is selected" to R/3 module.
    But at the time of Update button, all existing standard fields in form are getting updated.
    I think that in case of update, these check boxes are not mapped properly to R/3 System.
    I opened the par file in NWDS, and found that there is no code for mapping of values, and moreover same iview is working fine while create button is pressed.
    Please guide me as of where could be problem.
    Edited by: Saurabh Agarwal on Sep 17, 2010 4:57 PM

  • Portal Java Iview Runtime - Urgentt

    dear All Portalers,
    we got high issues when SAP ESS/MSS Implementatin for our customer, we got issue about HTTP Session maximum and cause error message "Java Iview Runtime .."
    first, this is our landscape
    1. We Have SAP EP 7 installed with UME integrated with LDAP (Ms. Exchange 2003)
    2. We use SAP ECC 6 SR3 as our Backend System
    3. We use ALL SSL Commnunication between Portal and Backend
    4. We use SPNEGO for User Authentication Mechanism, so User Join Domain, directly open portal when run Internet Explorer between input User and password
    5. Each Uses LDAP mapped use User Mapping
    But, after we launch to customer, we got big problem about Session
    Here, reproduce the error
    1. User Join to Network Domain ( e.g. CORP.CO.ID)
    2. After User/laptop join Network Domain and open browser https://portal.CORP.co.id/
    3. Directly, User logon automatically at Home of SAP ESS/MSS
    4. User finish transaction at SAP Portal and want to Out from Portal by Log off, but after Log off automatically back to entry ( is is Normal ??? )
    5. User very annoying, so user close browser
    6. After 10 seconds, user Open Browser again, open browser https://portal.CORP.co.id/ but user got this message
        "Java Iview Runtime...bla bla bla"
    can any help us , i already set OSS Message Very High ... but didn't solve this problem
    thanks
    regards
    ghochi

    Hi Ghochi,
    First if you want user not to directly log in to Portal then disable the automatic logon setting frominternet explorer.
    Tools > Internet Options > Advance > Enable internet Authentication (uncheck checkbox) restart browser. Next time user will not directly login to Portal. But user needs to enter user ID/PWD every time.
    Coming to your problem for http sessions,
    1. On click of log off button, sessions are not getting released. Please check what is the value once user clicks on log off button. This you can check in Visual admin.
    2. Also, go to SM04 in ECC and check how many http sessions you are having.
    Thanks.
    Sushil

  • Java iView runtime error

    We are having an intermittent problem when we go to hit the logout button the portal.   It will sometimes come back with the following web pag dialog box:
    Java iView Runtime
    Version:  7.00.200705080819
    +copyright 2002 SAP AG.  All rights reserved.
    AGain, it doesnt' happen all the time when we go to log off, just sometimes.  Any ideas what might be causing this to happen.   We are using EP 7.0 and just got upgrade to SPS12 Patch #3.

    Hi Kathy,
    We are also facing the same problem on EP 7.0 SP13.
    Can you kindly let us know what is the note number or patch that you had applied?
    Thanks and regards
    Aarthi

  • Back and Forward button disappear in SAP CRM IC

    Hi Experts,
    I am facing a strange issue which i suspect has some dependency on the IE or Java .
    Please help me out if anybody has any clue on the same as to why is this occuring or what can be done to resolve it or even if there would be any logs registered from which I can find out what is the root cause.
    Issue :
    Sme agents when using the Interaction Center , finds their back and forward button disappears all of a sudden. There is no definite pattern happening, it could be like when they try to send outbound emails from a Service Request , all of a sudden the back and forward button goes away from the Email page.
    Most of the times, it happens when they are trying to send outbound emails. But some instances have been reported even when they are in some other screen in IC and all of a sudden their back and forward button disappears. So they have no option to go back or forward using these buttons and only work around would be to try to End the transaction using the 'End' button and start over all again.
    Appreciate any help if anyone has faced similar issue.
    Thanks
    Swapna.

    Hi,
    the implementation of the SN 1957612  has resolved the issue
    BR
    Damian

  • Problem with java swing button and loop

    Problem with java swing button and loop
    I�m using VAJ 4.0. and I�m doing normal GUI application. I have next problem.
    I have in the same class two jswing buttons named start (ivjGStart) and stop (ivjGStop) and private static int field named Status where initial value is 0. This buttons should work something like this:
    When I click on start button it must do next:
    Start button must set disenabled and Stop button must set enabled and selected. Field status is set to 1, because this is a condition in next procedure in some loop. And then procedure named IzvajajNeprekinjeno() is invoked.
    And when I click on stop button it must do next:
    Start button must set enabled and selected and Stop button must set disenabled.
    Field status is set to 0.
    This works everything fine without loop �do .. while� inside the procedure IzvajajNeprekinjeno(). But when used this loop the start button all the time stay (like) pressed. And this means that a can�t stop my loop.
    There is java code, so you can get better picture:
    /** start button */
    public void gStart_ActionEvents() {
    try {
    ivjGStart.setEnabled(false);
    ivjGStop.setEnabled(true);
    ivjGStop.setSelected(true);
    getJTextPane1().setText("Program is running ...");
    Status = 1;
    } catch (Exception e) {}
    /** stop button */
    public void gStop_ActionEvents() {
    try {
    ivjGStart.setEnabled(true);
    ivjGStart.setSelected(true);
    ivjGStop.setEnabled(false);
    getJTextPane1().setText("Program is NOT running ...");
    Status = 0;
    } catch (Exception e) {
    /** procedure IzvajajNeprekinjeno() */
    public void IzvajajNeprekinjeno() {  //RunLoop
    try {
    int zamik = 2000; //delay
    do {
    Thread.sleep(zamik);
    PreberiDat(); //procedure
    } while (Status == 1);
    } catch (Exception e) {
    So, I'm asking what I have to do, that start button will not all the time stay pressed? Or some other aspect of solving this problem.
    Any help will be appreciated.
    Best regards,
    Tomi

    This is a multi thread problem. When you start the gui, it is running in one thread. Lets call that GUI_Thread so we know what we are talking about.
    Since java is task-based this will happen if you do like this:
    1. Button "Start" is pressed. Thread running: GUI_Thread
    2. Event gStart_ActionEvents() called. Thread running: GUI_Thread
    3. Method IzvajajNeprekinjeno() called. Thread running: GUI_Thread
    4. Sleep in method IzvajajNeprekinjeno() on thread GUI_Thread
    5. Call PreberiDat(). Thread running: GUI_Thread
    6. Check status. If == 1, go tho 4. Thread running: GUI_Thread.
    Since the method IzvajajNeprekinjeno() (what does that mean?) and the GUI is running in the same thread and the event that the Start button has thrown isn't done yet, the program will go on in the IzvajajNeprekinjeno() method forever and never let you press the Stop-button.
    What you have to do is do put either the GUI in a thread of its own or start a new thread that will do the task of the IzvajajNeprekinjeno() method.
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    This tutorial explains how to build a multi threaded gui.
    /Lime

  • How do I turn off the automatic full screen feature that makes the top bar (with the minimize buttons) disappear?

    I just downloaded Firefox 4 on a Dell laptop with WinXP. When I'm in a browser window the window resizes automatically and the bar at the top (with the minimize, full and close buttons) disappears. When I drag the cursor up to the top the window resizes again and that top bar appears. Makes me crazy. How do I turn it off?

    I'm not aware of the behavior you're describing. I've never seen it, and just tested it for myself. I cannot get windows to zoom to full screen just from moving them to or along the top of the screen. Is this only happening in Photoshop? If so, it may be a Photoshop issue. If not, have you installed any kind of third-party software that might be doing that? Try rebooting in safe mode and see if the problem persists then. If it doesn't, but comes back when you reboot normally, the problem is caused by some third-party software you have installed.

  • On my PC, in I-Tunes, my iPod (touch) button disappears every time I try to sync or update.  Everything has been rebooted, but no changes. Any ideas on how to sync to the IPod?

    On my PC, in I-Tunes, the iPod (touch) button disappears every time I try to sync or update.  Everything has been rebooted, but no changes. Any ideas on how to sync to the IPod?  Better yet, how to keep the ipod button on screen when itunes is open and the ipod is connected?

    - Have you tried another USB port and cable?
    - Inspect the dock connector for bend or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.

  • The share button disappeared from my Facebook add-on just before I upgraded to Firefox 5.0. I thought by upgrading and reinstalling the add-on it might come back, but it didn't. All other FB buttons are there, near as I can tell. Any ideas? I'm using XP3.

    The share button disappeared from my Facebook add-on just before I upgraded to Firefox 5.0. I thought that maybe by upgrading and reinstalling the add-on it might come back, but it didn't. All the other FB buttons are there, near as I can tell. Any ideas? I'm still using XP3.

    Hello,
    I had the same problem with finding this file.
    There's no such file in Mac OS X version of Skype. But there's a directory for your Skype user account in /Users/%current_user_name%/Library/Application Support/Skype/
    try:
    quitting Skype
    renaming old folder
    signing into the Skype

  • Java-iViews-Errors in BP for CRM

    After importing BP 6.0 for CRM 4.0, the Java iViews (e.g. Today's Activities or My Tasks) don't work. Instead we get an error like this:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sap/pct/crm/generics/context/CRMContextException.
    Exception id: 08:52_11/10/04_0004
    See the details for the exception ID in the log file
    The WAS and ITS iViews of the BP are running fine and the import log of the BP says the iViews are correctly installed.
    Is there something wrong with the JCO?

    Hi Marko,
    I don't know the BP, but this exception clearly states that within the method <i>getPage</i> within the class <i>ListPortalComponent</i> a <i>CRMContextException</i> is referenced (probably should be thrown), which in fact does not exist within the classpath.
    <i>If</i> I would have the BP at hand (and you have, that's your advantage), just check if the class exists. If not, you could try a workaround and check the cause for the exception, if you achieve that it should not be thrown, the JVM won't complain...
    Is the BP delivered within one or within several PAR's? If it takes several PAR's, maybe <i>CRMContextException</i> is in one, <i>ListPortalComponent</i> in another PAR and no SharingReference could be set (but I wouldn't call this very probable for the common package <i>com/sap/pct/crm/generics</i>; nevertheless, it's an idea).
    Just try to analyze around this...
    Hope it helps
    Detlev
    PS: You didn't mark your question as question?!

  • Java iview Runtime error in Portal Logon

    hi
    I login portal with
    http://<ipaddress>:50000/irj/portal
    Java iView Runtime
    An exception occured while processing your request.
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in connection
    If this situation persists, please contact your system administrator.
    Can any one help me,,,how to sort this error.
    Regards
    sushma

    Hi Sushma,
    It seems that there are problems with permissions in Security Zones.
    Check this links below to know more:
    http://help.sap.com/saphelp_nw04/helpdata/en/25/85de55a94c4b5fa7a2d74e8ed201b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/acd8403e37762ae10000000a155106/content.htm
    Thanks
    Mihir

Maybe you are looking for

  • IPod connects to the computer, but not to iTunes

    When I connect my 30 gb iPod to the computer, the "do not disconnect" screen appears on the iPod, but it does not show up on a Source list on iTunes nor does it update. The iPod does appear in the Finder, so I know the connection is made. I have OSX

  • Open Item Clearing Process

    Can anyone give a quick overview of the open item clearing process?  Also, can anyone give me an idea of the differences between F-03, FBRA, and F.13 t-codes in regards to how they work in the system?  Any limitations around what can be cleared and w

  • How to Reuse Business Rules

    Hi, I've created a composite business rule and exposed as a composite, if i want to call reuse that business rule in multiple bpel processes, how can i do it? Any help would be appreciated, thank you :) Thx, Rahul venkat

  • Playlist folders are supported on the new Nano! (and Classic)

    Hi folks, You may have noticed that in iTunes 7.4, playlist folders now show up when selecting which playlists to sync to your iPod. Originally, people thought this was just cosmetic on the iTunes side. I am here to tell you now that it is not just c

  • On oracleXE 10g installation,  bdump, cdump, udump  are not created

    Hi all, I installed Oracle XE 10g on my system successfully, but in C:\oraclexe\app\oracle\admin folder, bdump, cdump, and udump files are not created. Any help, what may be the reason will be appreciated. Thanks in advance, Pal