BPS Web Application - How to change function button property dynamically

We have created BPS web application for sales force, it contains 2 button.
1. To send Workflow notification to Managers 'Request for Approval' - This would be used by sales person
2. Button for Manager to approve the Plan 'Manager Approval' - This would be used by the Manager
We are using Territory Management in CRM to determine who is the manager and sales person.
We would like to use the same Web application to be used by both sales person as well as the manager. However depending on the user ID, we need to access the Territory Management table in BW to determine whether the person logging in is Manager / Sales person. If it is a Sales Person, we need to display 'Request for Approval' button and hide 'Manager Approval'  button. Similarly, if it is Manager,   'Manager Approval'  button to be displayed and 'Request for Approval' button to be hidden.
Would appreciate, if any one has faced similar requirement and how to do this.
Thanks,
VJ Sudharsan

Thanks Ananad and Srini for the suggestion. Actually I was working on the direction Anand Suggestion and make it working but I am not sure what I did is correct or not.
I have a bogus variable that checks for Manager / Sales person and brings back following code in the variable, if it is manager:
'<style> #Req_Approval_s </style>'
and I added a new text component of type HTML and code
<%=descr(VarvlSel2/value)%>
it works. Is this the correct way of doing the enhancement. Or is there a different place where we can add JavaScript.
Srini - I am using exit function, can you explain how we can I use BPS authorization to achieve this.

