In OBIEE 11G, how to get the special parameter created by JAVA?

Hi Experts,
In OBIEE 11G, how to get the special parameter created by JAVA?
For example:
In JAVA , it has set one parameter named 'test'.
So how to get the parameter in filter area in OBIEE?

Hi Kobe,
No P2 holds the parameter name like PresentationTable.ColumnName, in your form you may go for complete name or just column name and before submitting the form you can define the Action url.
I would suggest to read section 6.3.2.1.
ex:
<SCRIPT LANGUAGE="JavaScript">
changeAction(url) {
var TestVar = form.inputbox.value;
document.this_form.action="saw.dll?Go&Path=/Shared/Test/SB2&Action=Navigate&P0=1&P1=like&P2=Customers.Region&P3="+TestVar;
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="myform" ACTION="" METHOD="GET">Enter something in the box: <BR>
<INPUT TYPE="text" NAME="inputbox" VALUE=""><P>
<INPUT TYPE="button" NAME="button" Value="Click" onClick="changeAction(this.value)">
</FORM>
If helps pls mark.
Edited by: veeravalli on Oct 24, 2012 10:25 AM

Similar Messages

  • How to get the current GMT time in java

    Hi,
    How to get the current GMT time in java
    Thanks

    System.getCurrentTimeMillis() or new Date().
    [url http://www.javaworld.com/jw-12-2000/jw-1229-dates.html]Calculating Java dates: Take the time to learn how to create and use dates
    [url http://www.javaalmanac.com/egs/java.text/FormatDate.html]Formatting a Date Using a Custom Format

  • How to get the current function name in java

    How to get the current function name in java.
    In c it is done as
    printf("%s",__func__);
    Thanx in advance.

    j0o wrote:
    System.out.println("Class Name: " + new Exception().getStackTrace()[0].getClassName() +
    "/n Method Name : " + new Exception().getStackTrace()[0].getMethodName() +
    "/n Line number : " + new Exception().getStackTrace()[0].getLineNumber());
    I pointed the OP at this approach yesterday in one of his multi-posts. I still have not been given my Dukes!

  • How to  get the profile object in simple java class  (Property accessor)

    Hi All,
    Please guide me how to get the profile object in simple java class (Property accessor) which is extending the RepositoryPropertyDescriptor.
    I have one requirement where i need the profile object i.e i have store id which is tied to profile .so i need the profile object in the property accessor of the SKU item descriptor property, which is extending RepositoryPropertyDescriptor.
    a.I dont have request object also to do request.resolvename.
    b.It is not a component to create setter and getter.It is simple java class which is extending the RepositoryPropertyDescriptor.
    Advance Thanks.

    Iam afraid you might run into synchronization issues with it. You are trying to get/set value of property of a sku repository item that is shared across various profiles.
    Say one profile A called setPropertyValue("propertyName", value).Now another profile B accesses
    getPropertyValue() {
    super.getPropertyValue() // Chance of getting value set by Profile A.
    // Perform logic
    There is a chance that profile B getting the value set by Profile A and hence inconsistency.
    How about doing this way??
    Create PropertyDescriptor in Profile (i.e user item descriptor), pass the attribute CustomCatalogTools in userProfile.xml to that property.
    <attribute name="catalogTools" value="atg.commerce.catalog.CustomCatalogTools"/>
    getPropertyValue()
    //You have Profile item descriptor and also storeId property value.
    // Use CustomCatalogTools.findSku();
    // Use storeId, profile repository item, sku repository item to perform the logic
    Here user itemdescriptor getPropertyValue/setPropertyValue is always called by same profile and there is consistency.
    -karthik

  • How to get the Current Date in webdynpro java

    Hi Experts,
                 In my project i have two date input fields called
                        1)Start Date
                      2)End Date   
    and one Absence type input field is there. The user wants to set the start Date ,End date and absence type.
    How to get the user set values in my project.i.e how to get the user inputs and the started date must be current date of the system and end date must be after the 3 months.
    Can any body send code regarding this.
    Thanks in advance.
    Regards,
    Venkat.
    Edited by: Venkat5939 on Jan 11, 2011 4:46 PM

    Hello Venkat,
    Current Date:
    Date date = new Date(System.currentTimeMillis());
    For getting the date after three months refer the following threads:
    Set date in a date field
    Date Function
    date format
    Hope it helps.
    Regards
    Nizamudeen SM

  • How to get the silverish white color in Java

    Hi
    I want to know how to get the silver color in Java
    I am currently using
    R , G , B
    setBackground(new color(255,255,255));
    I am getting bright white color.
    How do I get the polished white(silverish white color) color.
    Thank You

    RGB Color Chart...
    http://www.htmlcenter.com/tutorials/tutorials.cfm/89/General/
    perhaps new Color(223,223,255) ???

  • How to get the system32 folder path in java?

    how to get the system32 folder path in windows using java code?

    Zstar Electronic Co.Ltd, Wholesaler of fire cards for DS/NDSL/NDSi, Provide R4, R4i, DStt, iEDGE, AK2i,M3,M3i,N5
    www.zstar.hk

  • How to get the URL parameter value when navigating from JSP Page to portal

    Hi All,
    I have web Dynpro application with one button, while clicking that button It will navigate to JSP page as external window. In the JSP page I have a input field and Button.
    In the JSP page input field I will enter some values and press submit button, it will navigate to Portal page by passing some URL parameter with values.
    Once user entering to portal by default WD page displayed, the same WD page I try to get the URL Parameter which I have passed from JSP page, but I am not able to get the URL parameter value.
    If same application running in without portal, I can able to get the URL parameter values. I am getting the URL parameter by interface view default inbound plug parameter.
    How do we resolve this problem?
    Regards,
    Boopathi M

    Hi
    Please try  these link might helpful for you
    1.[How to call WebDynPro application from JSP |/thread/452762 [original link is broken];
    2.[How to get the previous page url from abstract portal component? |/thread/1289256 [original link is broken];
    3.[how to launch and pass a parameter |/thread/5537 [original link is broken];
    Best Regards
    Satish Kumar

  • How to get the  special symbols in item description in purchase requisition

    hi,
      My client requiremnt is when i write some special character like(u221E,u03B2) in ms-word and copy the text & paste in purchase requisition screen in item description field ,the special character appear has Square box(instead of u221E,u03B2).
    kindly  guide me how to solve the issue.
    Thanks
    Muthuraman.D

    Speak to the Basis guys, you need the necessary code pages (I think they're called). I'm still not sure if you can copy and paste from Word but the Basis guys may know.  Depends on standards used by SAP v MS (SAP tend to be good at following standards).
    You also need to consider the knock on effect on programs e.g. reports that output text may need conversion to work with special characters.
    It's not a quick fix type job.
    Regards,
    Nick

  • How to get the hour:minuts:seconds using java

    I have table xydata
    here i get the gsTime like this 2010-04-21 10:58:40
    the above time i want to get only 10:58:40
    how to write the java for this
    please help me
    Thanks in Advance

    Problem of this sort cry out for using regular expressions. It is what they were invented for. If the OP wanted the whole date parsed into a java.util.Date then it would be a different matter and SimpleDateFormat would be the way to go but extracting part of a string is what regular expressions are best at.
    In this case, even a regular expression approach is far too complex. Which of the following do you consider the most appropriate ?
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    public class Sabre20100508
        public static void main(String[] args) throws Exception
            String[] lines =
                "2010-04-21 11:01:35",
                "2010-04-21 11:01:58",
                "2010-04-21 11:02:21",
                "2010-04-21 11:02:42",
                "2010-04-21 11:03:28",
                "2010-04-21 11:03:51"
                Pattern p = Pattern.compile("(?<= )\\d{2}:\\d{2}:\\d{2}");
                System.out.println("Method 1 :-");
                for (String line : lines)
                    Matcher m = p.matcher(line);
                    if (m.find())
                        System.out.printf("    [%s]\n", m.group());
                Pattern p = Pattern.compile("\\d{4}-\\d{2}-\\d{2} (\\d{2}:\\d{2}:\\d{2})");
                System.out.println("Method 2 :-");
                for (String line : lines)
                    Matcher m = p.matcher(line);
                    if (m.matches())
                        System.out.printf("    [%s]\n", m.group(1));
                System.out.println("Method 3 :-");
                for (String line : lines)
                    String[] splitLIne = line.split(" ", 2);
                    System.out.printf("    [%s]\n", splitLIne[1]);
                System.out.println("Method 4 :-");
                for (String line : lines)
                    int index = line.lastIndexOf(" ");
                    System.out.printf("    [%s]\n", line.substring(index + 1));
                System.out.println("Method 5 :-");
                SimpleDateFormat parser = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
                SimpleDateFormat formatter = new SimpleDateFormat("HH:mm:ss");
                for (String line : lines)
                    Date date = parser.parse(line);
                    System.out.printf("    [%s]\n", formatter.format(date));
                System.out.println("Method 6 :-");
                for (String line : lines)
                    System.out.printf("    [%s]\n", line.replaceAll("[^ ]* ", ""));
    }My vote goes to method 4!

  • How to get the number of created document?

    Hi all,
    My first program in ABAP works very well. Thanks to all who helped me
    I would like only one function to it.
    The program read data from excel file and generates document using BDC. 
    I use this statement:
    call transaction 'F-65' using bdcdatafile
    I count the number of documents which have been generated or refeused because of error using the sy-subrc function.
    if sy-subrc <> 0.
        counter for errors
    else.
        counter for generated documents
    endif.
    Finally program displays these number on the last screen and the user knows if there everything is ok. For example this is a sample screen:
    1. OK.
    2. OK.
    3. Error.
    Number of imported documents (2)
    Errors (1)
    However, I would like to add one information to these screen. If the document is saved it gets its own number.
    Is any possibility to get this number for displaying?
    Maybe there is a function which returns this number.
    I want to get the scren like this:
    1. OK. Document No. 10000001
    2. OK. Document No. 10000002
    3. Error
    Best regards
    Arek

    The document number should be being passed back via a message.  You need to specifiy to return any messages in the messtab when calling the transaction.
    DATA: MESSTAB type table of BDCMSGCOLL WITH HEADER LINE.
    call transaction 'F-65' using bdcdatafile
                            messages into messtab.
    Messtab will have the messages after the call, you can then read this internal table and check for the success message, usually the document number is in the first variable field, MSGV1.
    Regards,
    Rich Heilman

  • How to get the page break preview in java

    I have an in house report building utility using gridbaglayouts. My reports are coming pretty good but i am unable switch the grids page wise. I tried using the graphics but failed as it cuts the grid in between. The grid bag layout does not return and size(height and width) for the grids. so theoption of getting the heights of grids will not work. Please give me the solution

    j0o wrote:
    System.out.println("Class Name: " + new Exception().getStackTrace()[0].getClassName() +
    "/n Method Name : " + new Exception().getStackTrace()[0].getMethodName() +
    "/n Line number : " + new Exception().getStackTrace()[0].getLineNumber());
    I pointed the OP at this approach yesterday in one of his multi-posts. I still have not been given my Dukes!

  • How to get the owning bean given a java object

    Hi, is there any way - for a just-created bean instance - to know on behalf of which bean this object has been created ?
    In other words, going back from the java object to the bean symbolic name, as described in a faces-config managed-bean chunk (just the opposite of resolveVariable) ?

    You want to get the definied managed bean name inside the backing bean?
    If so, call this inside the backing bean: private String getManagedBeanName() {
        String managedBeanName = null;
        HttpServletRequest request =
            (HttpServletRequest) FacesContext
                .getCurrentInstance()
                    .getExternalContext()
                        .getRequest();
        // Lookup bean in request scope.
        Enumeration requestAttributeNames = request.getAttributeNames();
        while (requestAttributeNames.hasMoreElements()) {
            String requestAttribute = (String) requestAttributeNames.nextElement();
            Object object = request.getAttribute(requestAttribute);
            if (this.equals(object)) {
                managedBeanName = requestAttribute;
                break;
        if (managedBeanName == null) {
            // Bean is not in the request scope. Lookup it in session scope.
            Enumeration sessionAttributeNames = request.getSession().getAttributeNames();
            while (sessionAttributeNames.hasMoreElements()) {
                String sessionAttribute = (String) sessionAttributeNames.nextElement();
                Object object = request.getSession().getAttribute(sessionAttribute);
                if (this.equals(object)) {
                    managedBeanName = sessionAttribute;
                    break;
        return managedBeanName;
    }

  • How to get the selection parameter values to Posting logic method

    How can i  read the selection parameter values at " posting logic" method, which are given in  " Select Option function module"?

    max bianchi wrote:
    Hi
    >
    > The selection-screen data are stored in ABAP memory, so it need to clear it .
    >
    > Now how set ID parameter can depend on SAP release, anyway in ECC 6 this should work:
    >
    >
    INITIALIZATION.
    >   DATA: BEGIN OF MEMKEY,
    >           REPORT  TYPE SY-REPID VALUE SY-REPID,
    >           VARIANT TYPE RSVAR-VARIANT,
    >           INT_MODE(2) TYPE N,
    >           KIND(1)     TYPE C,
    >         END OF MEMKEY.
    >
    >   SYSTEM-CALL INTERNAL MODE INTO MEMKEY-INT_MODE.
    >   FREE MEMORY ID MEMKEY.
    >
    > But in this way it'll clea whole selection-screen...do you wnat do it?
    >
    > Max
    @Max : The above hack seem to work fine unless you assign a  'DEFAULT' value to the selection fields.
    @OP   : Here is an other work around,  however, this approach needs an additional effort to create
        new PF-STATUS('MYLIST') and assign a function code of your choice to the function keys in the standard toolbar and handle them in the 'AT USER-COMMAND'   event as shown below. Let us know if you have/find any issues with this.
    PARAMETERS:
      p_test TYPE char5 DEFAULT '123'.
    AT USER-COMMAND.
      CASE syst-ucomm.
        WHEN 'MBACK'.
          SUBMIT zytest WITH p_test = '' VIA SELECTION-SCREEN.
      ENDCASE.
    START-OF-SELECTION.
      SET PF-STATUS 'MYLIST'.
    -Rajesh.

  • In OBIEE 11g, how to hide the "Analyze" option at the bottom of the Graph?

    Hi,
    At the bottome of the graph in OBIEE, there are options like Analyze, Refresh, Print, etc.
    How to hide ( Not Display) the " Analyze" option at the bottom?
    Is there any setting for this in dashboard?
    Thanks.

    Check this link may help you
    Disable or Hide return link
    If helps pls mark as correct/helpful

Maybe you are looking for