Using prompt in the report

Hi
     I am generating report having prompt ,my report displays having deptno,deptname,designation.
By selecting the deptno through prompt the report generated for particular deptno information.But the thing is i dont want to drag deptno into result page only i took deptname,designation but i want to display deptno also in report by  selecting deptno  in prompt.
pls let me know wat property of prompt will help full is there any other way.
Thanka in advance.

You need to use the UserResponse() function to show the selected value from the prompt on Report.
Create a variable on report with formula - UserResponse("Enter Dept No.")
P.S. The string here Enter Dept No. should exactly match with the prompt string.
Regards,
Rohit

Similar Messages

  • Multi-Select Prompt to the Report

    Hi,
    How to pass value(s) chosen in a Multi-Select Prompt to the Report?
    Is Prompted will pass the values but My requirement is to exclude those values in the Report.
    I think we can not use of Presentation Variable in this scenario..
    How can I do it?
    Thanks,
    Vency

    Hi..
    okay.. have you think of guided navigation in this case...
    I am not sure.. that it really helps... but just one approach...
    If it works.. then okay.. just think in that way...
    This may helpful to you in understanding of guided navigation...
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/
    Thanks & Regards
    Kishore Guggilla

  • Query Stripping not working properly when using variable in the report

    We have issue with WEBI document that have query stripping enable.
    Once the query stripping enabled there is no data return in the report.
    We have investigate on the problem, the query stripping function are notable to retrieve objects that indirectly used in the report
    as we have
    many variable in the reports.
    Ex.
    Var1 = object1 + object2
    Var2 = Object3 + Object4
    Var3 = Var1 + Var2
    Var4 = Object1 + Object2 + Object3 + Object4
    If we use only Var3 in the report, the object1,2,3,and 4 will not be
    retrieve.
    But if we are using Var4 in the report, the object1,2,3,and 4 will be
    retrieve properly.
    Please let me know is it a by-design behavior, if yes please share points on it

    Hi Amit,
    Thank you for response, however i already had alook on that VIdeo and it tells us about the basic enabling of query stripping.
    But my question is when we have a Variable in a report which is dependent on the other two variables it gives me #error so is it by design or not.
    Regards,
    Abhinav

  • How to find a cloumn or table used in all the reports

    Hi ,
    Suppose I have like 15 to 20 reports and i want search a particular column or table where it has been used in all the reports.Is there any easy way ?
    Thanks,

    Well "used in reports" can mean different things. Column used for display or columns used for filtering for example.
    For a filter column you could literally search for
    MyTable."Sales Rep"Whereas for a display column you'd need to search for
    MyTable.&quot ;Sales Rep&quot ; (without the blank space after quot
    That's simply due to how stuff gets stored in the webcat:
    <saw:column formula="MyTable.&quot;Sales Rep&quot;" columnID="c3">PS: How can you correctly escape the string &quot so it doesn't become " in here?

  • Create prompt inisde the report not the dashboard promt

    Hi All,
    I had this rek today saying that i need to create a prompt inisde the report not the dashboard prompt.can anybody help me how to create the prompt inisde the report.

    Hi,
    In Compound Layout we have the option ->Other Views -> No Results View click on that and Edit the No Result view and Type what you want in Text portion.
    Thanks,
    Balaa...

  • How to use Prompts in the Filter created in Change Report Properties

    Hi all,
    I have created one Datetime prompt in Change report properties dialogue box.
    Now how can I use this same one in the filter ??
    Since I didn't get Surface and Prompt option for the Date field in the filter.
    Any help is appreciated.
    Thanks

    Actually problem is with Datatype..It was timestamp but it should be Datetime

  • Using @Prompt in the SELECT clause (?)

    Post Author: faltinowski
    CA Forum: Semantic Layer and Data Connectivity
    Product:  Business Objects
    Version:  6.5 SP3 
    Patches Applied:  MHF11 and CHF48
    Operating System(s):  Windows
    Database(s):  Oracle
    Error Messages:  "Parse failed: Exception: DBD, ORA-00903 invalid table name  State N/A"
    Hi!  I'm bewildered -- we have an object that parses but when I try to reproduce this object, it does not.
    We have a universe that's been in production for several years using an object developed by another designer who's no longer with the company.  This object is a dimension, datatype is character, and there's no LOV associated.  The SELECT statement in this object is
    decode(@Prompt('Select Snapshot Month','A','Object Definitions\CY Month Snapshot',MONO,CONSTRAINED),'00-Previous Month',to_number(to_char(add_months(sysdate,-1),'MM')),'01-Current Month',to_number(to_char(add_months(sysdate,0),'MM')),'01-January','1','02-February','2','03-March','3','04-April','4','05-May','5','06-June','6','07-July','7','08-August','8','09-September','9','10-October','10','11-November','11','12-December','12')
    This object parses. The client uses the object in the select clause to capture the "month of interest" for the report.  So the report may be for the entire year's data which is graphed to show trends, but there's a table below the graph which is filtered to show just the month of interest.  Typically they use the value "00-Previous Month" so they can schedule the report and it will always show the last month's data.
    Problem
    The original object parses.
    If I copy the object within the same universe, it parses.
    If I copy the code into a new object in the same universe, it doesn't parse
    If I copy the code into a new object in a different universe, it doesn't parse
    If I copy the object to a different universe, then edit the LOV reference, it doesn't parse
    If I create any new object having @Prompt in the SELECT statement, it doesn't parse.
    If another designer tries - they get the same thing.
    What am I missing?  Obviously someone was able to create this successfully.
    On the brighter side
    The object I created in a new universe (which doesn't parse in the universe) seems to work fine in the report.

    Seems that, the prompt syntax is correct.
    But the condition is not correct.
    You are taking the prompt value and not doing anything. That could be one issue for this error.
    I believe that, you just want to capture the prompt value use it in report level and do not want to apply as a filter.
    So, use the condition as follows.
    @Prompt('Select Grouping','A',{'A','B','C'},mono,constrained) = @Prompt('Select Grouping','A',{'A','B','C'},mono,constrained)
    Hope this helps!

  • Is there a way to create a variable referenced to a prompt on the report side?

    Post Author: Martensa
    CA Forum: Desktop Intelligence Reporting
    First I am querying current and prior year on the query builder by two prompts that are asking for the current and prior year. Then I am creating a variable on the report side that pulls the current year into one column and prior year into another column. (I.e. =(revenue) where (year = 2006)). Is it possible the have the year part of the formula to be referenced to a prompt? (I.e.=(revenue) where (prompt= 1))?
    If anyone could give me an answer it would me much appreciated.
    Thanks

    Post Author: [email protected]
    CA Forum: Desktop Intelligence Reporting
    Martensa,
    Create a variable "Prior Year" =UserResponse("Revenue" , "Prior Year")
    Create another variable "Current Year" =UserResponse("Revenue" , "Current Year")
    This assumes that "Revenue" is the data provider name and your Prompts are "Prior Year" and "Current Year".
    Regards, Jim

  • "Subscriptions cannot be created because the credentials used to run the report are not stored, or if a linked report, the link is no longer valid" error

    Get the aforementioned error. I have modified my Data Source many times trying different settings. I created a SQL Login called RS_Subscriber, local machine acct the same name, added the same as a user for our database and the ReportServer database. Tried
    with and without the Use as Windows credentials when connecting to the data source checked. I Test the connection okay but keep getting the #$^^$& error message.
    Does anyone have explicit instructions on what type of account, where to create the account, what rights the account needs in order for the stored data source credentials to work?
    MichiganMike

    Hi, This is because SSRS requires a Login to connect to the datasource to process the report when subscription will be occuring at its scheduled time. I would recommend you to store the credential securily into report server.
    GoTo: Report>Properties> Click on the Data Sources tab and you will see following options:
    a)A shared data source
    b)A custom data source
    Use option b) and click on option Credentials stored securely in the report server
    and provide credential information and further you can use options: Windows credentials and Impersonate the authenticated User if you require. Click on apply button.
    *You can use any option of them provided in first option(a) also using the shared data source which is having credential saved into report server.
    Once you have done with above you will be able to create subscription.
    Cheers Sunil Gure

  • Using ISCRCommandTable in the Reports Application Server

    Hi
    We have a report that is linked to a Command but the query may be constructed in different ways (using different tables). In past we've pushed the data to the report but I was looking into pulling the data.
    I thought it might be possible to create a Command Object then edit the CommandText Property in code using the RAS API (inproc). Though it's possible to set the CommandText this does not seem to effect the data displayed. Is there a reason for this? Am I doing something wrong?
           Dim mySampleReportPath As String = "C:\Inetpub\wwwroot\SetCommandtext\Report1.rpt"
            rd.Load(mySampleReportPath)
            ' Access the ReportClientDocument API in-process using the ReportDocument class.
            rcd = rd.ReportClientDocument
           'Change SQL in Command.
            Dim c As CrystalDecisions.ReportAppServer.DataDefModel.ISCRCommandTable
            With rcd.DataDefController.Database.Tables
                c = .Item(.FindByAlias("Command"))
                c.CommandText = "SELECT name, '123' as test FROM Checklist"
                rcd.DataDefController.ParameterFieldController.SetCurrentValue("", "test", "USA")
                rcd.DataDefController.ParameterFieldController.SetCurrentValue("", "title", c.CommandText)
            End With
            ' Set the report source of the Crystal Report viewer to the instance of the report.
            myCrystalReportViewer.ReportSource = rd
    Cheers
    Alex

    Found the answer in this code example: [NET-CS2005_RAS-UNMANAGED_CR115_MODIFY_COMMAND-TABLE-SQL|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/30da384c-bb66-2b10-8392-96acb15624c6]

  • Using attributes in the Report Designer

    Hi,
    Does anyone know if it's possible to display attributes of an InfoObject in the Report Designer? I made a query using several attributes of an InfoObject. This works great when I just run the query but as soon as I use the query as a datasource in the Report Designer the attributes are gone.
    Thanks in advance,
    Alex

    Hi
    you can view the attributes in RD.
    which version of RD u r in. previous revisions u r not able to see the Attributes in the RD update ur system to latest revision.
    In the Older versions u can select the attribute, After executing the Query, Click on Filter then select infoobject and Edit. In the Selector u can view ur attributes for the Selected Info object
    Regards
    Veda
    Message was edited by:
            vedaprasuna devallapalli

  • How to use prompts in a report

    I am trying to create a report dealing with our sales orders.
    Seems to be straight forward enough but..... 
    I create a report that gathers all of the data and I add a parameter field, and add that field to the report and then run the report. I get the prompt and can enter the sales order number that I want, but.... I still get all of the records.
    Can someone try to help me figure out what I am doing wrong here.
    Thank You.
    Jeff

    You need to add a formula to the Record Selection formula to limit the records reported.  Something like:
    {db.order_number} = {?Order Number Prompt}
    HTH,
    Carl

  • Using WebUtil on the report

    can the same webUtil be used for the report?
    What i'm trying to do is that I have a link within the report as a hyperlink, when
    user clicks on that, it opens a file(stored on the client's terminal) from client's machine.
    Thanks

    U can use Text_io package in Reports 9i which reads & writes on Application server .I have never used webutil in reports but guess it can be used in Reports as well.

  • Name  the BADI that used to generate the report RSWUWFMLEC

    Hi,
      Please mention the name of the BADI that used to generate or trigger the report RSWUWFMLEC.
    regards,
    George.

    RSWUWFMLEC. is program which is used to generate mails.
    it is trigerred by scheduled jobs...
    it is not triggered by any BADI....

  • Default date in reports without prompting in the report

    Hi,
    I am using xcelsius 2008, i have developed a report and it should run on a particular date (current date) without hard coding it in the worksheet. because don't want the user to enter date , and report should run for current date.
    Regards
    Aflal

    Still, you would use Excel formulas. I assume you're passing values to a filter? E.g.
    From date: =now()-365
    To date: =now()
    Or something to that effect.

Maybe you are looking for

  • Total display in script

    I am displaying line items in the script. I have total 20 line items and in each page i am displaying 5 line items with page wise totals . I am displaying 20 line items in 4 pages each page below i am displaying 5 line items amount totals , in the la

  • Problem with distribution model receiver ports

    Hi, I am facing a problem with distribution model. I am using Distribution model for material classification data. I am sending my classification data using CLFMAS message type to one of the receiver. Again another person also sending classification

  • Apple TV rental has corrupted sound

    I just rented a movie on my apple tv.  It downloaded and the image is perfect but the sound is corrupted and garbled.  It can't be watched.  Any idea what I can do?

  • JMS Sender Channel not Polling

    Hi Guys, Scenario: BEA Weblogic - > JMS Queue - > Sender Channel JMS - > SAP XI - > SAP R3 We had initially setup this scenario using MessageSelector because the provider JMS Queue had mutiple message types on it. As Murphy's law would have it, the M

  • Center component frame in VBean area

    I have a component that I want to show in a VBean container area in Forms. All works fine except that the component is not centered in VBean area. It sitts to the right and down a bit outside the bean container. When I add the component to the bean c