Similar Messages

  • Changing radio button property dynamically

    Hi,
    I decalred two blocks in selection screen named B1 and B2, each have 2 radio buttions.
    B1 has radio button named B1R1 and B1R2.
    B2 has radio button named B2R1 and B2R2.
    If i select B1R1 then B2R1 should be selected and B2R2 should be disabled(user should not able to select).
    If i select B1R2 then B2R2 should be selected and B2R1 should be disabled(user should not able to select).
    Can anyone please tell me how to do this.
    Thanks,
    Amal

    Hi
    Try this
    SELECTION-SCREEN: BEGIN OF BLOCK b1.
      PARAMETERS: b1r1 RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND ucomm1,
                  b1r2 RADIOBUTTON GROUP g1.
    SELECTION-SCREEN: END OF BLOCK b1.
    SELECTION-SCREEN: BEGIN OF BLOCK b2.
      PARAMETERS: b2r1 RADIOBUTTON GROUP g2 USER-COMMAND UCOMM2 MODIF ID MD1,
                  b2r2 RADIOBUTTON GROUP g2 MODIF ID MD2.
    SELECTION-SCREEN: END OF BLOCK b2.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
      IF b1r1 = 'X'.
        if screen-group1 = 'MD2'.
          screen-input = 0.
        endif.
      ELSEIF b1r2 = 'X'.
        if screen-group1 = 'MD1'.
          screen-input = 0.
        endif.
      ENDIF.
      MODIFY SCREEN.
      ENDLOOP.
      AT SELECTION-SCREEN.
        IF b1r1 = 'X'.
        b2r1 = 'X'.
        b2r2 = ''.
      ELSEIF b1r2 = 'X'.
        b2r2 = 'X'.
        b2r1 = ''.
      ENDIF.

  • How to change the button's clicked color

    Dear all,
    How to change the button's clicked color
    I want it to be white in color as my button's background color is white
    Thanks

    How to change the button's clicked colorvia the UIManager

  • Debug BPS web application interface

    DEar All,
    Would you please let me know how to active a debug in a BPS web applicatin interface.
    I heard that something could be done under transaction se80, but what ?
    Many thanks for your big help !

    Hi,
    Here are the steps for activating the debugging,
    The <b>B</b>usiness <b>S</b>erver <b>P</b>age name is same as the name of the web interface
    Goto SE80 on the left side dropdown select BSP application and give the name of the BSP = interface name.
    Click on utilities->settings select tab ABAP Editor. Within this there are 4 tabs select the last one named Debugging. Select the check box named Actv and key ur user name (it should default to it). Hit Ok.This step is little diff depending on the WAS version.
    Click the display icon on the left side this will display the componenets of BSP. In the tree open the node Pages with Flow logic. There will be a component called PM_PAGE.HTM double click on it. Click on a line that's executable (blue) and then click on the STOP button on the application toolbar.
    This should do the job. let me know if you need more information
    thanks

  • How to change the button colour automatically????

    i want to change the button color automatically ,if there is no data in next page ....plzz help

    Hi,
    create a binding for the data collection displayed on next page and do
    styleClass=#{bindings.iterator.estimatedRowCount<=0?'redClass' : ''}
    Then define a custom skin (see how to skin an application in the web developer guide) and use
    .redClass .af|commandButton{background-color:red}
    in this skin. Now when the page renders or when you PPR the button, the color should apply or not. Btw, the same EL on the disabled property or the rendered property would do the same trick (probably better than just a color change)
    Frank

  • Open Bex workbook from BPS web interface,How hard it could be?

    Hi all,
        I want to add a link or function-button in my BPS web interface,hope it could open a query(excel analyser),I tried 2 methods as follow:
       1. MIME , It can only open a static excel file, not a analyser query. I gave up this method.
       2. I use the program RRMX_START_EXCEL and add a plan function which is a EXIT in BPS0,in my EXIT function I used some code in  RRMX_START_EXCEL,I test it in BPS0 ,it works ,it can open a analyser excel query.But when I put this plan function(including a parameter group ) in BPS_WB ,when I click the function-button in web interface, it crashed,says:
    Error when processing your request
    What has happened?
    The URL http://bw1.:8000/sap/bc/bsp/sap/zwebcaxa001_998/page1.htm was not called due to an error.
    The termination type was: TH_RES_FREE
    and some other Error infomation,
    Is it possible to realize my requirement? or Web interface and analyzer are just 2 total differrent things ,it is not possible to realize this?
    thanks all

    Hi Denny,
    Have a look at www.javascript.internet.com and do a search for "whatfile".....
    This should give you the javascript code whereyou can enter a file name (say an excel file name) and click a button to navigate to it.
    Although I have not tried exactly what you have asked, I have successfully used parts of this code to open specified files (excel files) on our local directory from a BPS planning web page.
    Obviously you will need to adapt the code to your specific evironment/situation...
    Good luck.
    Rael

  • Create a new web application, how shall I update the file server.xml

    Hi,
    I will create a new web application, i.e named newApp. Then I create a file structure as follows:
    - <server-root>/newApp
    - <server-root>/newApp/WEB-INF
    - <server-root>/newApp/WEB-INF/classes
    Then I must tell the server that I have created a new web application. Then I must update my file server.xml, How shall I do this and where in the file shall I type in the new information?
    I use windows XP Pro, and Tomcat 4.1.27.
    My server.xml file looks like below:
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN" debug="0">
    <!-- Comment these entries out to disable JMX MBeans support -->
    <!-- You may also configure custom components (e.g. Valves/Realms) by
    including your own mbean-descriptor file(s), and setting the
    "descriptors" attribute to point to a ';' seperated list of paths
    (in the ClassLoader sense) of files to add to the default list.
    e.g. descriptors="/com/myfirm/mypackage/mbean-descriptor.xml"
    -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
    debug="0"/>
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
    debug="0"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved">
    </Resource>
    <ResourceParams name="UserDatabase">
    <parameter>
    <name>factory</name>
    <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
    </parameter>
    <parameter>
    <name>pathname</name>
    <value>conf/tomcat-users.xml</value>
    </parameter>
    </ResourceParams>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Tomcat-Standalone">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 4.0 documentation bundle for more detailed
    instructions):
    * Download and install JSSE 1.0.2 or later, and put the JAR files
    into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8080" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="100" debug="0" connectionTimeout="20000"
    useURIValidationHack="false" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to -1 -->
    <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8443" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="100" debug="0" scheme="https" secure="true"
    useURIValidationHack="false" disableUploadTimeout="true">
    <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
    clientAuth="false" protocol="TLS" />
    </Connector>
    -->
    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8009" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="0"
    useURIValidationHack="false"
    protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <!--
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
    port="8009" minProcessors="5" maxProcessors="75"
    acceptCount="10" debug="0"/>
    -->
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8082" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="100" debug="0" connectionTimeout="20000"
    proxyPort="80" useURIValidationHack="false"
    disableUploadTimeout="true" />
    -->
    <!-- Define a non-SSL legacy HTTP/1.1 Test Connector on port 8083 -->
    <!--
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8083" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" />
    -->
    <!-- Define a non-SSL HTTP/1.0 Test Connector on port 8084 -->
    <!--
    <Connector className="org.apache.catalina.connector.http10.HttpConnector"
    port="8084" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via JK/JK2 ie :
    <Engine name="Standalone" defaultHost="localhost" debug="0" jmvRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Standalone" defaultHost="localhost" debug="0">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.3
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Global logger unless overridden at lower levels -->
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="catalina_log." suffix=".txt"
    timestamp="true"/>
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    debug="0" resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host -->
    <Host name="localhost" debug="0" appBase="webapps"
    unpackWARs="true" autoDeploy="true">
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn"
    debug="0"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Logger shared by all Contexts related to this virtual host. By
    default (when using FileLogger), log files are created in the "logs"
    directory relative to $CATALINA_HOME. If you wish, you can specify
    a different directory with the "directory" attribute. Specify either a
    relative (to $CATALINA_HOME) or absolute path to the desired
    directory.-->
    <Logger className="org.apache.catalina.logger.FileLogger"
    directory="logs" prefix="localhost_log." suffix=".txt"
    timestamp="true"/>
    <!-- Define properties for each web application. This is only needed
    if you want to set non-default properties, or have web application
    document roots in places other than the virtual host's appBase
    directory. -->
         <DefaultContext reloadable="true"/>
    <!-- Tomcat Root Context -->
    <Context path="" docBase="ROOT" debug="0"/>
    <!-- Tomcat Examples Context -->
    <Context path="/examples" docBase="examples" debug="0"
    reloadable="true" crossContext="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_examples_log." suffix=".txt"
    timestamp="true"/>
    <Ejb name="ejb/EmplRecord" type="Entity"
    home="com.wombat.empl.EmployeeRecordHome"
    remote="com.wombat.empl.EmployeeRecord"/>
    <!-- If you wanted the examples app to be able to edit the
    user database, you would uncomment the following entry.
    Of course, you would want to enable security on the
    application as well, so this is not done by default!
    The database object could be accessed like this:
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    UserDatabase database =
    (UserDatabase) envCtx.lookup("userDatabase");
    -->
    <!--
    <ResourceLink name="userDatabase" global="UserDatabase"
    type="org.apache.catalina.UserDatabase"/>
    -->
    <!-- PersistentManager: Uncomment the section below to test Persistent
    Sessions.
    saveOnRestart: If true, all active sessions will be saved
    to the Store when Catalina is shutdown, regardless of
    other settings. All Sessions found in the Store will be
    loaded on startup. Sessions past their expiration are
    ignored in both cases.
    maxActiveSessions: If 0 or greater, having too many active
    sessions will result in some being swapped out. minIdleSwap
    limits this. -1 or 0 means unlimited sessions are allowed.
    If it is not possible to swap sessions new sessions will
    be rejected.
    This avoids thrashing when the site is highly active.
    minIdleSwap: Sessions must be idle for at least this long
    (in seconds) before they will be swapped out due to
    activity.
    0 means sessions will almost always be swapped out after
    use - this will be noticeably slow for your users.
    maxIdleSwap: Sessions will be swapped out if idle for this
    long (in seconds). If minIdleSwap is higher, then it will
    override this. This isn't exact: it is checked periodically.
    -1 means sessions won't be swapped out for this reason,
    although they may be swapped out for maxActiveSessions.
    If set to >= 0, guarantees that all sessions found in the
    Store will be loaded on startup.
    maxIdleBackup: Sessions will be backed up (saved to the Store,
    but left in active memory) if idle for this long (in seconds),
    and all sessions found in the Store will be loaded on startup.
    If set to -1 sessions will not be backed up, 0 means they
    should be backed up shortly after being used.
    To clear sessions from the Store, set maxActiveSessions, maxIdleSwap,
    and minIdleBackup all to -1, saveOnRestart to false, then restart
    Catalina.
    -->
    <!--
    <Manager className="org.apache.catalina.session.PersistentManager"
    debug="0"
    saveOnRestart="true"
    maxActiveSessions="-1"
    minIdleSwap="-1"
    maxIdleSwap="-1"
    maxIdleBackup="-1">
    <Store className="org.apache.catalina.session.FileStore"/>
    </Manager>
    -->
    <Environment name="maxExemptions" type="java.lang.Integer"
    value="15"/>
    <Parameter name="context.param.name" value="context.param.value"
    override="false"/>
    <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
    type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/EmployeeAppDb">
    <parameter><name>username</name><value>sa</value></parameter>
    <parameter><name>password</name><value></value></parameter>
    <parameter><name>driverClassName</name>
    <value>org.hsql.jdbcDriver</value></parameter>
    <parameter><name>url</name>
    <value>jdbc:HypersonicSQL:database</value></parameter>
    </ResourceParams>
    <Resource name="mail/Session" auth="Container"
    type="javax.mail.Session"/>
    <ResourceParams name="mail/Session">
    <parameter>
    <name>mail.smtp.host</name>
    <value>localhost</value>
    </parameter>
    </ResourceParams>
    <ResourceLink name="linkToGlobalResource"
    global="simpleValue"
    type="java.lang.Integer"/>
    </Context>
    </Host>
    </Engine>
    </Service>
    </Server>

    To use servlets u have indeed to update your web.xml...Well I'm not sure this is relevant to your case anyway.
    You have to add a <servlet> element to this file.
    Something like this:
    <servlet>
    <servlet-name>blabla</servlet-name>
    <servlet-class>blablapackage.Blablaclass</servlet-class>
    <init-param>...</init-param>
    </servlet>
    Now this may not solve your problem. Make sure you refer to your servlets using their full qualified names.btw, just to be sure, what is your definition of "servlet"? (i mean: any java class or only javax.servlet.Servlet)

  • How to change Functional area in cost center master

    Dear Guru,
    As required, i have to change the Functional area in cost center master data.
    SAP Warning Message :
    Transaction data exists; note long text
    Note
    A change of the functional area can lead to inconsistencies when reversing documents.
    If documents are reversed after the functional area has been changed, in some cases,
    the reversal document may be posted with the new functional area.
    My question is how to change the new functional area to the old one after reversing documents.
    We aren't using Special Purpose Ledger . Please Help me, thanks.

    Hi
    For the transactions already posted you will not be able to change the Functional Area. Also if those documents are getting reversed now after the change, the reversal document will get posted to the new Functional Area only.
    For all those documents which gets reversed after the change, you need to pass FI journal entry by changing the Functional area in the journal entry and not in the Cost Center Master
    Regards,
    Lakshmanan Krishnan

  • How To Change InputDialog Buttons?

    hi there
    i made an InputDialog
    and i want to change the button names ,how to do that?
    and how to react with the user clicks a button?
    here's what i did
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class Custom_Dialog
        public static void main(String[] args) {
    String Text=JOptionPane.showInputDialog(null,"Input Something","Search",JOptionPane.QUESTION_MESSAGE);                                   
    }

    hi i made it but i have a problem
    is that when i press the Search Button The JDialog disappears and loses focus
    and i want it to still focused i used requestfocus() but it doesn't work
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.*;
    class Custom_Dialog
      public static void main(String[] args)
           JTextField textfield=new JTextField(5);
        Object[] options =
        {"Search", "Cancel"};
    Object[]array={"Input Something",textfield};
        JOptionPane pane = new JOptionPane(array,
            JOptionPane.QUESTION_MESSAGE, JOptionPane.DEFAULT_OPTION, null, options);
        JDialog dialog = pane.createDialog(textfield, "Search");
        dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
        dialog.setVisible(true);
        if(pane.getValue().equals("Search")){
             System.out.println("Search Pressed");
             System.out.println(textfield.getText()+" Is Entered");
             dialog.requestFocus();
        else{
             System.out.println("Cancel Pressed");
    }

  • Flex Builder, debugger and web application: how?

    Hello,
    I'm traying to setup a project in eclipse with both a java
    web application (servlets, jsp) and flex applications as a
    frontend. So I installed flex builder as a plugin on an eclipse+web
    standard tools, then created a WST web application project, and
    used the "Add flex nature.." of the flex plugin. I don't want to
    use the flex data services.
    Now, in a standard run (I installed a tomcat 5.5 and
    configured it in eclipse), my mxlm files are being correctly
    compiled into swf, and they are successfully calling my servlets
    (which simulates a backend xml-based interface).
    I'm having problems in debug: if I launch the debug profile
    related to tomcat, the normal version of the sfw will be used (even
    manually switching to the "-debug" version, it says that a running
    flex debugger has not be found on localhost). On the other way, if
    I launch the debug as a "flex application", it seems to work (it
    stops at breakpoints) but my tomcat is not started at all, the swf
    is accessed as a local file and all call to my servlet will fail..
    so it will stop working almost immediately.
    There is a way to setup eclipse to start standard java
    debugging with tomcat *and* the flex debugger?
    Thanks
    Cosma

    I found a workaround of sorts for the problem: don't
    terminate the applications!
    Previously, I would terminate the application using either
    the Terminate button in the Debug view or by closing the tab in the
    browser (Firefox). Now I just let them pile up in the browser and I
    rarely see this problem.
    In other words, I was having lots of trouble when doing
    Launch-Terminate-Launch-Terminate... but now I just
    Launch-Launch-Launch... and clean up once in a while.

  • Web application designer UI change

    Hi all,
    In a web application designer i have added an analysis item with query as data provider.
    In the output I have a requirement to change the color of individual data cell in a analysis item.
    I want to personalize the individual row or a data cell instead of changing whole data cells.
    Is there any way to change the color of individual row or some rows or some particular values in the analysis item to different color or bold selecting based on the values of the output like personalization.
    Thanking You,
    Devi

    Hi,
    We are using 7.0
    Personalize means the options we get when we right click on an data cell in the browser after executing
    the templete.
    I want to personalize a single data cell instead of all the data cells or structure at once.
    Thanking You,
    Devi

  • How to change the button image in theme editor

    How can i change the button image in theme editor. If i upload another button image in theme editor it doesn't show me the full image. it cuts it from the right. how can i view  the full image as a button.
    Thanks

    HI,
      Check this link
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/ep/modifying%252bthe%252blogon%252bpage
    Custom logon page
    Portal Customizations Intro - Login Part 1
    Change the portal logon page image programmatically
    Branding
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a000df6b-586a-2910-e6be-9fee831d5a30
    Thanks,
    Gopi

  • How to change the button size of Calendar prompt

    I want to change the button size in Calendar prompt. How to change it?
    Thank you!

    I think it is not necessary to modify the Calendar button size.
    The Calendar button actual size is 20X20.
    But the gif file which is used by Calendar button is not filled by icon.
    It seems that the height is smaller than the other buttons.
    Edited by: user12291797 on Dec 3, 2009 12:59 AM

  • How to change a item type dynamically?

    Is it possible to change a item type dynamically?
    For example.
    I've got a page with 2 items. The first is a select list and the second is a date picker. The select list contains two values, 1 and 2.
    If value 1 is selected the second item needs to remain a date picker. If value 2 is selected the second item needs to become a Text Field (disabled saves state).
    Anyone got an idea?
    Thx. Frank.

    Frank,
    It's not possible to change the item type dynamically as you describe it below. However, to achieve a similar effect you could do the following:
    1) Make the Select List a Select List With Submit.
    2) Have a Date Picker AND a Text Field on the page.
    3) Make the display of the Date Picker item conditional on the relevant value having been chosen from the Select List.
    4) Make the display of the Text Item conditional on the other value having been chosen from the Select List.
    Andy
    http://atulley.wordpress.com/

  • Save data into Z TABLE when save button is clicked on BPS web application

    Hi gurus,
    Recently i've been working with SEM-BPS and now i have an issue,
    I had to modify the BPS layout to show an input field where the user could write a comment, that was done modifying the layout in the transaction SE80 manipulating the BSP application, but now i have to save the content of those fields in a Z table when the SUBMIT event is triggered which save the content of all other standard fields. Before the saved is done i must send a pop up to confirm the action.
    The trouble is where and how i must modify the code to achieve that.
    Or if there's another way to solve my problem please let me know.
    Best regards.
    Tony Montes.

    Hi Andrey,
    Thanks for your time and response.
    Let me told you, i was traying to implement what you say in your last post but now i'm facing a new problem,
    The way i used to create the new field from HTML for the comment is not correct because the data in the GRIDLAYOUT are paged, so, when i change the page all data that i introduced in the field are ereased and i must save that values before change the page in a kind of buffer or something like that.
    so my new question is this, Do you know a right way to add that field to GRIDLAYOUT?  and then save this values in a Z table before save al plan data into the infocube.
    Sorry for all this questions but ive read a lot of articles and I can't find anything really helpful
    I've read some articles what talk about this issue but in IP, sincerely i'm NEW in this topic.
    Regards.
    Tony Montes.

