Report Prompt & User Response

Hello All,
         Created a BOBJ Report from BEx query. I need to achieve the below tasks for the report.
         1. List of Values shows leading zeros on the Report Prompt, can we remove those leading zeros on the
             report prompt ( BEx report doesnot show any leading zeros on the variable screen when running report)
         2. The Users need a set of selection values to be displayed on the report, For Ex: Material, Profit Center.
             They want to see what they have selected at the prompt which was done using the User Reposne.
              The question is they want to see the Key Value instead of the Text of the material, is this possible.
Please look into and update with your valuable suggestions.
Regards,
Raj

Hello Rohit,
        Thanks for your quick reply.
        I followed  your steps and created a variable for User Reposne and another variable with the where condition
        to populate the Material Key.
        But I am getting the following error as InList is looking for a list of values, not the User Reponse as the List Of Values.
        Error - Missing or bad operand in 'InList' expression at position 51. (WIS 10070)
       My Formula : =([L01 Material Key]) Where ([L01 Material] InList [vURMat])
       Where vURMat: =UserResponse("Material")
       L01 Material is the Material Desc.
       Please look into and let me know where I am going wrong.
Regards,
Raj

Similar Messages

  • Need to automate report having user response in a date prompt variable

    Hi,
    I've a webi 4.0 report which is having date prompt as a input from the user. This report has multiple data providers and is using variable as
    =FormatDate (ToDate(UserResponse("Report Date");"dd Mmm YYYY");"Mmmm YYYY") in the report. Report Date is the user prompt enabling user to input the date and is usually the last day of Month.
    I want to automate the report so that user dont have to input the date in Report Date prompt. How do I implement this?
    If I simply remove Report Date being used as a filter, report will run without asking user but this Report Date is being used as a variable and will #ERROR.
    Please advise.
    Thanks
    Pritesh

    Pritesh,
    Well you can create a Prompt at universe level with if and else as user input or Month end date( eom function ) or you can create variable today at universe level and schedule the every month end.
    Thanks,
    Venkat

  • User response fuction help

    Hi Techis,
    I need to create user response function in webi report in a variable.The variable i use for furtur calculation.
    Gentis is a prompt name and user selects any one of the 2 values in a prompt.
    suppose user select "A" in the prompt it will return '0' and user selct "B" in the prompt user response will return 1 (any how any one value 0 or 1)  save in the variable.i am using r4 and BEX Query is source.
    How can i save 0 or 1 in variable.
    Kindly help me on this.
    Greatly appreciated.
    Thanks--
    Madhu
    Edited by: send2madhuk on Mar 3, 2012 8:31 AM

    If you already have WEBI prompt named "Gentis" then it's simple - create new WEBI variable with following formula
    =If UserResponse("Gentis")="B" Then 1 Else 0
    or
    =If UserResponse("Gentis")="B" Then 1 Else If UserResponse("Gentis")="A" Then 0 Else 99
    Depending on your requirements you'll have to choose between type of variable - Dimension, Detail or Measure. Since you said you will use variable for futher calculations most likely type of variable should be Detail or Measure.

  • WebI Report using BW Query (Getting Error for User Response Function)

    Hello Experts,
    I have created WebI Report on top of BW query. All the prompts are coming from BW query. I was trying to create user response function but it's not working. Do I need to use special function or I can't use.
    Any help would be highly appreciated.
    Thanks
    Nisniki

    hi Nisniki,
    take a look here:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb
    Ingo

  • User response function() for Date Prompt

    Hi Experts,
    I have the requirement to show the date enterted in the prompt in the column of the webi report.
    I used the User response function e.g. =(UserResponse("Report Date").
    Now I am getting the value as 5/14/2014 12:00:00 AM. I dont want to see the time stamp with the date and aslo i want to change the format of the
    date to - yymmdd like 140514.
    Please provide your inputs.
    Thanks,
    Abhimanyu Sharma.

    Hi Arjit,
    I closed the thread.
    Can you please help in the below issue :
    I have two columns in the BEX report:
    1. "Local Count" which is restricted with Multiple Single Value variable "ZIN_CITY" on navigational Attribue 0ROUTE__0ROUTEID.
    2. "Out Count " which is restricted with Multiple Single Value variable "ZOUT_CITY" on navigational Attribue 0ROUTE__0ROUTEID.
    I put value 100 in prompt ZIN_CITY and 200 in ZOUT_CITY when i run this query in BOBJ WEbi.
    But i am getting the error - Not able to retrieve data. i checked in the backend and data is present and also Bex query is working fine.
    IF i change the property of variable to Single value then it is working fine in WEBi.
    Also i tried another method - irresprctive of setting the prompt in BEx on Nav attr 0ROUTE__0ROUTEID, i created the prompt in BOBJ WEBi, but LOVs (list of values)are not coming in the prompt.
    Please suggest on this?

  • User Response Error with BW prompts

    Hello Experts,
    I have created WebI Report on top of BW query. All the prompts are coming from BW query. I was trying to create user response function but it's not working. Do I need to use special function or I can't use.
    Any help would be highly appreciated.
    Thanks
    Nisniki

    Hi,
    You can get the values of the prompts that are coming from BW Query using the UserResponse() function. Following is the way to get the value:
    1. Say, you have a variable ( from Bex ) with Name as "Customer".
    2. Now, in order to get the value of the variable in BO, you need to write the UserResponse() as UserResponse("Customer")
    You have to ensure that the name of the variable is mentioned correctly within " ".
    Hope it helps.
    Regards,
    Tej Trivedi

  • Based on the user response need to calculate measures in universe

    Hello Folks,
    I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
    1.Based on the user response I need to create a report for previous months .
    2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
    Example Date Set :
    DIM 1                    SEP13...............................................................OCT 14      PYTD   YTD
    Florida  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    Arizona  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    M1...M6 are the measures need to come from universe based on the user prompt.
    M1,M2 Need to give previous 13 months based on user response.
    M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
    M4,M6 YTD - Jan 1 2014- OCT 1 2014].
    Thanks for your help in advance.

    Hello Folks,
    I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
    1.Based on the user response I need to create a report for previous months .
    2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
    Example Date Set :
    DIM 1                    SEP13...............................................................OCT 14      PYTD   YTD
    Florida  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    Arizona  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    M1...M6 are the measures need to come from universe based on the user prompt.
    M1,M2 Need to give previous 13 months based on user response.
    M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
    M4,M6 YTD - Jan 1 2014- OCT 1 2014].
    Thanks for your help in advance.

  • Month filter between two ranges based on user response inIDT

    Hi,
    I am working on SAP BO4.0.I have a requirement of creating a month filter on a date which will be between two ranges.The first range is the user response and the second range will be 6 months added to that user response.For eg:-If a user enters 1 as the response for month prompt then the date will be filtered between 1 and (1+6)=7.The database used is SAP HANA.
    Please let me know if further clarifications are required.
    Any help on this will be appreciated.
    Thanks in advance.

    Hi Riddhi ,
    afaik this is not doable in UDT/IDT .Only thing we can make is to run the report for last month by using magic dates concept.
    Check below logic if it helps.
    For a requirement to run a report for  fiscal year starting date to last month if nothing selected .
    @Select(Time\Yr-Mth Key)  between@Prompt('From Date','A','Time\Month / Year',mono,primary_key,,{'JUL 2013'}) and   
    (case when @Prompt('To Date','A','Time\Month / Year',mono,primary_key,,{'JAN 1999'})='JAN 1999' then to_char(add_months(sysdate,-1),'YYYYMM')  
    else  
    @Prompt('To Date','A','Time\Month / Year',mono,primary_key,,{'JAN 1999'}) end)
    This is on Oracle Database.
    When you run webi report
    From Date : JUL 2013 (fiscal year start date)
    To date : JAN 1999( without changing this you can refresh the report for last month , else it'll refresh for selected month)

  • User Response selection

    Hi,
    Here is the background of my question in Webi XI3.1 -
    I have a report that shows Family #, File #, Value. Values range from 0 to 10
    Family#
    File#
    Value
    A
    A123
    0
    A
    A234
    1
    A
    A456
    0
    B
    B123
    2
    C
    C123
    3
    D
    D123
    0
    D
    D234
    4
    D
    D456
    2
    Report has a parameter/prompt for user to select between the values - Value between (Value 1) and (Value 2)
    Question is -
    If a user select a range of of values suppose 0-2, then the report should show family that has a value either 0, or 2 or between 0-2 i.e For user response of 0-1, report should show below i.e IF THE VALUE COLOUMN HAS A USER SELECTION RANGE, THEN SELECT THE ENTIRE FAMILY
    A     A123     0
    A     A234     1
    A     A456     0
    B     B123     2
    D     D123     0
    D     D234     4
    D     D456     2
    I need help achieving this.
    Solution Tried:
    I have created 1 variable for UserResponse ("Value1"), another variable for UserResponse ("Value2")
    I tried to match if Value coloumn in report is between UserResponse ("Value1") and UserResponse ("Value2"), but it is not working.

    In your query, you might have dimensions other than Family # and File #. So the data is being filtered in the highest granular level as per the query you defined.

  • User response function

    Hi
    Can any body explain about user response function with simple example.
    Thnaks in advance

    Assuming your universe contains a filter that prompts for user input using the @prompt function and you use the filter in your report OR you add yourself a filter which requires user input in the query panel of your webi report.
    When the report runs it will ask your user to provide a value by displaying a text that you provided:
    eg. Enter year:
    The function UserResponse('Enter year:') will return the value the user provided and you can use it in a WebI variable for further calculations
    eg. the following code in WebI
    ="User entered year " + UserResponse('Enter year:')
    will display
    User entered year 2010
    assuming your user typed in the value 2010 when prompted.
    Hope this helps.
    Regards,
    STratos

  • Crystal Report prompts for username / pwd when deployed to Bus Obj Server

    Hi All,
    I'm relatively new to Crystal Reports development.  My day job is test analyst.  I'm reasonably technically proficient.
    PROBLEM
    I have created a number of Crytsal Reports which have now been deployed to an Enterprise Business Objects Report Server.  The Server is Business Objects Server XI release 2.
    When I run the report in Crystal Reports Desiger 2008 it does not prompt me to enter the database credentials except if I have modified the SQL command or some other report detail.  Most times I run the report, no database username / pwd is required because I already set this up in the datasource config.
    I' connecting to an Oracle database using ODBC (RDO) connection type.  I cannot get the ODBC (RDO) connection type working from my PC using Crystal Reports Designer 2008, because I don't have ODBC configured for my datasource.  Instead, Im using the native Oracle Server driver to connect to my datasource.
    An existing user in the client organisation configured my report to use the ODBC (RDO) conneciton type for me because the Business Objects Server in the client organisation does not (currently) support the native Oracle driver.  Other reports this user has created and deployed using the ODBC conenction type run successfully without prompting user to enter the database connection credentials.
    NOTE:
    This report users an SQL Command (new to Crystal 2008 I beleive?).  The command is reqiured for this report due to the complexity of the underlying SQL query.
    Does anybody know why the report keeps prompting me to enter the database credentials at runtime?  Obviously for security reasons I don't want report users to have to enter the database schema name and password in order to run the report.

    Hi,
    You need to uncheck "Propmt the user for database logon when viewing". You will find this when you deploy the report on the BOE XI R2.
    The deployment step main heading is
    Specify Databse Crendentials.
    Hope this helps,
    Thanks
    -Azhar

  • Single valued Report Prompt as start value- calculate the end value

    Hi all,
    I want to be able to create a report prompt (not a dashboard prompt) on a report.
    The prompt has to be a drop down list to select the 'Start Month'. In the report, I'd like to display *12* months starting from the 'Start Month' selected in the Prompt.
    So, if the value selected in the Prompt is March 2010, the report should display months from March 2010 to Feb 2011.
    PS: This report is not going to be on a dashboard. It will be an ad-hoc report in the Shared Folders for users.
    thanks!

    I think that clears it up then, yes? So the answer is, use a dashboard to share.
    Answers is great for individual use and, if the report doesn't require prompts, for sharing. But once you involve prompts, that's where you need the dashboard as the "palette" on which to "paint" your reports with prompts. Answers is a tool with its purpose, but so is the dashboard. Take advantage of the purpose of the tool and your life will be much easier!
    If that answers your question, mark answer as "correct" and close this thread. Thanks.

  • Is it possible to enter "Input Control" values on the report prompts screen? How?

    Our report users are used to enter their parameters on the prompt.
    I have created a new report on WEBI XI 3.1. and this report has some prompts and also input controls.
    That means, when the user wants to run the report they have to enter their parameters on the report prompt and then they have to navigate to the input control and select the values.
    That makes them feel like they are entering parameters twice for a report.
    Is there any way the initial value for an input control can be entered on a report prompt screen?
    So, the user enters the values of the prompt and the initial values of the input controls together only once at the prompt screen?

    Thank you very much for the confirmation Amit.
    Yes, I considered adding a prompt instead of an input control but this input control selects data based on a custom calculation performed in a variable at the report level. To create a prompt on the query I would have to make the calculation at the universe level.
    Anyway, it seems 'Input Control" may be a useful tool for our reports, so we decided to get our report users accustomed to the input control tool.
    Thanks again for the help.
    Francisco

  • Calculation based on user response

    I have a report with 2 columns based on the data in the first column i need to perform either sum or average for the next column
    C   July
    c1 value1
    c2 value2
    c3 value3
    c4 value4
    c5 value5
    c6 value6
    If(Match(UserResponse("M1:");"c1") OR Match(UserResponse("M1:");"c2") OR Match(UserResponse("M1:");"c3") OR Match(UserResponse("M1:");"c4");Sum([Jul]);Average([Jul]) )
    Value1,2,3,4 aggregation is sum but for c5,c6 also it is giving sum value but not average but i want the aggregation for value 5 and value 6 as avearge

    For example take efashion unv
    My requirement is if user selects california or newyork the aggregation on sales revenue should be average and sum on the other two states.
    Code:
    =If(UserResponse("State:")="California" Or UserResponse("State:")="New york" ) Then Average([Sales Revenue]) Else Sum([Sales Revenue])
    this formula is not working , iam getting blank rows under sales revenue column
    Is there something to do user response function because it returns values as california;new york;massachusetts;texas
    could you please post the correct formula
    State Sales Revenue
    California
    New York
    Massachusetts
    Texas
    Edited by: pullabh on May 25, 2010 6:35 PM

  • Current week/current Month/YTD data based on user response

    Hi
    I have one attribute request_created_date
    Based on this i want to create one more attribute which will have lovs as week(Request_created_date for current week),monthly(Request_created_date for current week),
    YTD(Request_created_date for current year to date).
    Now i want to use this new attribute (Having LOV as week/Month/YTD) as a report prompt so that user itself can select whether he wants to see
    week/month/YTD data in report.
    To Add to this :
    Req is something like this if user select week , Req_created_dates should be filtered for all the dates of cureent week.
    Req is something like this if user select month , Req_created_dates should be filtered for all the dates of cureent month.
    Req is something like this if user select Year , Req_created_dates should be filtered for all the dates of cureent year.
    How can i achieve this?

    Add One variable
    Time_Data ="Weekly"
    Create Input control (Radio Button)
    Use Custom LOVs (Add Weekly , Monthly , Yearly ).
    Set Default (Weekly).
    Now Create Another Variable
    User_Want = ReportFilter([Time_Data])
    Now filter your Report for week , Month or Year (as per Selection) using If else Statement .
    For eg.
    For Week
    [Created_Date] Between RelativeDate(CurrenDate();-7) And CurrentDate()
    For Month
    (Year([Created_Date]) = Year(CurrentDate())  And Month([Created_Date]) = Month(CurrentDate()))
    For Year
    (Year([Created_Date]) = Year(CurrentDate())

Maybe you are looking for

  • HP Officejet 4620 - Black ink will not print.

    I have read through the blogs on this and it looks like others have run into the same problem that I am having.  It says that my warranty was up in Sept. 2013.  So, I'm not sure where to go from here.  I was hoping that someone from HP might be able

  • Question about statement for all entries

    Hi Abap experts, I have a question concerning the ABAP statement for all entries. Explanations: Let's say that my source package (Source table) contains 2 types of data: -type1 -type2 I would like to use the statement select from table into internal

  • Suddenly reduced BB download speed - again!

    Many months ago, I suffered a drastic reduction in BB speed.  Please can you help?  According to BT website, I should get BB download speed of 12.0 to 14.5 Mb/s but since September this has been around 9 Mb/s.  On 19 December 2012, the speed suddenly

  • Handling the Standard Toolbar Button click of an ALV

    Hi Experts, I have created an ALV grid output using CL_GUI_ALV_GRID with standard buttons(default) on the toolbar. When I click on any of these standard buttons, say '+' button to insert records, my custom program is not hit. I know there is a protec

  • Filter Function

    Hi I am trying to use the filter function in my Report Filters. Below is my SQL statement in the report filter but it throws an error that Filter needs an aggregate measure in the first expression. Finance.Date = FILTER(Max(Finance.date) USING ABC."R