Pass Records to Oracle Reports

Hi,
Lets say that I've already fetched a set of records on Oracle Form, I want to pass these records to a Report " on the Report I don't wana use range or where clause to give me these records"
In other way I just want to pass these records on the reports.
Any ideas how to do that please?
Thanks!

Francesco,
If you need to send output to the cache, the easiest way to do this is to use the UTL_HTTP package in the database to request a report using a URL just as you would do in a browser. By submitting the request to the report server, you can execute these requests in parallel (unlike srw.run_report, which runs one thing at a time) and also control resource consumption.
If you output the data in XML format, Reports won't generate an empty page for output. (On the other hand, it will generate a file containing XML....)
Hope this helps,
Stewart

Similar Messages

  • How to Pass Record Group to Reports Server ?

    How to pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    When we use products on run time we are using data_parameter for passing record Groups to reports via run_product but now we have to use application server and reports server for same reports.
    We met with <FRM-41214 Unable to run reports> for passing DATA_PARAMETER to reports server when used RUN_REPORTS_OBJECT.
    How can we pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    Thanks,

    how come the online help in forms 10g says you can?
    or am I missing something.
    there is a section on it.
    >
    Passing Record Groups to Reports or Graphics
    You can pass a record group to Reports or Graphics as a DATA parameter. This DATA parameter is a special type of parameter that gives a signal to the integration code to substitute the contents of the record group whose name you give for the results of the query named by the query name you indicate.

  • How to pass Parameter to Oracle Report from portal

    Dear All
    I create a report use Oracle Report, and the file name is "Account.rdf"
    This report have a start date parameter and a end date parameter. I put this
    report to the report server, and then add a new entry to the cgicmd.dat file,
    so i enter the URL into IE and pass the start date and end date parameters to
    the report.
    And now, i want to put this report into portal, but how can i config the
    start date parameter and the end date parameter?? i want provide a interface
    to the end-user, so user can select which date he want to display. It is
    possible?? How can i config?? Would you give me some idea.
    Thanks for your help.
    Tony

    You will have to Register your .rdf in Oracle Portal. The following document gives details.
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=170178.1

  • How to pass record Group from Forms with DATA_PARAMETER to Reports Server

    How to pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    When we use products on run time we are using data_parameter for passing record Groups to reports via run_product but now we have to use application server and reports server for same reports.
    We met with <FRM-41214 Unable to run reports> for passing DATA_PARAMETER to reports server when used RUN_REPORTS_OBJECT.
    How can we pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    Thanks,
    Arif

    Hi Mandeep,
    Could you please tell me how can i pass data parameter from forms to report through run_product.

  • Passing data from JSP to Oracle Reports

    Hi,
    We have a requirement to query and display data in JSP pages and when clicked on 'Report' button of the JSP, an Oracle report should be called.
    The data which is queried in JSP should be passed to the Oracle report. Is there any way of doing it? This is to avoid re-querying the database again from Oracle Reports.
    Environment: jdk1.3, Oracle Application Server 9i, Oracle 9i, Report 6i
    Thanks in Advance,
    Srinivas

    You could have the Applet make a request to the server (via URLConnection).

  • Oracle Report in New window with submit

    Hello, I'm in urgent need of an example on how submit a page and open a Oracle Report in a new window. I've searched the forum and found similiar threads, but not exactly what I need. Basically, I have an html page with cascading LOVs in which the user can cascade down until they get to the report (oracle report) they will like to generate. I'm using Patrick's ApexLib for my cascading LOVs. The user can also pick a date range via a Date Picker. I need the page to submit so that paramters from the LOVs and Date Picker can be passed to the Oracle Report. The Oracle Report needs to open in a new window. Currently I'm using a button item using a branch which runs the report fine, but it comes up in the same page. Can someone point me in the right direction as to how to accomplish this? Thanks in advance for your help!
    Lou

    Hi Lou,
    you don't have to submit the page. If you have all the values on your page in HTML input fields you are fine. You would only submit it if you want to do some additional processing on the server to calculate values, ...
    So just create a button with "Redirect URL without submitting page",
    set "Target is a" to "URL" and use the following code in the "URL Target" property.
    javascript:popupURL('http://your_oracle_report_url/regionid='+$x('P4_REGION_ID').value+'city='+$x('P4_CITY').value);The $x('some_page_item').value is used in JavaScript to reference the current value of an HTML field. Use the same identifier as you have used for your item in APEX.
    Hope that helps
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • How to Open an Oracle Report From a JSF Page

    Hi there,
    I would be really grateful if anyone would find me a solution to the following scenario:
    In my company, we have a project where we have to convert Oracle Forms and Reports to Java Web Application. The conversion of forms is being done thourgh JSF/ADF technology but how can i open an Oracle Report from a JSF page after supplying it with parameters ? Or i have to do some type of conversion before ?
    Once again i would be thankfull for your replies.

    Tapash,
    Thanks for reponding.
    Here is the URL I am currently using :
    https://gccss.glendale.edu:8001/dev60cgi/rwcgi60?server=rep60_crp3+userid=apps/pswd@crp3+report=/u07/oracle/crp3appl/gcccus/11.5.0/reports/US/GCC_ACCRUAL_BAL_0505.rdf+desformat=html+paramform=yes+destype=cache+p_accesscode=""
    The p_accesscode is the parameter I need to pass to the Oracle report.
    Currently, when I click the button, it invokes the above URL and takes me to the parameter form of the Oracle report and when I enter the Username, it runs the report and displays the desired output. But, what I need to achieve is, to pass the current user who has logged in behind the scene and to get rid of the parameter screen totally. Is this doable ? If yes, please help me !!!
    Thanks
    Hilal

  • How to call an Oracle Report from a Self Service HR page.

    Hi,
    I am trying to call an Oracle Report from a Self Service HR page. I personalized the page to add a button and link the report's URL to that button; but I am having issues passing/manipulating parameters to this report.
    Is there a better approach to do this, please post your suggestions. Also If you can direct me to some usefull documentation that will be great.
    Any help will be greatly appreciated.
    Regards
    Hilal

    Tapash,
    Thanks for reponding.
    Here is the URL I am currently using :
    https://gccss.glendale.edu:8001/dev60cgi/rwcgi60?server=rep60_crp3+userid=apps/pswd@crp3+report=/u07/oracle/crp3appl/gcccus/11.5.0/reports/US/GCC_ACCRUAL_BAL_0505.rdf+desformat=html+paramform=yes+destype=cache+p_accesscode=""
    The p_accesscode is the parameter I need to pass to the Oracle report.
    Currently, when I click the button, it invokes the above URL and takes me to the parameter form of the Oracle report and when I enter the Username, it runs the report and displays the desired output. But, what I need to achieve is, to pass the current user who has logged in behind the scene and to get rid of the parameter screen totally. Is this doable ? If yes, please help me !!!
    Thanks
    Hilal

  • Problem with Run_Product.. FRM-41211  Oracle reports team pls respond

    Hi,
    I am calling run_product built in my form 3 times on when button pressed trigger I am getting error
    FRM-41211 Integration Error: SSL Failure running another product..
    how to solve this problem..
    In help it is given check with Run_Product ... but no errors are exist in run_product...
    pls help me.. its very urgent..
    regards
    Kiran

    Hi every thing is fine problem is
    If am running 3 reports consecutive from form builder I am getting frm-41211 error. To solve this I have place message('1') ;pause in-between run_product statements now it is working fine. Could u please find out any solutions for this (not using timers);
    Or
    Pls pass maild of Oracle reports team usually they answer questions in oracle .com forums.

  • Values returned from oracle reports

    hello,
    i want to write a program which comunicates with
    oracle report builder. passing arguments to oracle
    reports is no problem but is it possible to get
    return values from oracle reports so that i can
    proceed with them in my java application.
    thank you
    thorsten lorenz

    Hi Stewart,
    thank you for your answer. I think i'll try this
    approach. I will start the runtime-Version of Oracle Reports
    from java with parameters. exec(param 1,param 2). The only
    thing returned is an integer indicating if this call
    to reports was successfull. but with your idea i think
    i got a nice workaround.
    Greetings
    Thorsten Lorenz

  • Most urgent:::: passing parameter list  to reports containing record groups

    hi
    can any one help me , i am getting frm-41214 when i pass a paramter list containing record group as data parameter to run_report_object as parameter, calling report from forms 10g, but when i dont pass the parameter list the report runs displaying no data(as it should do), otherwise it dont run and display the frm-41214
    zulfiqar

    Hi!
    To suppress Oracle Reports native Parameter Form just add:
    add_parameter( pl_id, 'pARAMform', text_parameter, 'NO' );
    Andrew Velichko
    Brainbench MVP for Oracle Developer 2000 http://www.brainbench.com
    null

  • Oracle report problem-Passing a column value from a query block to another

    Hi I am facing a problem in oracle reports.
    I have 3 query blocks say Q1,Q2 and Q3.
    From Q1 I get a tblkey coulmn and for each value of tblkey I need to pass it on to Q2 which gives me a status and now finally Q3 will take tblkey and status to give me final output.
    Can somebody please tell me how I can do it?
    Thanks,
    Avin

    Depending on your report requirement, you may do a join of Q1, Q2, and Q3; or keep all Qs and for Q3 use subqueries ...
    Select ... from ... where tblkey, status in (
    select tblkey, status from ... where tblkey in (
    select tblkey from .... where .... ) )
    Good luck.
    DC

  • Custom Oracle Report displaying records one at a time

    I have a custom oracle report that i've created and what i'm trying to achieve is to get all the records for the specific job code to print on one page. Instead, it is putting one record on one page. For example, job 90822 might have 6 records associated with it. Instead of it putting all 6 on one page it is putting one on 6 separate pages. I'm attaching my statement below. Any help is appreciated!
    select proj, cmocn_code, cmocn_comp_code, cmocn_job_code, cmocn_notes, cmocn_post_date, cmocn_issued_date,
    cmocn_executed_date, cmocn_impact_days, budg_amt,
    sum(budg_amt) over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_budg_amt,
    sum(cmocn_impact_days) over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_days,
    cc_pmownercon, cc_cmownmod, bp_name
    from
    select pmp_proj_code || ' - ' || pmp_proj_name || ' - ' || pmp_add_line3 || ', ' || pmp_region_code proj
    , cmocn_code, cmocn_comp_code, cmocn_job_code, nvl(cmmv_name, cmocn_title) Notes
    , cmocn_post_date, cmocn_issued_date, cmocn_executed_date, cmocn_impact_days
    , nvl(cmmv_bill_amt, 0) budg_amt
    --, sum(decode(cmocn_code, '0000', pmp_curr_cont_amt/*pmp_orig_cont_override_amt*/, nvl(cmmv_bill_amt, 0)))
    --over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_budg_amt
    , cmocn_notes, cc_pmownercon, cc_cmownmod, bp_name
    from da.cmownchgnum
    , (select cmmv_comp_code, cmmv_job_code, cmmv_owner_chg_code, sum(cmmv_bill_amt) cmmv_bill_amt
    , max(cmmv_name) cmmv_name
    from da.pmmast_v
    where cmmv_owner_chg_code <> '0000'
    group by cmmv_comp_code, cmmv_job_code, cmmv_owner_chg_code--,cmmv_name
    , da.pmproject_table
    , da.cc_user_fields_vw
    , da.bpartners
    where cmocn_code <> '0000'
    and cc_table_name (+) = 'CMOWNCO'
    and cmocn_oraseq = cc_oraseq_in_table (+)
    and cmocn_comp_code = cmmv_comp_code (+)
    and cmocn_job_code = cmmv_job_code (+)
    and cmocn_code = cmmv_owner_chg_code (+)
    and cmocn_comp_code = pmp_comp_code
    and cmocn_job_code = pmp_job_code
    and pmp_cust_code = bp_code
    union all
    select pmp_proj_code || ' - ' || pmp_proj_name || ' - ' || pmp_add_line3 || ', ' || pmp_region_code proj
    , '0000', pmp_comp_code, pmp_job_code, null /*nvl(cmmv_name, cmocn_title) Notes*/
    /*, cmocn_post_date, cmocn_issued_date, cmocn_executed_date, cmocn_impact_days*/
    , null, null, null, null
    , pmp_curr_cont_amt budg_amt
    --, sum(decode(cmocn_code, '0000', pmp_orig_cont_override_amt, nvl(cmmv_bill_amt, 0)))
    --over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_budg_amt
    , null/*--cmocn_notes*/, cc_pmownercon, cc_cmownmod, bp_name
    from da.pmproject_table
    , da.cc_user_fields_vw
    , da.bpartners
    where cc_table_name (+) = 'PMPROJ'
    and pmp_proj_oraseq = cc_oraseq_in_table (+)
    and pmp_cust_code = bp_code
    and pmp_cust_code = bp_code
    order by cmocn_job_code, cmocn_code

    Hello,
    What is the "Vertical Elasticity" of the enclosing frames / repeating frames ?
    This problem may occur when a frame or repeating frame has a property "Vertical Elasticity" set to Fixed or contract.
    In this case, change the property "Vertical Elasticity" to Expand or Variable.
    Regards

  • Pass a ViewObject as a data parameter into Oracle Reports

    Can I pass a ViewObject as a data parameter in an Oracle Reports jsp Report?

    you can use impliment this script to your query get data from file
    function AfterPForm return boolean is
    infile text_io.file_type;
    linebuf varchar2(3000) := '';
    filename varchar2(100);
    v_employee_id varchar2(2000);
    begin
    filename := :P_file_name; /* you can pass the file name like this c:\temp\test.txt */
    infile := text_io.fopen(filename,'r');
    loop
    text_io.get_line(infile,linebuf);
    v_employee_id := v_employee_id&#0124; &#0124;linebuf&#0124; &#0124;' ';
    end loop;
    if text_io.is_open(infile) then
    text_io.fclose(infile);
    end if;
    exception when no_data_found then
    text_io.fclose(infile);
    v_employee_id := replace(rtrim(v_employee_id),' ',',');
    :p_employee_param := 'and employee_id in ('&#0124; &#0124;v_employee_id&#0124; &#0124;')';
    /* you can use either 'where employee_id in ('&#0124; &#0124;v_employee_id&#0124; &#0124;')' or
    'and employee_id in ('&#0124; &#0124;v_employee_id&#0124; &#0124;')' */
    return (TRUE);
    end;
    I think it will help you to solve your problem. Do not forget to put &v_employee_param
    Good Luck
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by gvardhan:
    The file will have one EmployeeID per line as follows
    100
    200
    ...<HR></BLOCKQUOTE>
    null

  • Passing Parameters with a URL to an Oracle Report, on an Oracle Reports App. Server

    I have built an Oracle report which resides on a Windows 4.0 / IIS application server with Oracle Reports installed.
    (8i Database / 6i Developer 2000 suite). This works flawlessly when called from an Oracle Form.
    My question is, how do I call the same report from portals and pass it the required parameters. Thanks!

    Hi,
    You will have to encode your parameter value. The problem is because of the spaces in the value. Whenever there any special
    characters in the value it should be encoded.
    example
    select '<area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter='||
    <portal_schema>.wwutl_htf.url_encode('PMS 11BBA01')||'">pams</a>' url
    from meters
    The above is just an example. Please change the names to suit your requirements.
    Thanks,
    Sharmila

Maybe you are looking for