Maybe you are looking for

  • BSOD, T500 Multiple machines same error.

    Hello, I have about 5-6 T500's here. I am the windows imaging person for my company. I have been working on a T500 image using windows Xp Pro with SP3. I am following the guidelines at MIGR-70665 for installation. The only Major change I have to my i

  • Help Needed in Fixing USB Printer after CUPS Update [SOLVED]

    CUPS updated a while ago but I didn't notice any warnings from pacman or whatever. I did later notice on the front page that cups had been upgraded so that usblp is no longer usable. It told me to blacklist usblp, and so I did. I also upgraded the /e

  • FINANCE-PAYMENT ADVICE - TOTALS ISSUE

    Hi, We generated a payment run using transactionF110, Run date xxxxx , Identification: xxxxxx for Company Code : xxxxxxx Supplier had called to say they did not received the payment advice, pls advise how I could print out the payment advice on site

  • Error when installing 9i on Redhat 3.0 ES

    Hi all, I encounter this problem when installing 9i. Any idea how to solve it? Initializing Java Virtual Machine from /tmp/OraInstall2004-01-15_12-08-37PM/jre/bin/java. Please wait... /tmp/OraInstall2004-01-15_12-08-37PM/jre/bin/i386/native_threads/j

  • Execute simultaneo​us MP3 players which are dedicated to each their sound cards on the computer

    I would like to control more than one MP3 (e.g. Windows Media Player) player from LabVIEW AND being able to switch the player outputs to each their dedicated sound card, running on the same computer. Is that possible in LabVIEW I know that the select