Building a JSP-based Web Report with a Parameter Form

Hi,
I tried in building a report as shown in the example in OTN under reports in the url
http://otn.oracle.com/products/reports/htdocs/getstart/examples/ParameterFormJSP/index.html
i.e for Building a JSP-based Web Report with a Parameter Form. The directions in this document were not clear and if any one document which is clear with instruction will be useful to me. In this example it is shown with search criteria with sigle text box and if any one had idea & code to place an combo box and population of the record group in the combo box.
Thank you in advance.

hi,
we will be releasing a new example w.r.t creating a parameter form using the reports JSP within the next month.
as for your request for a combo box. this widget is not available via regular HTML form elements. you can either have a select list or dropdown list.
for a regular select list you would use the following (only pseudo-code)
<select ...>
<rw:foreach>
<option value="<rw:field .../>">
</rw:foreach>
</select>
to populate a select list.
regards,
philipp

Similar Messages

  • Using Run_Report_Object() To Call Reports with a Parameter Form

    Hi
    I have successfully migrated a version 5 application to 10g but, I'm having a particular issue with reports run from a menu.
    The report has 3 user parameters and they previously worked with a client server parameter form.
    How do I pass the parameters from the report to the RUN_REPORT_OBJECT in the pl/sql editor in the menu ?
    In my other reports I have used a :block.item bind variables but in this case there is no datablock involved.
    Any help with the correct syntax will help.
    Message was edited by:
    4dyomi
    Message was edited by:
    4dyomi

    Dear Friend,
    You can use following code to run a report from "Forms10g" using RUN_REPORT_OBJECT. Directly copy below code to your forms10g and make appropriate changes. In the code, "Manish" is the name of report server running on your application server. To start report server u can run this command on command prompt on your application server.
    rwserver server=<server_name>
    This command will start report server. In below code i have a text box called "ADDRESS_CODE" which i am passing as a parameter to report which conatains a parameter called "SUBCODE". This is a tested code and works fine in Forms10g DS.
    declare
         cnt number(3);
         report_id report_object;
         REPORTSERVERJOB VARCHAR2(100);
         VJOBID VARCHAR2(100);
         REPORTSERVER VARCHAR2(50) := 'MANISH';
         V_URL2 VARCHAR2(500);
         V_URL VARCHAR2(100);
         PARA PARAMLIST ;
    begin
         PARA := CREATE_PARAMETER_LIST('INPUT1');
         --'ADDRESS_BOOK' IS A REPORT OBJECT DEFINED
         REPORT_ID := FIND_REPORT_OBJECT('ADDRESS_BOOK');
         --FOLLOWING PARAMETERS ARE MANDATORY PARAMETERS TO SET REPORT OBJECT
         SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, FILE);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'HTMLCSS');
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, REPORTSERVER);
    --TO SEND PARAMETERS TO REPORT ADD FOLLOWING CODE, (:ADDRESS_CODE IS A TEXT ITEM)
    ADD_PARAMETER(PARA,'SUBCODE',TEXT_PARAMETER,:ADDRESS_CODE);
    --RUN REPORT OBJECT TO FETCH JOBID
    REPORTSERVERJOB := RUN_REPORT_OBJECT(REPORT_ID,PARA);
    --VJOBID IS JOBID THAT IS SET AT RUNTIME BY REPORT SERVER
    vjobID := substr(ReportServerJob,length(reportserver)+2,length(ReportServerJob));
    v_url := '/reports/rwservlet/getjobid'||vjobID||'?server='||reportserver;
         Web.Show_Document(v_url,'_blank');
         DESTROY_PARAMETER_LIST(PARA);
    end;
    Regards,
    Manish Trivedi
    Software Developer
    Ambuja Cement,
    India.

  • Error when trying to open a WEBI report with OpenDocument.jsp

    I have a weird problem, i'm trying to open a WEBI report with OpenDocument.jsp and I get the following error message
    An error has occurred: Could not find the document.
    the weird thing is that this error only occurs when i use Internet Explorer.  When i use the same link with Google Chrome, i see my report.
    How do I make this work, our standard web browser is Internet explorer.
    here is a sample link i use to call my report.
    http://<server>:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AVGrgQALGJZGipKCfjPPZ3g&sIDType=CUID
    Our BO environment is :
    BO XI 3.1 sp2 fp 2.3
    tomcat 5.5 front-end

    Hi,
    I don't know how much this solution will help you but it is worth trying.
    SAP Note: 1198844
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3131393838343426]
    Regards,
    Bashir Awan

  • Scheduling WEBI reports with API

    Is it possible to schedule a WEBI report with an external API?
    Explanation: our customers can view their data on our internet site. We want to show a list of reports where they can subscribe. For example: report X with parameter Y each monday morning in Excel format to mailadress Z.
    This subscribtion is stored in our Oracle database. The database sends an API to the BO enterprise server. BO schedules and sends the report to the customer.
    Regards,
    Emiel

    Hi
            What is the API ? Is it a Text file ? if so then you can schedule the reports based on an event in BO .
    Regards
    Prashant

  • BOXIR2 FP4.6 -WebI report with merged dimensions: Incorrect data

    Issue: BOXIR2 FP 4.6 -WebI report with merged dimensions: Max value of an object from second query is displayed in the report even when the formula is based on the object from the first Query.
    Data displays properly on BOXIR2 SP2.
    Steps to reproduce.
    1.Use u2018Island Resort Marketingu2019 Universe to create a WebI report.
    2. Create a Query with objects u2018Reservation Dateu2019 and u2018Future guestsu2019 and apply a query filter where the u2018Reservation Dateu2019 is between 1/1/2001 and 31/1/2001 an Run the query.
    3. Add a second Query with the same objects i.e. u2018Reservation Dateu2019 and u2018Future guestsu2019 and apply a query filter where the u2018Reservation Dateu2019 is between 1/1/2001 and 31/12/2001.
    4. Create a report variable MaxDate using the syntax "=Max([Query 1].[Reservation Date]) In Report"
    5. Use the objects u2018Reservation Date Query 2u2019, u2018Future guests Query 2u2019 and u2018MaxDateu2019 variable to create a table in the report.
    You will find the Maxdate column displays Max date values of u2018Reservation Date Query 2u2019 instead of u2018Reservation Date Query 1u2019.
    Could you please advice me on this issue.

    Hi Hiteshwar,
    MaxDate variable returns a maximum of Reservation date  from Query 1 i.e. 1/15/01 which is correct. If you put that variable separately it will display that date correctly but you are grouping it along with objects from the query2 thatu2019s why it is displaying correct value for Query 2 where it finds 1/15/01, but for other values WEBI canu2019t group this value as it refers its formula which contains Query 1 reservation date.
    Hence we canu2019t say it is displaying values from Query 2 it is taking values from Query1 itself  for 1/15/2001 and for remaining values it is taking non matching values from Query 2 with which it is grouping.
    If you put that variable with objects from Query1 it wonu2019t display 1/15/01 but all values reservation date from query 1 contains because it is grouping based on reservation date though it is single max value.
    Even when you write "=Max(Query 2.Reservation Date) formula and use it with objects from query 1 though it contains so many values it matches (Groups) only the values from reservation date from Query 1.and displays only those values i.e. 1/1/2001 and 1/15/01.
    MaxDate returns 1/15/01 as Maximum Date value from Query 1 but Query 2 contains value far more greater than 1/15/01 hense that will be more incorrect data if WEBI displays maxdate as 1/15/01 along with Query 2 objects.
    Here we can avoid this behavior by Custom SQL but MaxDate is a report level variable hence we canu2019t edit SQL.
    If your data contains some duplicate values WEBI will repeat MaxDate value like
    Reservation date     Restaurant           Future_Guests    Total Guests 
    1/1/01                          ABC                         3                   3     
    1/15/01                       XYZ                          4                   8    
    1/16/01                       XYZ                          4                   8  
    By default, WEBI Groups Total Guests based on the Restaurant and Reservation Date, but if we want we can group those values based only on Restaurant which will duplicate Total Guest values for Restaurant XYZ. But you report contains only one dimension with all unique Values we canu2019t group those.
    I hope this is clear.
    Thanksu2026
    Pratik

  • Unable to schedule webi report with Test user

    Hi All,
    I get the below error when i try to schedule a WEBI report with user id.
    I can schedule with my developer id.
    Error Message: Sorry, you do not have the right to 'Edit objects' (ID: 6) for 'sudes_errors' (ID: 45941). Please contact your administrator if you require this right. 
    Any inputs greatly appreciated.
    Thanks

    Error clearly showing that, Test user need access rights defined @ CMC.
    Contact BO admin, to assign Schedule/Full control rights for that Test user.
    Thank You!!
    H2H

  • RWI 00200 Error while scheduling the Bex Query based Webi report

    Dear All,
    I am facing the below error while scheduling the Bex Query based Webi report.
    Error:RWI 00200
    We are using BO XI 4.0 Sp05.
    Please advise

    Hi,
    I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
    Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
    Please suggest what could be done.
    Thanks and Regards,
    Ankit Sharma

  • Saving WebI report with links to desktop in pdf format

    I have a user who is asking if a WebI report with drill down links can be saved to his desktop as a pdf and still have the links work. Has anyone had the same request?

    it´s ocurrs because the drill down that you have in the query, try with another query and export this to a PDF and if you can access ... is that is not possible to use the link for a drill down in a PDF.
    good luck!

  • Refresh Webi report with merged cells in crosstab in PowerPoint

    Hello,
    I have created a Webi report with a crosstab. In this crosstab I have merged some cells in the top left corner and inserted a title for the crosstab. Now I want to import the crosstab in PowerPoint with Live Office. The problem is, that after the import in PowerPoint the cells are not merged anymore. So I merged them manually. When I refresh the crosstab, the cells are still merged in PowerPoint, but they are empty.
    Any ideas how to solve this issue?
    Uwe

    Hello,
    I have created a Webi report with a crosstab. In this crosstab I have merged some cells in the top left corner and inserted a title for the crosstab. Now I want to import the crosstab in PowerPoint with Live Office. The problem is, that after the import in PowerPoint the cells are not merged anymore. So I merged them manually. When I refresh the crosstab, the cells are still merged in PowerPoint, but they are empty.
    Any ideas how to solve this issue?
    Uwe

  • How to create Webi Reports with SAP BW Objects

    Hi,
    I have no knowledge on creating webi reports with SAP BW Objects like (InfoCube, DSO, MultiProvider, Infoview, MasterData Infoobject).
    As per my understanding Webi reports can be developed with universe which is created on BEx Queries or OLAP BAPI interface, unfortunately i don't have BEx App installed. So, i have to create OLAP universe in this case.
    Here my question is can we create universe with all the available BW objects like InfoCube, DSO, MultiProvider, Infoview, MasterData Infoobject.
    Please, Can anyone suggest a solution
    Thanks,
    Siva
    Edited by: siva@chinni on Apr 25, 2010 4:45 PM

    Hi,
    Yes we can create WebI on the top of SAP Objects - InfoCube, DSO, Characteristics etc...
    But we have to keep in mind that for WebI we must create Universe.
    When we create universe we make direct connection with SAP Objects but we get less functionality - such Calculated Key Figures, Restricted Key Figures, formulas etc. Now you have to achieve all these missing components at Universe Level and at WebI level.
    If you are creating your universe on the top of DSO and InfoObject then make sure they set for reporting.
    There are some online documentation which tells that what functionality you can achieve.
    Check the following document to have a bird's eye view.
    [http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/100369a7-033e-2c10-94a4-f254f8578153?quicklink=index&overridelayout=true]
    There is another document in PPT which I could  not find online. It is very helpful document. It is:
    II. SAP BusinessObjects BI Solutions XI 3.1 and SAP NetWeaver BW 7 Current risks, approach, and mitigating strategies for Client Partners, License Sales, and Consulting Delivery Managers
    Partner Enablement Seminar
    Regards,
    Bashir Awan

  • How to connect Already created WebI reports with Xcelsius Dashboards

    HI Experts,
    My requirement it to bring data from already in use WebI reports to a consolidated Dashboard. I am aware of connecting universe with Dashboard with the help of QaaWS.
    Is there is any other way that we can connect our dashboard?
    We are thinking to publish those dashboards on the SAP Enterprise BI Portal.
    Thanks in advance!!!
    Edited by: BIBO_Apprentice on Aug 13, 2011 7:40 AM

    Hi,
    One can connect WebI reports with Xcelsius dashboards in 3 ways:
    1. Using QaaWS : connects universe with Dashboard. Dashboard uses the WSDL link to get data that works on SOAP (that works on exchanging web structures).
    2. Using Live Office Connection: With the help of Live Office one can connect the WebI reports directly. One can take advantage of the scheduled instances of the WebI reports. So it is good for time consuming reports.
    3. Using BI Web Services: Here custom web services are created of intended report instances. Publication is done from CMS side.
    after that WSDL is used as any other web services.
    Get back if you need any further clarification.

  • Problem scheduling webi reports with XI3.1 pending forever

    Hello,
    I've got a problem scheduling webi reports with XI3.1 scheduler.
    After confiming scheduling job (loggin in with "administrator" user), status remains "pending" forever(using Infoview or CMC).
    I tried different job recurrence a modalities (attachment formats, destination user etc).
    I also try to add (-javaArgs "Xmx900m,Xincgc,server") wich is the SAP solution found on its portal but it does not work.
    I use BO XI 3.1 in Windows 2003 server, after the install I reduced the maximum memory of Java in the tomcat 5.5.2 server from 1024 to 512 because the server never started with the initial size.
    Please I need Help.
    thanks in advance,
    Samy

    Hi,
    Below SAP solution found found in BOB Forum.
    I applied this solution and now everything works fine !!
    I just add  this -javaArgs "Xmx900m,Xincgc,server"  in the command line of the server
    Hope this helps:
    Symptom
    Scheduled WebIntelligence reports remain stuck in 'pending' status after installing Microsoft windows patches of April 2009. Restarting the Adaptive Job Server, Central Management Server or Server Intelligence Agent has no effect.
    The Event Viewer logs show the following entry: Unable to start the sub-process (Job Server Child). Cause : Couldn't get IJob interface or writing IAudit: Pipe exception. Reason: jobserverchild (WebIJavaSchedulingService ReplicationSchedulingService, 0, Timeout waiting for Child [4716] to register ([120]seconds).
    Reproducing the Issue
    Install Business Objects Enterprise XI 3.x on a French Windows 2003 SP2 32bits server
    Install the following Microsoft windows update patches of April 2009:
    KB923561, KB925336, KB952004, KB956572, KB959426, KB960225, KB960803, KB961373, KB967715
    Schedule a WebIntelligence report
    The report remains in Pending status
    Business Objects Enterprise XI 3.1
    Windows 2003 SP2 32bit (French)
    Microsoft windows patches of April 2009
    Cause
    With Microsoft windows patches of April 2009, the maximum Heap Size for java processes has been reduced to under 1000MB.
    Resolution
    Apply the following steps to fix the issue:
    Launch the Central Management Console
    Select Servers
    Right click on <server_name>.Adaptive Job Server and select Properties
    Add the switch -javaArgs "Xmx900m,Xincgc,server" in the command line of the server
    Click on Save and Close
    Restart the <server_name>.Adaptive Job Server
    Regards .
    Sam.
    Edited by: samouber on Aug 21, 2009 2:54 PM

  • Mimes in "Print Web Report with Excel"

    Hi all,
    i am using the "How to.." Paper to implement the functionality for Printing Web Reports with Excel. I also Modify the Table during the rendering with the Modify Table Interface to set some mimes instead of inidcators in one column. The Export
    into Excel Works Fine but after saving that Report in Excel, and reopen it i have
    to confirm a Security Dialog / re-login . I think this is because of the mimes which refer to the WAS.
    Now my Question :
    Is it possible to get a result ( Exported Report into Excel with MIMES ) and avoid
    a re login. I mean, to export the Mimes also.
    Many Thanks in advance for your Help.
    Best Regards
    Ali Touzlatzi

    Hi Prakash,
    Thank you so much for your reply.
    I looked for LRSR_XLS_EXPORTF01 under program, I found the program but when I clicked into it, it prompt "there is no object list for INCLUDEs"
    We have the export as excel implemented for sure. Do you think someone changed the name, or this name cannot be changed. I am new to ABAP too, but I am a programmer. Can you guide me the best way to trace this program?
    Again, I appreciate you help.

  • Ho can I schedule a WEBI report with dynamic parameters???

    Hello again!!
    Here i am with another detail about scheduling, the thing this time is that ia need to schedule a report with one parameter every week but with a different value for the parameter every week.
    This is i need this week to run the report SALES BY STORE filtered by week with this value 2011 - 45 (yyyy - num ofweek) but the next week the value for the same parameter must be 2011 - 46
    is it possible??? i mean is possible to schedule a report with different value for the parameter each time that it runs???
    I know that i can schedule a report with different values for a parameter to send it to severals users whith different data but the values for the parameter are the same every time that it runs and i dont need that.
    Any help or clue will be very appreciated

    Hi Elio,
    Do you have access to modify your universe?
    Then you should try Dave Rathbun's idea. Here is the link:
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Note that you'll have to adapt it to what you need, in this case to the week number.
    For example if you are using Sybase syntax you'd get 2011 - 46 with:
    convert(varchar, year(getdate()))+' - '+convert(varchar, datepart(wk,getdate()))
    So you'll new object in Universe would look like :
    your_table.week = case when @prompt('Enter week','C',,mono,free) = 'This week' then convert(varchar, year(getdate()))+' - '+convert(varchar, datepart(wk,getdate()))  else @prompt('Enter week','C',,mono,free)  end
    Adapt it to the syntax of the database you use. Then after creating this object in your universe you'll have to go back to your report and Edit the query and use this object in the filter area instead of  a normal prompt.
    When you have to schedule the report leave the prompt with the parameter 'This week'
    Hope this helps
    Regards
    Erika
    Edited by: PadawanGirl on Nov 8, 2011 3:35 PM

  • Report with user parameter is not runnig

    Hi
    I have created the report with user parameter p_deptno and qyery"select * from emp where depno=:p_deptno";
    when i run the report in paper layout a popup kind page will open and ask us to enter the deptno and based on input parameter it fetches record in report.
    if i tried the same thing with url :http://localhost:portno/reports/rwservlet?destype=cache&desformat=pdf&report=emp.jsp&userid=scott/tiger@orcl
    the parameter window not opening and and blank report will open with coloumn headings.
    help me to solve the problem.
    i am using devsuite oracle10g release 2 on linux(OEL4).

    Hello,
    You have to provide the parameter in the URL :
    For example :
    http://localhost:portno/reports/rwservlet?destype=cache&desformat=pdf&report=emp.jsp&userid=scott/tiger@orcl&p_deptno=10
    or use the Web parameter Form :
    http://localhost:portno/reports/rwservlet?destype=cache&desformat=pdf&report=emp.jsp&userid=scott/tiger@orcl&paramform=true
    Regards

