Hide value in prompt ?

Hello,
I am working on a report in Webi XIR2 SP4 and I would like to hide the value for a special prompt during user is filling in it like a password : is it possible to replace characters with points ("****") for exemple ?
I see that something like tihs exists in Crystal Report but I found any options about it in Business Objects / Web Intelligence / Designer.
Do you have an idea ?
Thanks for your answer.
Bests Regards.

you can find this in the help of the universe designer.....
see this,,,,,,
good luck
Amr
@Prompt
You can use the @Prompt function to create an interactive object. You use a @Prompt function in the Where clause for an object. It forces a user to enter a value for a restriction when that object is used in a query. When the user runs the query, a prompt box appears asking for a value to be entered.
@Prompts are useful when you want to force a restriction in the inferred SQL but do not want to preset the value of the condition.
You can optionally define default values for prompts. A prompt containing default values behaves in the same way as a Web Intelligence prompt with default values.
The syntax of the function is as follows:
@Prompt('message','type',[lov],mono/multi,free/constrained/primary_key,persistent/not_persistent, [{'default value':'default key'[,'default value':'default key',...]}) 
The syntax is described in the following table:
Syntax  Description 
'message'  Text of the prompt message. The text must be enclosed between single quotes, for example, 'Choose a Region', 'Pick a time period', or 'Choose a showroom'. The text appears in the prompt box when the query is run. 
'type'  Data type returned by the function. It can be one of the following:
'A' for alphanumeric
'N' for number
D' for date
The specified data type must be enclosed in single quotes. 
lov  List of values (optional). You can specify two types of list of values:
Hard coded list. Each value is separately enclosed in single quotes and separated by a comma. The whole list is enclosed in curly brackets. For example, {'Australia', 'France', 'Japan', 'United Kingdom', 'USA'}.
Pointer to a List of Values from an existing object. You invoke the target lov by double clicking on the object containing the lov that you want to use in the Classes and Objects panel. This gives the Class name and the Object name, separated by a backslash. It must be enclosed in single quotes. For example: 'Client\Country'. 
mono  User can select only one value from the list of values. 
multi  User can select multiple values from the list of values. 
free  User can enter a value, or select one from the list of values. 
constrained  User must select a value from the list of values. 
primary key  Use the primary key parameter with "free" or "constrained". The user enters a value or selects from the list of values. If the primary key parameter is present, the entered or displayed value is not used to generate the query. The associated key value from the Index Awareness column is used. 
persistent  When refreshing a document, the last values used in the prompt is displayed by default. 
not persistent  When refreshing a document, no values used is displayed in the prompt by default. 
'default value':'key value'  The default values parameter is used to define default values presented to the user.
You can define multiple default values.
The syntax for each default value is: u2018valueu2019:u2019keyu2019.
The colon ( is the separator between the value and the key.
When refreshing a document these values are displayed by default but if the persistent option is set, then the last values used in the prompt are used instead of the default values.
If you specify the primary key parameter in the prompt definition, then you must provide the key value(s). 
Note: For each of the optional parameters, if you omit an argument, you must still enter the commas as separators.
Example: Using @Prompt to restrict countries
The object Country returns values for the countries of resorts. If you want to restrict the returned values to resorts for only one country, you would need a separate object for each resort country in the universe. However, using the @Prompt, you need only one object as follows:
The user is prompted to enter the name of the country, and the returned values are the resorts from that particular country, as shown below:
When a query is run in Web Intelligence, the following prompt box appears:
Example: @Prompt syntax with default values
@prompt('Enter value(s) for Customer with IA:',
'A','Customer\Customer with I A',
Multi,primary_key,{u2018Bakeru2019:u20191u2019,u2018Brendtu2019:u20192u2019})

Similar Messages

  • Is there a way to hide some reports based on the selected values in prompt.

    Hi Experts,
    Is there a way to hide some reports based on the selected values in prompt.
    For ex. if a year is selected in the prompt then the report should display year wise report.
    If a year and half year both are selected in the drop down from prompt section then 2 reports should come.. One for year wise and another for half year wise.Kindly look into this.
    Regards
    Ashish

    Hi,
    Use presentation values in prompts for year,half,qtr and month.Example- For year-y is presentation variable in the same way for halfyear-h,qtr-q and month-m.
    create four intermediate reports.Example-Report r1 with only year column,r2 with only halfyear column,r3 with qtr column and r4 with month column.
    Make column in each report(r1,r2,r3,r4) is equal to their presentation variables(y,h,q,m).
    Use four sections.
    Section1-Place report that should come when only year.
    section2-Place report that should come for year and halfyear.
    Section3-Place report that should come for year,halfyear and qtr.
    Section4-Place report that should come for year,halfyear,qtr and month.
    Apply guided navigation for each section selecting guided navigation-
    For section1-
    properties->Guided navigation->check this Reference Source Request(Yes)->select report r1(year)->check this Show Section(if request returns row)
    In the same way do for remaining section2(select r2),section3(select r3) and section4(select r4)
    Thanks,
    Srikanth
    http://bintelligencegroup.wordpress.com/

  • Not able to pass multi values from prompts to Bi Publisher 11g

    I am using a choice list in dashboard prompt with default value:"All Column values" and set to a presentation variable:"presvar
    In BIP 11G data model,in where clause i am writing it as:
    where tablename.colname in (:presvar)
    This is working only when i select single value in prompt ,if i select multi values in dashboard prompt it is not fetching me exact results.It is throwing error:"Invalid parameters"
    Kindly help if someone has faced the situation
    Version:11.1.6.2

    This is a bug:
    Bug 11793832 : MULTIPLE VALUES IN A DASHBOARD PROMPT DOESN'T WORK WITH BI PUBLISHER INTEGRATED
    I have been told that a fix is due in next patch set 11.1.1.7.2

  • Passing integer value in prompt

    Hi Everyone,
    I am trying to pass a smallint datatype value (ex: 2000) from a page prompt to a filter. When I try to view the result, I am getting an error;
    Error getting drill information: SELECT C1, C2, FROM SH WHERE C1 = variable1
    Odbc driver returning an error (SQLExecDriverW).
    State: HY000. Code: 10058....
    Unresolved column: "variable1".(HY000)
    Note: I tried CAST(C1 as INT) for the column formula, but it didn't help.
    But, I tried modifying the prompt column with non-integer, like Product Name, and pass the variable, the value is passed to the filter column Product Name and it worked.
    My goal is to pass a presentation variable(integer) and apply an expression to the variable (variable1 - 1) and use both the variable values for my filter between condition.
    Simply, I am looking for how to pass integer from prompt to filter and apply expression to the passed variable.
    Hope you guys will help me in solving this issue.
    Thanks,
    Tom.

    Hi,
    Can someone help in correcting the syntax that applied on the filter: cast(@{variable1} as int). I tried lot of ways.
    Passing a value from prompt and convert it to integer at filter end.
    I am trying to implement SQL Expression for filter as
    *cast(@{variable1} as int) - 1*
    Thanks.
    Edited by: user598596 on Aug 4, 2009 9:38 PM
    Edited by: user598596 on Aug 4, 2009 9:49 PM

  • Reporting: Multi-value select prompt

    Multi-value select prompt:  Need to verify if there is a limit to the number of items/size in a drop down list or if there are selected value limitations.

    Hi Rick,
    To clarify,  which type of parameters will you be using,  Dynamic or Static?   If you're using dynamic parameters (LOV's or Business Views) there is a limit on the display values,  but I am not aware of a limit on the input limit for multiple values.
    If you're using a dynamic parameter which will use an LOV or Business View the registry key value to increase can be found:
    HKLM > Software > Business Objects > Crystal Report > Database Options > LOV
    MaxRowSetRecords
    Regards,
    Wallie

  • Default value of prompt based on another request

    Hello:
    I have a requirement where I need to set default values of prompts based on another request.
    The prompt is a Date Prompt.
    I tried it using presentation variable, and writing sql query, where is says " WHERE promo_id= @{variable}"
    but it is still not working.
    Please let me know the workaround for this issue.
    Thank you.
    - Vinay

    How is the End Date determined for your BETWEEN operator? I would assume that is variable. Also, is the second report on another dashboard page or on the same page? Assuming both reports are on the same page, do the below. If not, you can use the same prompts on the second dashboard page. Set the scope to "dashboard" and the selection the user makes carries to the second page.
    The easiest way is to have 3 Dashboard prompts: Promo_ID, Start_Dt, and End_Date. Set these prompts to PVs: pvPromoID, pvStartDate, and pvEndDate, respectively.
    Filter report one on pvPromoID and pvStartDate.
    Filter the second report on pvPromoID and use pvStartDate in the filter of the Date column of report two. Assuming the BETWEEN values are variable, then you can write the following on the Date column of your second report:
    "Table Name"."Date ColumnName" <= '@{pvStartDate}' AND Table name"."Date Column Name" <='{EndDate}'
    And on your Promo column, use the filter "Table Name".Promo = '@{pvPromoID}'
    When the user selects the Promo ID, Start Date and End Date from the prompts, both the first and second reports will be filtered accordingly.

  • Multiple values in prompt not working..

    I am able to create prompts using Java/ BO-SDK and i am also able to set values to these prompts; but the values in the report in Infoview are not getting refreshed. for e.g if a single value for city prompt is entered the code works fine but if i set multiple ";" separated values to this city prompt the values are not getting refreshed.
    Here is my code for prompts:
    function to set filter conditions
    public static void setFilterConditions ( final DocumentInstance doc,final List<ConditionFilterDataItem> filterList )
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            if(conditioncont!=null)
                 conditioncont.removeAllChildren();
                   createPrompt(doc, filterList);
                 applyValuesToPrompt(doc, filterList);
              doc.setPrompts();
              dp.runQuery ();
              doc.refresh();
    function to create prompts.
    public static void createPrompt( final DocumentInstance doc,final List<ConditionFilterDataItem> filterList)
            System.out.println("Inside create Prompt method ");
            final ReportDictionary reportDict = doc.getDictionary();
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            ConditionFilterDataItem conditionFilterDataItem = null;
            conditioncont = q.createCondition(LogicalOperator.AND);
              for(int i=0;i<filterList.size ();i++)
                      conditionFilterDataItem = filterList.get ( i );
                      final String[] operands =  conditionFilterDataItem.getFilterOperand ();
                      final ReportExpression reportExpression = reportDict.getChild
                            ( reportDict.getChildByName ( conditionFilterDataItem.getQueryObject ()).getID () );
                      final String objectName = conditionFilterDataItem.getQueryObject();
                      final DataSourceObject dataSourceObject = reportExpression.getDataSourceObject ();
                      ConditionObject conditionObject = null;
                      conditionObject = conditioncont.createConditionObject ( dataSourceObject );
                      final FilterCondition fc = conditionObject.createFilterCondition
                            (Operator.fromInt ( conditionFilterDataItem.getOperator ()-1));
                      ConditionPrompt condPrompt = fc.createConditionPrompt("Enter value of "+objectName+":");
                      condPrompt.setConstrained(false);
                      condPrompt.setMonoValue(false);
                      System.out.println("Prompt created for object name ::"+objectName);
                     if( operands.length > 1 && operands[1]!=null)
                          ConditionPrompt secondPrompt = fc.createConditionPrompt("Enter another value of "+objectName+":");
                          secondPrompt.setConstrained(false);
                          secondPrompt.setMonoValue(false);
                          System.out.println("Another Prompt created for object name ::"+objectName);
                      doc.applyFormat();
                 dp.runQuery();
                  doc.refresh();
                  doc.save();  
    function to set values to prompt
    public static void applyValuesToPrompt(final DocumentInstance doc,final List<ConditionFilterDataItem> filterList)
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            ConditionFilterDataItem conditionFilterDataItem = null;
            Map promptMap = generateInstanceMap(doc);
            OMFilterPrompt[] promptArr;
            if(filterList.size()==conditioncont.getChildCount())
                      System.out.println("conditioncont.getChildCount() "+conditioncont.getChildCount());
                      for(int i=0;i<filterList.size();i++)
                           System.out.println("FilterLsit size is "+filterList.size());
                           System.out.println("current value of i is "+i);
                                conditionFilterDataItem = filterList.get ( i );
                            final OMFilterSimple filter = (OMFilterSimple)conditioncont.getChildAt(i);
                            System.out.println( conditionFilterDataItem.getOperator ()+"  conditionFilterDataItem.getOperator ()");
                               System.out.println(conditionFilterDataItem.getQueryObject()+" conditionFilterDataItem.getQueryObject()");
                            final String[] operands = conditionFilterDataItem.getFilterOperand();
                            System.out.println("operands for "+conditionFilterDataItem.getQueryObject()+" is "+operands.length);
                            System.out.println(filter.getID());
                            promptArr=filter.findPrompts();
                               for(int j=0;j<promptArr.length;j++)
                                    OMFilterPrompt prompt= promptArr[j];
                                    System.out.println(prompt.getDisplayName());
                                    String promptName=prompt.getDisplayName();
                                    Prompt currentPrompt = (Prompt)promptMap.get(promptName);
                                    if(operands[j]!=null)
                                    currentPrompt.enterValues(convertStringToArray(operands[j]));
                                    System.out.println("value set is ::"+operands[j]);
              doc.setPrompts();        
              //dp.runQuery ();
              doc.refresh();
        * Converts String to a string array.
        * @param values -
        *            string to be converted.
        * @return - String Array
       private static String[] convertStringToArray(String values) {
           StringTokenizer promptval = new StringTokenizer(values, "=");
           int loop = 0;
           int size = promptval.countTokens();
           String[] newArr = new String[size];
           while (promptval.hasMoreTokens()) {
               newArr[loop++] = new String(promptval.nextElement().toString()
                       .trim());
           return newArr;
    function to create map for prompts
      private static Map generateInstanceMap(DocumentInstance document)
            Map<String, Prompt> promptMap = new HashMap<String,Prompt>();
            Prompts prompts = document.getPrompts();
            int count;
            if(prompts!=null)
                 count= prompts.getCount();
                 for(int i=0;i<count;i++)
                      Prompt prompt= prompts.getItem(i);
                      promptMap.put(prompt.getName(),prompt);
            return promptMap;
    i first remove all filter conditions the create prompts and then sets values to these prompts.
    the values are set correctly to the report when viewed in Infoview but the values are not refreshed ; so i see a blank report.
    Can anyone help with a code snippet at the earliest.

    All replies so far have focused on solving multiple form issues. I have no problem with multiple forms per page but exactly like the original poster I can not get my h:commandLinks to work when embedded in a h:datatable.
    I have command buttons before and after the data table working great, but for whatever reason command links just do a post back to the backing bean.
    At this point I am not even trying to process data, just verify the action method is being executed.
    Another item of note, the links will always post to the same bean regardless of what bean is referenced in action="...."
    Any ideas?
    Message was edited by:
    jasontc
    It appears once the page is rendered for the first time any future rendering will display the link(s) but the link(s) will be junk.
    I ran a test with a pre populated ArrayList for my datatable, link worked. I then reload the datatable with a different ArrayList and the link is still referencing the original item in the list. So the action method I want to call is called but the .getRowData is incorrect. In addition of the number of items in my list grows the links become junk beyond the original size of the list.

  • Hide values for certain condition types in Quotation Saleorder and Invoice

    Hi All,
    I have written code to hide values for certain condition types in LV69AFZZ,
    this works fine in the ITEM LEVEL.
    But for the same condition types, I could not hide the values in the HEADER LEVEL.
    Unless I hide it at header level also, this is useless.
    Please guide me how to do it.
    Thanks & Regards
    Pradeep

    Hi,
    We have been using FORM USEREXIT_FIELD_MODIFICATION of LV69AFZz for item level & FORM USEREXIT_FIELD_MODIFIC_KOPF of LV69AFZZ for hiding heade level conditions.
    I hope this helps,
    Regards
    Raju chiutale.

  • Hide value in interative report where it stored in DDIC table?

    hi,
    In interactive report, after hide , value is stored in SAP memory, and it also stored in one DDIC table, can any one tell me this DDIC table name.
    thanks in advance
    sarath

    Hi,
                   It will not be any of the DDIC tables.just Stores the content of the dobj variable with the current list row in the current list level. It will be stored in abap memory at the runtime.
                    Assoon as the report has been executed and u come out of the list it will be released.
    Regds,
    Vinsa.R

  • Regarding Can we store User Selected values in prompts

    Please help us in achieving the below requirement.
    Requirement is to store User Selected values in prompts when the report is opened by a User for the first time and make use of those values to refresh the report next time onwards.
    1.Can this be achieved in WebI ?
    2.If it is thru SDK(we use Java), any experience/help in doing this ?
    Environment : BO XI 3.1 with SAP BW Integration

    Hi ,
    If you dont want data to be displayed in this report for this two values , then exclude this two values when you restrcit your characteristic to the variable.
    If you want not to display this values when user opens help for entering the values where he can see all the possible values for selection for the variable, then it wont be possible.
    Hope this will help.
    - Jaimin

  • Result row does not hide value

    Hi all,
    I have some calculated key figures that are using formula variables to get dates to do calculations on.
    Since summing up date values does not lead to anything meaningful, I selected the 'Hide' value in the 'Calculate results as...' section.
    However, the results row is still showing an 'X' in this column when I run the query.
    I have one calculated key figure for a date using this same method (formula variable from an infoobject) and the result row is hidden correctly.
    Does anyone have any idea on why the result row would still display even though it supposed to be hidden?
    Thanks in advance.

    result rows needs need to be suppressed for characteristic properties.
    in query designer , click on characteristics in your reports ( i.e  rows ) goto display property supress the result rows..

  • How to hide the command prompt

    I want to hide the command prompt as soon as the execution begins.
    please can you guide me
    thanks

    Hi,
    I tried as suggested but got the following exception :
    java.io.IOException: CreateProcess: start /B cmd /c myprogram.bat error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:551)
    at java.lang.Runtime.exec(Runtime.java:477)
    at java.lang.Runtime.exec(Runtime.java:443)
    I have the myprogram.bat file [other commands like "echo also do not work].
    The O.S is Windows 2K [it does have the start command] and I am using Jdk 1.3.1x
    Thanks !

  • Error Message: The syntax of the value for prompt 'p_phone_num' is incorrect. Please correct the syntax and try again.

    Post Author: helpwithcr
    CA Forum: General
    " The syntax of the value for prompt 'p_phone_number' is incorrect. Please correct the syntax and try again."
    I am getthing this error while I tried to pass the value from an oracle package to the web when the the crystal report viewer kicks in.
    I found the source of the error. Its just a paranthesis that I used with the phone number inside the function.... The function looks like this
    function phone_number
    return varchar2
    is
    begin
    return '(123) 456 - 789';
    end phone_number;
    I really dont want that paranthesis to go. Its the format that everyone wanted. But they dont want that to be static on the report also
    Please help
    Thanks
    helpWithCr

    Sir, you are a legend!!! 
    Many thanks for putting me on the right track... 
    Here's where I went wrong and how I fixed it.
    First I installed the Azure Pack: MySQL Extension on the MySQL server.
    This was wrong, it needs to be installed on the WAP server/s.
    So I installed the extension on the WAP server and it still didn't work.
    So I uninstalled the extension from the MySQL server and it still didn't work.
    So I also installed the MySQL Connector/Net on the WAP server and it worked.
    This eventually fixed it. 
    What I will say is that in the documentation it doesn't mention installing the MySQL Connector/Net from the web platform installer on the WAP server (unless I have completely missed this)?
    Thanks again :-)
    Microsoft Partner

  • WEBI Date values in prompt list

    Hey, guys!
    I have a prompt in my WEBI report (4.1) for a week ending day, which means that only Saturdays are a valid input. As user not always understand it, I need to change prompt from calendar view to a list of valid values (which are Saturdays).
    Do you know how to do it, guys?
    Thank you in advance!
    P.S. Report is built on a BEX Query on top of a Multiprovider.

    Hello Nikita,
    Please refer this.
    http://scn.sap.com/community/businessobjects-web-intelligence/blog/2014/01/24/dynamic-default-values-with-prompt-in-webi-reports-based-on-bex-queries-in-bo
    Regards,
    Ritika Garg

  • Hide values on dashboard prompt and set defaults

    I have a prompt with 3 values,
    1) Year-Qtr
    2) Year-Qtr Start Date
    3) Year-Qtr End Date
    2 and 3 are constrained based off of what is in the Year-Qtr drop down. How can I get 2 and 3 to automatically have the values set and also be hidden to the user.
    Is this possible?

    Check this thread out for different ways of hiding dashboard prompts which is already posted in our forums:
    Hide dashboard prompts
    And regarding the populating the default values based on the value selected in the other prompt is not possible. The default value will always be a hardcoded vaule which can be in the form of presentation variable or sql results or an expression.
    Hope it helps
    Thanks
    Prash

Maybe you are looking for

  • Recurring Entry for Vendor Line Items

    Hi, We are using SAP ECC 5.0. There are recurring entries to be processed, which run into 90+ line items. These line items include GLs as well as Vendor items. Fast Entry and Account Assignment Model cannot be used as they accept only GL line items.

  • How to make an interactive report, non-interactive

    Hi, I have an interactive report. I have disabled every interactive control from the report by setting "include search bar" to NO and also at column level i didnt allow to sort or group or any other thing. Only problem is that when i click the column

  • Safaris is not blocking pop-up windows

    I just installed Lion and my browser is suddenly doing a very poor job of blocking pop-up advertisements.  Any idea what happened?  Literally, my browser just let through 4 pop-ups in one 20 minute session. 

  • Is the batery of 12" g4 iBook ever under warranty?

    My daughter's iBook purchased last October developed a non-charging issue. First it would charge part way and then none. The Genius's first replaced the power cord, then the power adapter, and finally the motherboard. Now after being at Apple for 2 w

  • Are there 3rd party web cams that work with Mac?

    I bounght an iMac G5 just before iSight was built in. Recently I went to but the iSight camera, but it is no longer sold seperately. Tried an off-the-shelf Logitech cam but to no avail. Is there a 3rd party cam that will work????