Integrating Oracle  Reports with Oracle Forms 10g Menus

I just migrated from oracle developer 6.0 to oracle developer 10g....I have to call reports through Menus...in 6.0 I used the following code
Declare
     pl_id          paramlist;
Begin
     if :global.hlr is null then
          message('Cannot run report - No Hotline Record');
          raise form_trigger_failure;
     end if;
     pl_id := Get_Parameter_List('p_list');
     if not Id_Null(pl_id) then
          Destroy_Parameter_List(pl_id);
     end if;
     pl_id := create_parameter_list('p_list');
     add_parameter(pl_id,'hlr_num',text_parameter,:global.hlr);
     run_product(reports,'hotline',synchronous,runtime,filesystem,pl_id,'null');
End;
in 10 g I changed the "run_product" as follows
Web.show_document ('/reports/rwservlet=Repsrv&report=C:\myApp\rpt.rdf&desformat=pdf&destype=cache&userid=user/password@orcl&paramform=yes&HLR_NUM=3171,'_blank');
for test purpose and the report came out blank...can some one please direct me on how to pass parameters.
Thank You

Hello,
I call my reports like the following:
Declare
LC$Cmd Varchar2(512) ;
Begin
     LC$Cmd := 'http://machine_name:7778/reports/rwservlet?' || 'CGICMD_ENTRY&report=REPORT_NAME.rdf'
     || '&P_1=' || name_in('PARAMETER.P_1') ;
     Web.show_document(LC$Cmd, '_blank') ;
End ;
CGICMD_ENTRY is an entry in the cgicmd.datthat allow to mask information on the url browser (like connection string)
Francois

Similar Messages

  • Integrating mod_plsql reports with Oracle Apps. A maddening dilemma.

    I'm hoping there is some guru out there that has the perfect solution to this maddening dilemma I'm facing.
    The crux of the issue is this.
    I've created mod_plsql reports that can accept a session_id with which they can set a user context based on global application contexts set in Oracle applications by users as they log in.
    At this juncture, I have not figured out a way to call those mod_plsql reports from Oracle apps using a variable session_id as defined for the user when they logged into apps.
    My client want to be able to log into Oracle apps and then go to the mod_plsql reports from the Oracle Apps menu and maintain the user session, so that the mod_plsql reports are run using VPD to constrain access to the data they are displaying to that specific user.
    The client does not have Single Sign On installed nor OID.
    I had hoped to pass a variable parameter session_id from the defined menu function that would call the mod_plsql url, but I don't see any way to pass a variable there and am becoming convinced that doing so is not an option. Can anyone confirm this?
    An alternate option I'm considering that seems like it would work is to create a JSP page that gets called from a menu function. In that JSP page, I would retrieve the session_id set in apps based on the context for the user_id that I could retrieve from fnd_global.user_id and assemble a URL with the session_id that the page would then re-route to the mod_plsql page.
    Unfortunately, I'm not versed in JSP.
    How hard would it be to create the sort of page that I'm talking about?
    Would the JSP need to part of OAF?
    Can anyone think of any other options that would take care of the issue I'm dealing with?
    Thanks.
    Kurt

    See answer on other forum: Integrating mod_plsql reports with Oracle apps. Maddening dilemma.

  • Integrating mod_plsql reports with Oracle apps. Maddening dilemma.

    I'm hoping there is some guru out there that has the perfect solution to this maddening dilemma I'm facing.
    The crux of the issue is this.
    I've created mod_plsql reports that can accept a session_id with which they can set a user context based on global application contexts set in Oracle applications by users as they log in.
    At this juncture, I have not figured out a way to call those mod_plsql reports from Oracle apps using a variable session_id as defined for the user when they logged into apps.
    My client want to be able to log into Oracle apps and then go to the mod_plsql reports from the Oracle Apps menu and maintain the user session, so that the mod_plsql reports are run using VPD to constrain access to the data they are displaying to that specific user.
    The client does not have Single Sign On installed nor OID.
    I had hoped to pass a variable parameter session_id from the defined menu function that would call the mod_plsql url, but I don't see any way to pass a variable there and am becoming convinced that doing so is not an option. Can anyone confirm this?
    An alternate option I'm considering that seems like it would work is to create a JSP page that gets called from a menu function. In that JSP page, I would retrieve the session_id set in apps based on the context for the user_id that I could retrieve from fnd_global.user_id and assemble a URL with the session_id that the page would then re-route to the mod_plsql page.
    Unfortunately, I'm not versed in JSP.
    How hard would it be to create the sort of page that I'm talking about?
    Can anyone think of any other options that would take care of the issue I'm dealing with?
    Thanks.
    Kurt

    Thanks for the feedback and sorry it took me so long to reply back. I don't recall seeing the session_id or user_id being passed as part of the function set up, but the rest definitely are. I may be mistaken.
    I did come up with a solution that involved the following.
    The package was in another schema, but granting execute to apps and creating a synonym in apps allowed for all mod_plsql output to be generated by Oracle's apps ias server.
    I could capture the session_id and the user_id using a function referencing icx_session. I build an additional procedure that gets called first by the app so that it can set the session_id and user_id to a context then set a cookie that all subsequently generated pages reference with that info.
    That's the short of it and at this point I've long moved on to other issues but it certainly was a relief to get it working. No jsp necessary.
    Thanks.
    Kurt

  • Can't see demo 'Using Oracle Reports with Oracle JDeveloper'

    Hi,
    I can't see this demo :
    http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/JDEV1/index.html
    I have this java error :
    viewletUrl_: http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/JDEV1/rep9i_jdev9i_part1.viewlet
    java.lang.NegativeArraySizeException
         at leelou.viewlet.a.a(Unknown Source)
         at leelou.viewlet.QViewApplet.readViewlet(QViewApplet.java:125)
         at leelou.viewlet.QViewApplet.<init>(QViewApplet.java:107)
         at leelou.viewlet.vcr.QVCRApplet.init(QVCRApplet.java:213)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I have to create a custom destination for Reports in JDeveloper, but I don't find starter doc (for JDeveloper).

    Hi,
    Unfortunately this demo is one of those old demos which have technical problems with new IE + JDK versions, so we had to take it off. The link to this demo is no longer available on OTN:
    http://www.oracle.com/technology/products/reports/htdocs/search.html?cat=INT&col=DEM&submit=Search
    You may have bookmarked it. If it is available on any OTN page, pl let me know.
    For Oracle Reports integration with JDev, pl see the tool / utility available at this page:
    http://www.oracle.com/technology/products/reports/htdocs/search.html?cat=INT&col=UTI&submit=Search
    This tool/utility is currently available with 10g (9.0.4), and has not yet been tested with 10g R2 (10.1.2).
    But if your objective is only to use to use JDev to develop a pluggable destination, you may want to see the pluggable destination API documentation available here, which can be developed with any tool including JDeveloper:
    http://www.oracle.com/technology/products/reports/apis/plugDestination/index.html
    Some plugin destinations and their source code is available here for reference. As you can see, its pretty straightforward - most of these samples have just a few lines of custom code:
    http://www.oracle.com/technology/products/reports/pluginxchange/index.html
    Of course JDev-specific starter tutorials are available here:
    http://www.oracle.com/technology/products/jdev/index.html
    Navneet.

  • Oracle Reports with Oracle Financials (FMIS)

    Hi folks,
    I'm in a bit of a bind at the moment. I really really need a little help getting an understanding of Oracle Report Writer. The situation is as follows:
    I'm currently working on a system that moves data from an SQL Server 7.0 Database into some Oracle Financials (FMIS) Interface Tables. The Interface tables are apparently used to post Customer and Invoicing information into the real Oracle Financials tables, for Invoicing and General Ledger purposes.
    Its come to my understanding that Oracle ReportWriter is no longer available on the market today? Is this true? The reason why I ask is, my client is tossing with the idea of using Oracle ReportWriter over Crystal Reports.
    The only thing that I have heard is that Oracle Report Writer is a much more powerful tool than Crystal Reports. So I guess the main question would be, is Report Writer a more powerful and easy to use application over other report writing tools?
    Any help or advise would be greatly appreciated.
    Many thanks.
    Vick Soulios
    Consultant
    Spherion - Technology Solutions Perth
    Western Australia, Australia
    null

    Vick,
    I believe it is all in the name. Oracle ReportWriter is long gone; however it has evolved to Oracle Reports which is going strong. The current version is Oracle Reports 6i and has been out for more than a year. It was preceeded by Oracle Reports 6.0, 3.0, 2.5, 2.0 and finally ReportWriter1.1,.... The Early versions were packaged in various bundles with our other tools.
    Oracle Reports is a very powerful reporting tools and stacks up very well against Crystal. One big advantage is that we work extremely well against an Oracle Database (no external drivers to go through). We also run on a greater variety of machines including Unix. We provide XML output and integration with our other BI tools, Discoverer and Express as well as Oracle Portal. Reports can be deployed over the web using standard CGI/Servlet technology. I don't have room to mention all the advantages, but click on this link to our OTN website for a high level overview Reports 6i. http://otn.oracle.com/products/reports/pdf/iasreports.pdf
    Other documentation is also available to show you the power of Oracle Reports 6i.
    Regards,
    The Oracle Reports Team jls

  • How Do You Debug Oracle Report Calls From Forms On The App Server?

    I am working on a system which uses oracle forms and reports 10g.
    In our system we call, we are calling oracle reports from oracle forms. How do we debug the form code when the form and report both are running on the application server in production.
    To my knowledge, this can not be done when the form is running locally since there is only OC4J forms services locally.
    I understand one views error messages through the jinitiator console but how does one turn on this facility? How do you determine what line the error occurred?
    I am looking for step by step instructions as answer to this issue.
    Please be specific. Please write in good English.

    Good afternoon,
    If you have the developer suite installed on your PC, run the report from your form and then follow this tree from the start button on your PC:
    Developer Suite Home =>
    Reports Developer =>
    Oracle Application Server Report Services =>
    Reports Queue Manager
    Select View => Past Jobs and then find your report in the list, double-click the report entry and you'll see the error message that was generated by the Report Server when you tried to run the report.
    Good luck,
    Don.

  • Oracle Reports with XML output showing data as asterik character

    Hello,
    I'm trying to create an Oracle report with xml output. Here is the issue I'm having some of the columns in my report are of datatype number. When I run the report and generate xml file the values for those columns(datatype number) are showing as (*) character, other columns are showing fine. But when I run the report as text output then data is fine. I don't understand why this is happening.
    The property of column is Column Type - Database Scalar, Datatype - Number , width 0,-127.
    Does the width has to do anything with this?
    I'm using Report Builder 6.0.8.11.3, DB version 10g.
    Can anyone please help me with the issue I'm having.
    Thanks

    If the links in your example report1 and report2
    follow my format stated earlier
    http://machine:port/reports/rwservlet/report=reportnam
    e.rdf&destype=cache& paramform=htmlcss&server=<YourReportSe
    rverName>&userid=scott/tiger@hrdb&desformat=pdf
    This is what I believe
    >
    so http://machine:port/ is the port where
    JBoss is running and
    This should be the port that the report server is listening on
    >
    server=<YourReportServerName> is the name of
    my oracle report server
    so I call the above link in my current application
    and the report would show up
    Yes
    >
    that means (correct me if I am wrong) that my reports
    would have to be deployed in OracleAS
    Yes
    >
    I have to try all this yet as till this point I was
    trying to run Oracle reports deployed in JBoss...
    This may be possible, I am not sure.
    >
    Oracle J2EE Thin Client?
    I am not sure what this is used for in your setup.

  • Use Oracle Reports with Jdeveloper 11

    Hi,
    My next question. How to use Oracle Reports with jdeveloper 11. I have more oracle reports (used with a existing forms application) and i need to migrate this application to web-adf application. I think that is very powerful to use this oracle definition reports but i not know ho to do it.
    thanks,
    Jordi

    Read the publishing reports manual of Oracle reports to see how to Web enabled your Oracle reports. You can then invoke them from an ADF application either by calling a URL or using a Web service interface.

  • Integration of Apex with Oracle Apps R12

    How can I integrate Oracle Apex with Oracle Applications R12? The requirement is like by clicking a menu the user will see an apex report without giving again the user name and password. By simple menu attachment it's asking for apex login credentials. But I want it will redirect to the apex page without asking for user name and password.
    Anyone please tell the step by step procedure of how to integrate apex with oracle apps R12.
    Please help.

    Hi,
    See below my thread this might be of some help to you. We could successfully integrate EBS and OBIEE.
    Logout link missing upon integrating OBIEE 11g with EBS (Not through SSO)
    Thanks,
    Sri

  • Unable to integrate Oracle Reports with Express--(To oracle Team also)

    Hi
    Unable to integrate Oracle Reports with Express. While defining
    the Express database connection using the olap connection editor
    iam getting the following error "Error locating the XCONEDIT.INI
    file. Try re-installing the software".
    what should be done?
    Atleat,If anybody has successfully connected to Express via
    Reports6i. Kindly give the details like what softwares to be
    installed in what HOME? and also other steps involved in the
    process.
    YOur help !!!
    kindly respond...(Oracle Team do respond with something)
    with rgds

    hello,
    check out the notes
    Note:112542.1
    Note:167049.1
    on oracle metalink for further information.
    if you still have issues, please contact oracle support services
    for furhter assistence.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Oracle report from 6i to 10g

    hi all,
    We try to move oracle report from 6i to 10g. however we found that the report's record ordering is different.
    The case is that, the record in report is ordered according to the attribute "break order".
    There is no "order by" in sql".
    It runs without problems in 6i, but in 10g , the ordering of the record has no ordering.
    Please help to solve the problems or give some advice. Thanks.

    Break order property only works for ordering in break groups. For other groups (like the lowest level group) you have to use order by in your SQL.
    That was also the case in 6i, so you may just have been lucky that it worked at all.
    This is from the Help:
    The Break Order property is the order in which to display the column's values. This property applies only to columns that identify distinct values of user-created groups (i.e., break groups ). The order of column values in a default group is determined by the ORDER BY clause of the query for SQL queries

  • Hide number (or format number) on Oracle Report with Barcode

    Hi al !
    i have done a example about print Barcode on Oracle Report
    with help link :
    [http://download-west.oracle.com/docs/html/B10602_01/orbr_barcode.htm|http://download-west.oracle.com/docs/html/B10602_01/orbr_barcode.htm]
    However
    I want to hide number under Barcode images or Format number !
    Ex:
    |||||||||||||| --> images barcode
    1234567 --> number barcode
    i want : hide : "123456" or format it : "123.456"
    Thanks !

    Hello,
    The Image is generated by the java code in oraclebarcode.jar
    It is possible to "hide" a part of the image by puting an object ("rectangle" for example ) over the part of the image you want to hide.
    Regards

  • Oracle workflow  with oracle stardard edition 10g

    I have read this document id on metalink about the difference between different edition of oracle database 10:
    271886.1
    but there is anything about oracle workflow.
    Can I use Oracle workflow with oracle stardard edition 10g?

    I would suggest to get in touch with your Oracle vendor to find out more details on this one. Looks like an additional license.

  • Integration of Oracle Apex with Oracle Applications R12

    How can I integrate Oracle Apex with Oracle Applications R12? The requirement is like by clicking a menu the user will see an apex report without giving again the user name and password. By simple menu attachment it's asking for apex login credentials. But I want it will redirect to the apex page without asking for user name and password.
    Please help.

    Hi,
    Have a look at this thread.
    Installation Procedure for APEX
    Installation Procedure for APEX
    Regards,
    Hussein

  • Linking oracle reports with the application

    i have few oracle reports that i need to link it to the application such that when i click on the button in the applications pahe the report should be opened...
    can any one tell me exactly how to integrate a oracle report with html db application...

    http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
    that should give you a good start.
    regards
    Duncan

Maybe you are looking for

  • MacBook Pro acting weird at startup

    Hi, First of all thank you for reading this, it's quite a long story. And sorry for any grammatical mistakes, I'm Dutch. Summary My MBP suddenly has been acting really weird: kernel_task eating 150-200% of the CPU which caused a super slow MBP, power

  • Is it legal for a bank to reopen an account???

    UncleB wrote: asheltonphoto2 wrote: Wow, thank you. really doesn't seem like a kosher practice. I spoke with a rep who directed me to some very vague wording in regard to this. Vague or not, it is there in the deposit agreement.  Oh well, drop in the

  • Freeze columns in table control

    Hi Folks! Is it possible to freeze columns in a table control? If it is possible how you can achieve it? Thanks for any help. Regards, Gilberto Li

  • Adobe Flash 11.9.900.152: objects not showing in print preview and not printing

    When I select print from Adobe Flash 11.9.900.152, objects are not showing in print preview and not printing on the printer.   I have tried to print from both MS Internet Explorer and Google Chrome--neither work. I am using: Windows 7 Home Premium Se

  • Registration Key Invalid - Quicktime for MAC

    I purchased Quicktime Pro for Windows sometime ago and I'm now trying to unlock the Pro features on a MacBook Pro within OS X and I'm getting an "invalid registration" message when using the Pro Key for Windows. Do I need a separate unique key for Qu