I want to clear the values for the controls

Hi all,
        After Adding Process, i want to clear the values for the controls in the form.
Any one help me.

If you use 2005, you can use the Formdata Event and catch the FORM_DATA_ADD event... In there you can clear the data

Similar Messages

  • Creation of a Query to show the values for the current month and the last 12 months data.

    Dear All,
    Good day!
    I have to create a Query with the below requirement.
    I have to create a Query to show the values for the current month and the last 12 months data.
    Can you please guide me how to achieve this ??
    thank you,
    Regards,
    Hema

    Hema
    explain the exact problem..? as you mentioned you want to create query to show values for current month and last 12 months.. so I think you want to show values for 12 months from current data.. you can achive this by multiple way..
    you can have selection screen and field with date .. and restrict based on system current date and 12 months before or you can handle this at your target.. .. I mean there are multiple ways to restrict data by date range..
    for some more hints..
    http://www.forumtopics.com/busobj/viewtopic.php?t=34393&sid=7fba465d0463bf7ff5ec46c128754ed6
    http://businessintelligence.ittoolbox.com/groups/technical-functional/cognos8-l/how-to-display-last-12-months-in-report-based-on-todays-date-3231850
    http://scn.sap.com/thread/3217381
    search on SDN you will get many other ways..
    Thanks,
    Bhupesh

  • How can I filter the Values for the dropdowns in webdynpro

    I have given data source to table, but as there are some repetitive values in table of dropdowns, I want to filter the Values for the dropdowns in webdynpro.
    How can I do this?

    I have given datasource to table in properties of table.
    I have 2 different dropdowns for different columns in the table.
    if the size of the table is 20 I get all the values populated in the dropdowns.
    In these values, there are some repetetive values which I dont want to appear.
    I can display it by making loop and can select from the values.
    the problem is how to set the new values to that drop down again using context?
    eg
    dropdowns have,
    presales activity
    presales activity
    presales activity
    presales activity
    presales activity
    I need to filter the variable element and put back it in dropdown.
    Thanks and regards
    Hanif Kukkalli

  • How to get the values for the Authorization Object Fields....

    Hi Everyone,
    I'm pretty new to the SAP Security and have been working on the Basis sides...I created a new role in PFCG and added a few transactions (ME13) and clicked on the Authorizations tab. In there, the authorization tree is in yellow and red. After providing the Org Values, only the yellow lights remain (apart from the green one ofcourse). Now how do we get the values for the different auth obj fields that are in yellow... say for example
    Conditions                                                   COND
    Maintain Condition: Auth. for Use/Appl./Cond.Type/Table      V_KOND_VEA
    Activity                       03                                                                        ACTVT
    Application                                                                                KAPPL
    Condition table                                                                                KOTABNR
    Condition Type                                                                                KSCHL
    Usage of the condition table                                                                 KVEWE
    Here the values for V_KOND_VEA fields e.g. KAPPL, KOTABNR etc are missing.
    My question is how do we get these values in regard to the requirement provided by the client...is it the functional guys who provide these values or else how is a security person supposed to know it...
    All the help in this regard is sincerely appreciated along with the awarding of points...

    Hey thanks Alex and Catastrophe for the quick response...
    I'll be sitting with the functional team and reviewing the roles created.
    Thanks for all the help once more
    Regards,
    Akash.

  • How to get the value for the LIT_Withheld field in the city tax form?

    I am trying to get the value for the LIT_Withheld field on the city tax form , PAYUSEET.. This is not a database column but is generated based on some conditions.. Appreciate the help. Thanks, Suguna

    Hi Abhmanyu,
    Thanks for your response.
    Search Help Name : ZZ_MG_MARITAL_VH
    Selection Method  : T502T
    Search help parameters are SPRSL, FAMST, FTEXT,
    Can u provide me a sample code to fetch the value of corresponding text.
    Thanks,
    Hari

  • The value for The value for the useBean invalid?

    I get following error when I try to test application in iexplorer.
    org.apache.jasper.JasperException: /guestBookLogin.jsp(12,0) The value for the useBean class attribute com.deitel.jhtp6.jsp.beans.GuestBean is invalid.
    I got this code from a case study and I was testing it. I get
    org.apache.jasper.JasperException: /guestBookLogin.jsp(12,0) The value for the useBean class attribute com.deitel.jhtp6.jsp.beans.GuestBean is invalid.
    error
    I believe this is becaus of version difference but here is my code
    guestBookLogin.jsp
    <!- <?xml version = "1.0"?> -->
    <!-  DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" -->
    <!-- Fig. 27.22: guestBookLogin.jsp -->
    <%-- page settings --%>
    <%@ page errorPage = "guestBookErrorPage.jsp" %>
    <%-- beans used in this JSP --%>
    <jsp:useBean id = "guest" scope = "page"
       class = "com.deitel.jhtp6.jsp.beans.GuestBean" />
    <jsp:useBean id = "guestData" scope = "request"
       class = "com.deitel.jhtp6.jsp.beans.GuestDataBean" />
    <html xmlns = "http://www.w3.org/1999/xhtml">
    <head>
       <title>Guest Book Login</title>
       <style type = "text/css">
          body
             font-family: tahoma, helvetica, arial, sans-serif;
          table, tr, td
             font-size: .9em;
             border: 3px groove;
             padding: 5px;
             background-color: #dddddd;
          }`
       </style>
    </head>
    <body>
       <jsp:setProperty name = "guest" property = "*" />
       <% // start scriptlet
          if ( guest.getFirstName() == null ||
               guest.getLastName() == null ||
               guest.getEmail() == null )
       %> <%-- end scriptlet to insert fixed template data --%>
             <form method = "post" action = "guestBookLogin.jsp">
                <p>Enter your first name, last name and email
                   address to register in our guest book.</p>
                <table>
                   <tr>
                      <td>First name</td>
                      <td>
                         <input type = "text" name = "firstName" />
                      </td>
                   </tr>
                   <tr>
                      <td>Last name</td>
                      <td>
                         <input type = "text" name = "lastName" />
                      </td>
                   </tr>
                   <tr>
                      <td>Email</td>
                      <td>
                         <input type = "text" name = "email" />
                      </td>
                   </tr>
                   <tr>
                      <td colspan = "2">
                         <input type = "submit" value = "Submit" />
                      </td>
                   </tr>
                </table>
             </form>
       <% // continue scriptlet
          }  // end if
          else
             guestData.addGuest( guest );
       %> <%-- end scriptlet to insert jsp:forward action --%>
             <%-- forward to display guest book contents --%>
             <jsp:forward page = "guestBookView.jsp" />
       <% // continue scriptlet
          }  // end else
       %> <%-- end scriptlet --%>
    </body>
    </html>GuestBean.java
    * @(#)GuestBean.java
    * @author:
    * @Description: JavaBean to store data for a guest in the guest book.
    * @version 1.00 2008/7/18
    // JavaBean to store data for a guest in the guest book.
    package com.deitel.jhtp6.jsp.beans;
    public class GuestBean
       private String firstName;
       private String lastName;
       private String email;
       //Constructors
       public GuestBean(){
            public GuestBean(String firstname, String lastname, String email){
                 this.firstName=firstname;
                 this.lastName=lastName;
                 this.email=email;
       // set the guest's first name
       public void setFirstName( String name )
          firstName = name; 
       } // end method setFirstName
       // get the guest's first name
       public String getFirstName()
          return firstName; 
       } // end method getFirstName
       // set the guest's last name
       public void setLastName( String name )
          lastName = name; 
       } // end method setLastName
       // get the guest's last name
       public String getLastName()
          return lastName; 
       } // end method getLastName
       // set the guest's email address
       public void setEmail( String address )
          email = address;
       } // end method setEmail
       // get the guest's email address
       public String getEmail()
          return email; 
       } // end method getEmail
    } // end class GuestBeanGuestBeanData.java
    * @(#)GuestDataBean.java
    * @author
    * @version 1.00 2008/7/18
    // Fig. 27.21: GuestDataBean.java
    // Class GuestDataBean makes a database connection and supports
    // inserting and retrieving data from the database.
    package com.deitel.jhtp6.jsp.beans;
    import java.sql.SQLException;
    import javax.sql.rowset.CachedRowSet;
    import java.util.ArrayList;
    import com.sun.rowset.CachedRowSetImpl; // CachedRowSet implementation
    public class GuestDataBean
       private CachedRowSet rowSet;
       // construct TitlesBean object
       public GuestDataBean() throws Exception
          // load the MySQL driver
          Class.forName( "com.mysql.jdbc.Driver" );
          // specify properties of CachedRowSet
          rowSet = new CachedRowSetImpl(); 
          rowSet.setUrl( "jdbc:mysql://localhost/VirsarMedia" );
          rowSet.setUsername( "root" );
          rowSet.setPassword( "" );
           // obtain list of titles
          rowSet.setCommand(
             "SELECT firstName, lastName, email FROM guest" );
          rowSet.execute();
       } // end GuestDataBean constructor
       // return an ArrayList of GuestBeans
       public ArrayList< GuestBean > getGuestList() throws SQLException
          ArrayList< GuestBean > guestList = new ArrayList< GuestBean >();
          rowSet.beforeFirst(); // move cursor before the first row
          // get row data
          while ( rowSet.next() )
             GuestBean guest = new GuestBean();
             guest.setFirstName( rowSet.getString( 1 ) );
             guest.setLastName( rowSet.getString( 2 ) );
             guest.setEmail( rowSet.getString( 3 ) );
             guestList.add( guest );
          } // end while
          return guestList;
       } // end method getGuestList
       // insert a guest in guestbook database
       public void addGuest( GuestBean guest ) throws SQLException
          rowSet.moveToInsertRow(); // move cursor to the insert row
          // update the three columns of the insert row
          rowSet.updateString( 1, guest.getFirstName() );
          rowSet.updateString( 2, guest.getLastName() );
          rowSet.updateString( 3, guest.getEmail() );
          rowSet.insertRow(); // insert row to rowSet
          rowSet.moveToCurrentRow(); // move cursor to the current row
          rowSet.acceptChanges(); // propagate changes to database
       } // end method addGuest
    } // end class GuestDataBeanguestBookErrorPage.jsp
    <!-- <?xml version = "1.0"?> -->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!-- Fig. 27.24: guestBookErrorPage.jsp -->
    <%-- page settings --%>
    <%@ page isErrorPage = "true" %>
    <%@ page import = "java.util.*" %>
    <%@ page import = "java.sql.*" %>
    <html xmlns = "http://www.w3.org/1999/xhtml">
       <head>
          <title>Error!</title>
          <style type = "text/css">
             .bigRed
                font-size: 2em;
                color: red;
                font-weight: bold;
          </style>
       </head>
       <body>
          <p class = "bigRed">
          <% // scriptlet to determine exception type
             // and output beginning of error message
             if ( exception instanceof SQLException )
          %>
                A SQLException
          <%
             } // end if
               else if ( exception instanceof ClassNotFoundException )
          %>
                A ClassNotFoundException
          <%
             } // end else if
             else
          %>
                An exception
          <%
             } // end else
          %>
          <%-- end scriptlet to insert fixed template data --%>
             <%-- continue error message output --%>
             occurred while interacting with the guestbook database.
          </p>
          <p class = "bigRed">
             The error message was:<br />
             <%= exception.getMessage() %>
          </p>
          <p class = "bigRed">Please try again later</p>
       </body>
    </html>
    guestBookView.jsp
    <!-- <?xml version = "1.0"?> -->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!-- Fig. 27.23: guestBookView.jsp -->
    <%-- page settings --%>
    <%@ page errorPage = "guestBookErrorPage.jsp" %>
    <%@ page import = "java.util.*" %>
    <%@ page import = "com.deitel.jhtp6.jsp.beans.*" %>
    <%-- GuestDataBean to obtain guest list --%>
    <jsp:useBean id = "guestData" scope = "request"
       class = "com.deitel.jhtp6.jsp.beans.GuestDataBean" />
    <html xmlns = "http://www.w3.org/1999/xhtml">
       <head>
          <title>Guest List</title>
          <style type = "text/css">
             body
                font-family: tahoma, helvetica, arial, sans-serif;
             table, tr, td, th
                text-align: center;
                font-size: .9em;
                border: 3px groove;
                padding: 5px;
                background-color: #dddddd;
          </style>
       </head>
       <body>
          <p style = "font-size: 2em;">Guest List</p>
          <table>
             <thead>
                <tr>
                   <th style = "width: 100px;">Last name</th>
                   <th style = "width: 100px;">First name</th>
                   <th style = "width: 200px;">Email</th>
                </tr>
             </thead>
             <tbody>
             <% // start scriptlet
                List guestList = guestData.getGuestList();
                Iterator guestListIterator = guestList.iterator();
                GuestBean guest;
                while ( guestListIterator.hasNext() )
                   guest = ( GuestBean ) guestListIterator.next();
             %> <%-- end scriptlet; insert fixed template data --%>
                   <tr>
                      <td><%= guest.getLastName() %></td>
                      <td><%= guest.getFirstName() %></td>
                      <td>
                         <a href = "mailto:<%= guest.getEmail() %>">
                            <%= guest.getEmail() %></a>
                      </td>
                   </tr>
             <% // continue scriptlet
                } // end while
             %> <%-- end scriptlet --%>
             </tbody>
          </table>
       </body>
    </html>Edited by: Areeba on Jul 19, 2008 10:34 PM

    Thanks I got it working. The problem was my mistake (ofcourse) I had my class in this folder WEB_INF/com/..... I did had classes folder under WE-INF . I'll get rest working soon. Thanks for the help.
    Edited by: Areeba on Jul 21, 2008 5:02 PM
    =====================
    I get this eror
    javax.servlet.ServletException: Can't call commit when autocommit=true
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
         org.apache.jsp.guestBookLogin_jsp._jspService(org.apache.jsp.guestBookLogin_jsp:172)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.sql.rowset.spi.SyncProviderException: Can't call commit when autocommit=true
         com.sun.rowset.CachedRowSetImpl.acceptChanges(CachedRowSetImpl.java:886)
         com.deitel.jhtp6.jsp.beans.GuestDataBean.addGuest(GuestDataBean.java:75)
         org.apache.jsp.guestBookLogin_jsp._jspService(org.apache.jsp.guestBookLogin_jsp:145)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)on here
      rowSet.acceptChanges(); // propagate changes to databaseit updated the database but with error.
    Edited by: Areeba on Jul 21, 2008 5:23 PM
    Edited by: Areeba on Jul 21, 2008 5:57 PM

  • Dynamically setting the values for the Adapter Configuration in BPEL

    We are configuring the JMS adapter to put into an MQ topic. For this we are giving all the values for the configuration parameters like
    Factory Properties.
    JMS connection Factory
    Transacted
    Destination Type
    Username
    Password
    Destination Name, etc...
    and we are able to produce message on the MQ.
    Our requirement is to dynamically pass the values for the above parameters from some configuraion files(other than oc4j-ra.xml), which will have value for each obove parameters.
    Any help on this is highly appreciated.
    Regards,
    Suman

    Re: JMS Properties setup
    this thread will explain how to do it.

  • Dynamically setting the values for the Adapter Configuration

    We are configuring the JMS adapter to put into an MQ topic. For this we are giving all the values for the configuration parameters like
    Factory Properties.
    JMS connection Factory
    Transacted
    Destination Type
    Username
    Password
    Destination Name, etc...
    and we are able to produce message on the MQ.
    Our requirement to dynamically pass the values for the above parameters from some configuraion files(other that oc4j-ra.xml), which will have value for each obove parameters
    Any help on this is highly appreciated.

    Re: JMS Properties setup
    this thread will explain how to do it.

  • Need an ARRAY of the values for the user to see the array values

    how would I display the values to the user in an array?????
    for all three loans in my java code
    import java.text.*;           //20 May 2008, Revision ...many
    import java.io.IOException;
    class memortgage     //program class name
      public static void main(String[] args) throws IOException
        double amount,moPay,totalInt,principal = 200000; //monthly payment, total interest and principal
        double rate [ ] = {.0535, .055, .0575};          //the three interest rates
        int [ ] term = {7,15,30};                        //7, 15 and 30 year term loans
        int time,ratePlace = 0,i,pmt=1,firstIterate = 0,secondIterate = 0,totalMo=0;
        char answer,test;
        boolean validChoice;
        System.in.skip(System.in.available());           //clear the stream for the next entered character
        do
          validChoice = true;
          System.out.println("What Choice would you Like\n");
          System.out.println("1-Interest rate of 5.35% for 7 years?");       //just as it reads for each to select from
          System.out.println("2-Interest rate of 5.55% for 15 years?");
          System.out.println("3-Interest rate of 5.75% for 30 years?");
          System.out.println("4-Quit");
          answer = (char)System.in.read();
          if (answer == '1')  //7 yr loan at 5.35%
            ratePlace = 0;
            firstIterate = 4;
            secondIterate = 21;
            totalMo= 84;
          else if (answer == '2') //15 yr loan at 5.55%
            ratePlace = 1;
            firstIterate = 9;      //it helps If I have the correct numbers to calcualte as in 9*20 to equal 180...that why I was off -24333.76
            secondIterate = 20;    //now it is only of -0.40 cents....DAMN ME
            totalMo = 180;
          else if (answer == '3') //30 yr loan at 5.75%
            ratePlace = 2;
            firstIterate = 15;
            secondIterate = 24;
            totalMo = 360;
          else if (answer == '4') //exit or quit
            System.exit(0);
          else
            System.in.skip(System.in.available());               //validates choice
            System.out.println("Invalid choice, try again.\n\n");
            validChoice = false;
        }while(!validChoice);  //when a valid choice is found calculate the following, ! means not, similar to if(x != 4)
        for(int x = 0; x < 25; x++)System.out.println();
        amount = (principal + (principal * rate[ratePlace] * term[ratePlace] ));
        moPay = (amount / totalMo);
        totalInt = (principal * rate[ratePlace] * term[ratePlace]);
        DecimalFormat df = new DecimalFormat("0.00");
        System.out.println("The Interest on $" + (df.format(principal) + " at " + rate[ratePlace]*100 +
        "% for a term of "+term[ratePlace]+" years is \n" +"$"+ (df.format(totalInt) +" Dollars\n")));
        System.out.println("\nThe total amount of loan plus interest is $"+(df.format(amount)+" Dollars.\n"));
        System.out.println("\nThe Payments spread over "+term[ratePlace]* 12+" months would be $"+
        (df.format (moPay) + " Dollars a month\n\n"));
        System.in.skip(System.in.available());
        System.out.println("\nWould you like to see a planned payment schedule? y for Yes, or x to Exit");
        answer = (char)System.in.read();
        if (answer == 'y')
          System.out.println((term[ratePlace]*12) + " monthly payments:");
          String monthlyPayment = df.format(moPay);
          for (int a = 1; a <= firstIterate; a++)
            System.out.println(" Payment Schedule \n\n ");
            System.out.println("Month Payment Balance\n");
            for (int b = 1; b <= secondIterate; b++)
              amount -= Double.parseDouble(monthlyPayment);
              System.out.println(""+ pmt++ +"\t"+ monthlyPayment + "\t"+df.format(amount));
            System.in.skip(System.in.available());
            System.out.println(("This Page Is Complete Press [ENTER] to Continue"));
            System.in.read();
    }

    skull_innocent wrote:
    whooooooo...dang....just tell me nicely .
    Sorry.
    I thought that this question I submitted in the wrong area previously
    There are better ways to correct me in my errors for posting
    I am sorry.Okay, no harm done.
    I hope that you understand that a major beef of contributors here is to spend time answering a question, only to later discover that somebody else has posted a similar answer in another thread. Hence the annoyance at crossposters.
    In the future, if you think you've posted in the wrong forum, or if for whatever reason you decide to post in multiple forums, pick one thread as the "main" one and provide a link to it in the others.

  • Where to store the values for the purpose of logging

    For the purpose of logging, i would like to store few values like strings, some objects, some exceptions[ after few transactions from the end user ] in the SP server.
    which is the best approach for storing these?
    if i use  splist, the items will reach 5000 within a  week as far as my appl's usage is concerned , hence it will  cause a performance issue in future.
    so how can i store the values in the splist?
    should i use a separate  custom sql db and use ado.net to store the values when enduser peforms the tasks?
    help is appreciated

    Hi SaMolPP,
    You should try to use the existing ULS logging, following article is for 2010 but should also work in 2013 :
    http://geekswithblogs.net/venkatx5/archive/2010/12/09/how-to-use-uls-in-sharepoint-2010-for-custom-code.aspx
    No additional lists or databases needed.
    Hope this helps

  • Where do you get the values for the object and ID paramters in authority-c

    Hoping this is simple - could not find anything already posted on this.
    My code works (copied from another program):
    AUTHORITY-CHECK OBJECT 'S_TCODE'
                             ID 'TCD'
                             FIELD 'SE38'.
      IF sy-subrc NE 0.
         MESSAGE Z1000
        'You are not authorized to execute this program'.
      ENDIF.
    This is checking to be sure the user can run SE38.
    I want to know where I can find a table, etc. that has the S_TCODE. and the ID 'TCD'.
    I want to see what other values i could use for checking items like this.
    Thanks.

    Hi Scott,
    Check the table TOBJ.
    Happy coding...

  • Multiple select list not retaining the value for the first time

    Hi,
    I have a 3 select list depends on each other. select_list1 -- > select_list2 --> multiselect3. I have use denes example to create them.
    For the first time when I select values from 1,2,3 and runs a report based on it, it works fine but *does not retain the selected value in multiselect3.
    for the second time submit the process, it retails value in multiselect3. Please tell me if you came across this issue before
    Here is the code.
    function get_select_list_xml_VL(pThis,pSelect,pSelect1,pSelect2){
    var l_Return = null;
    var l_Select = html_GetElement(pSelect);
    var l_Select1 = html_GetElement(pSelect1);
    var l_Select2 = html_GetElement(pSelect2);
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Cascading_Select_List_VL',0);
    get.add('F660_CASCADING_TEST',l_Select1.value + '_' + pThis.value + '_' + l_Select2.value);
    alert(l_Select1.value + '_' + pThis.value + '_' + l_Select2.value);
    // alert(document.getElementById("F660_CASCADING_TEST").value);
    gReturn = get.get('XML');
    if(gReturn && l_Select ){
    var l_Count = gReturn.getElementsByTagName("option").length;
    l_Select.length = 0;
    for(var i=0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue)
    get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);

    Please ask any question if you dont understand about the problem.
    Thanks

  • Repeating the values for the lower levels

    Hi friends,
    I have an issue regarding OBIEE using the cubes as database?
    We have a value set at the year level as 50 for the one fact in the cubes.
    when i go to the lower level (i.e.,) month level for that fact i am getting no results...
    But i need to get that 50 value for all the months as a constant values......Is there any work around for this ?
    Please post ur valued answers...
    Thx

    Fact you are saying might be the account/measures dimension member in the essbase and is imported to obiee.
    You can write a dynamic calc formula in the essbase level to store the constant values for all the periods.

  • Passing the values for the tokens in oaf

    Hello,
    I have an application message with the text as "Employee &ENAME belong to the organization &ORGANIZATION".
    In framework, i have assigned this application message to a messagestyledtext and i want to pass the &ENAME and &ORGANIZATION values at runtime. Can anyone please guide me on this? I did as follows but didn't figure out how to assign this token to an application message.
    MessageToken[] msgtoken = {new MessageToken("EMPLOYEENAME",s_employeename),new MessageToken("ORGANIZATIONNAME",s_organizationname) }
    Thanks
    PK

    PK,
    A simple example to explain you more on this. Let say we want to pass two parameter to Token.
    String employeeName = (String)vo.getCurrentRow().getAttribute("EmployeeName");
    Number **employeeNumber** = (Number)vo.getCurrentRow().getAttribute("EmployeeId");
    String employeeNum = String.valueOf( employeeNumber.intValue());
    MessageToken[] tokens = { new MessageToken("EMP_NAME",  *employeeName* ),                 //1
    new MessageToken("EMP_NUMBER", employeeNum ) }; //2
    //And finally we pass there token value to below exception.
    OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_CREATE_CONFIRM", tokens, OAException.CONFIRMATION, null);
    Thanks
    -Anil

  • How to pass values for the checkbox

    Hi all,
    We all have seen the functionality of selecting a check box and then click the button and it performs the task(i.e in the hotmail when you select a line/lines by selecting the checkbox for that line and click the delete button those all mails are deleted). we are trying to implement this functionality. I have written the following code for that, but i get the values for the selected box if the box is the first one but if I did not select the first line and select the second line, i get the values for first line as well as for the secondline separated by comma . In other word it concatinates all values. Can I have some pointers?
    <INPUT TYPE="CHECKBOX" NAME="selectedBoxes" UNCHECKED value=<%out.println(" \"" + boxValues + "\" ");
    And also I don't know how to use the oncheck event for the check box...
    Thanks in advance...
    Ameeta

    Thanks Kan,
    But I am littlebit confuse about how does multiple values have been passed. For Example, i have selected 3 check boxes to delete the record. The value for each check box I need is name, event and hours...Each of these record is separated by '*'. I have three sets of values...for three records..
    1) Ameeta*overTime*5.00
    2) Ameeta*holiday*6.00
    3) Ameeta*weekends*8.00
    I have total 5 or 6 records for this person(Ameeta) and I want to delete these listed three...some how if I use the following coding it gives me all records before the last checked box...
    while(rs1.next())
    isEmpty = false;
    eventType = rs1.getString("EVENT_TYPE" ) ; ;
    eventDate = rs1.getString("EVENT_DATE" ) ;
    hours = rs1.getString("HOURS" ) ;
    hash += Double.parseDouble(hours) ;
    boxValues += eventDate + "*" + hours + "*" shortEvents "#";
    userId = rs1.getString("USER_ID" ) ;
    // employeeId = rs1.getString("EMP_ID" ) ;
    confirmFlg = rs1.getString("CONFIRM_FLAG");
    // out.println("\nrecordQuery:\n" + recordQuery ) ;
    %>
    <tr>
    <td colspan=5 width=100>
    <INPUT TYPE="CHECKBOX" NAME="selectedBoxes" value=<%out.println(" \"" + boxValues + "\" "); %>>
    <td width="150"><%=eventDate%></td>
    <td width="150"><%=eventType%></td>
    <td width="150"><%=hours%></td>
    <td width="150"><%=location%></td>
    <td width="150"><%=confirmFlg%></td>
    </tr>
    **************************************In this code basically I am concatinating so it is obvious that I get every thing before the check box..so I did the following change by adding the line below in the code
    while(rs1.next())
    boxValues = "";
    everything else is same....
    but now I get only the last one that is true too because I am asigning it to the null but I don't know how to pass all checked one.........can anybody help me?      
    Thanks in advance...
    Ameeta

Maybe you are looking for

  • Display font in Safari like it is in IE

    Hi. I'm a new mac user. I'm wondering if there's any way to have websites display like you would see them in Internet Explorer or Netscape on a PC in regards to font. I've used macs before and never noticed that pages don't look like I'm use to i.e.

  • Why can't I log in to FaceTime?

    Hi all, I recently have problems logging in on facetime at my iMac. When I click log in nothing happens.. I restarted it several times, but without a result. Maybe some usefull information: I have got a @mac.com-account (with an @me.com-alias). I tri

  • OWA More Option redirects to my OWA page

    I have a strange situation,  When i log into the OWA page "https://exchangeserver.domain/owa" I get a login page (using incognito mode) I enter as [email protected] and it successfully logs me into the administrators OWA but then when I click the mor

  • How does a JSP page remember a user and prints in every page name of user?

    Hello, i'm working with JSPs and mysql. I have a Login page where sm inserts data in the two fields: name, username. i check if that user exists in the database. if the user exists i would like in every jsp page to mention/appear his name. As happens

  • Changing mouse click default to "open" (file/folder)

    My logitech mouse button1 defaults to "search" instead of "open' when I left click. i don't want to have to rt click first, then select "open". I want mouse default to be "open". any suggestions?