Maybe you are looking for

  • Search Help Error while Publishing Query in Explorer

    Hi All, We have upgraded BW from version 3.1 to BI 7.0. SP level is 15. When we publish query in Explorer, selection screen appears, we get error in selecting variable(Fiscal Year/Period) entries from search help. After selecting a value from a list

  • Run Oracle VM Manager in VMware VM??

    Yes, I know it's sounds a little clugy but that is what my customer is asking. They do not want to provision another physical server simply to be the VM Manager. Is it supported to install the Oracle VM Manager inside of a VMware virtual machine?

  • Firefox Issues

    Hi All, We had a requirement to change the standard theme. We made changes in the standard par files like 1.Masthead par file : To include Tool area along with the Masthead.And from Theme Editor ,we have set  only Welcome area and Function Area visib

  • IPad not updating BOOKS in iTunes

    When I "delete" books from my iPad and then resync, they show back up - it seems as if the ones I'm deleting do NOT update iTunes.  Is anyone else experiencing this issue, and if so, has anyone found out how to correct this?

  • Problem when connecting to internet with a proxy...

    Hi guys, I really need your help this time I hope you can follow my explanation on my problem... Heres the deal: I just got my Macbook Air and it had been great until... I took it to my school and tried to connect to the Wi-Fi network which needs a p