Oracle Report6i - Report and Spreadsheet in one rdf file

Hi ALL,
My user wants to have an Oracle report with header, titles etc. and also a CSV file in the same Report or rdf file.
I am thinking of using a parameter to select either the Report or the CSV file or both.
I know I can do this in 2 different rdf files.
Can it be done in the same rdf file? If so someone please help me on this. How can I create 2 different
data models, 2 different layout models etc in the same rdf. That is what I am after.
We are using Report6i which is a bummer but the Company is going .NET and does not want to spend
resources on the latest Oracle Application server.
Thanks,
Suresh

You may do the regular Oracle report as usual and create the CSV file in After Report Trigger using PL/SQL coding, like ....
V_OUTFILE := text_io.fopen(L_FILENAME,'A');
V_OUTSTRING := 'EMPLOYEE TYPE/DEPARTMENT WISE DETAILS';
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);
--EXCEL FILE HEADS
V_OUTSTRING :='EMPLOYEE NUMBER'||CHR(9)||'EMPLOYEE NAME'||' '||'DEPARTMENT NO'||' '||'SALARY'||' '||'DESG' ||' '||'EMP MOD';
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);
--V_out_file := Text_IO.Fopen(L_FILENAME,'w');
FOR C1_REC IN C1 LOOP
V_OUTSTRING:=C1_REC.empno||CHR(9)||C1_REC.ename||' '||C1_REC.deptno||' '||C1_REC.sal||' '||C1_REC.desg||' '||C1_REC.empmod;
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);
END LOOP;
--IF Text_IO.Is_Open(V_OUTFILE) THEN
Text_IO.Fclose(V_OUTFILE);
SRW.MESSAGE(100,'File '||L_FILENAME|| ' Generated Successfully....');

Similar Messages

  • How to check the report builder version from the rdf file

    Hi,
    I have a rdf file but I don't the developer using which version of report builder to develop the rdf file. So, does anyone knows how to check the rdf file is developed by which version of report builder?
    When I try to use the notepad to open the rdf file, it shows the string "ROS.60050". So, does it means that the rdf file is developed by Oracle report 6i?
    Besides, do anyone knows if Oracle report 6i are still offer from Oralce (as I know, the latest verison of oracle report is 11g). So, in case Oralce not offer oracle 6i and I need to buy oracle report 11g, do u know it is compatiable or I need to do the migration from 6i to 11g?
    Thanks!

    Hi,
    The ROS version you are seeing in the RDF file does not mean the version where that RDF was developed. I am not aware of a way to check this but something that may help is that when you try to open a RDF developed in a higher version
    of Reports with a lower version of Reports builder the following warning will be displayed
    Warning. Opening a report saved with a newer version of Reports Builder.
    Functionality may be lost. Continue?
    "You tried to open a report with a version of Reports Builder older than the version used to
    create the report. If the report uses functionality unavailable in the older version, that
    functionality will be eliminated from the report.
    Regarding Oracle Developer 6i. This version is not supported any more. Regarding how to upgrade Reports 6i to 11g and what to have in mind during the upgrade please review the following documentation.
    References
    http://docs.oracle.com/cd/E24269_01/doc.11120/e24478/toc.htm
    How To Migrate Forms and Reports From 6i and/or 9i To 11g? (Doc ID 1275515.1)
    Hope it helps.
    Regards, RZ

  • How do you overlap PDF's and finish with one PDF file? Need help ASAP

    how do you overlap PDF's and finish with one PDF file?
    Need help ASAP

    I'm not sure if you can do that with CreatePDF.  Try it; you got one free use when you sign up with Acrobat.com
    If not, you will have to use Adobe Acrobat; there is a full-use 30 days trial.

  • Oracle 9i Reports and Text PDS

    We are using Oracle 9i Reports for printing reports with text PDS on Windows NT.
    We have developed our own textpds.conf and replaced with the file which is present at the following location.
    ORACLE9iReportsHOME\reports\conf\
    My problem is:
    1. We are using comma separted text file. But what I gathered from the documentation is that I need to hardcode the name of data input text file in the text query while building the report rdf. Can this name not be supplied to rwclient as the paramter.
    This hardcoding of the text file is imposing the problem of replacing the text input file everytime the new report is generated.
    If somebody can help me in this regard then it will be great.

    Hi Ashish,
    Currently this is not possible using TextPDS. You can create a script which copies/moves the intended data file to the file name you specified at design time.
    Regards,
    The Oracle Reports Team.

  • How to create multiple reports and dashboards from one dataset?

    Hi there,
    I've centralized the data to an excel workbook from multiple data sources and added as a dataset to my new Power BI site. How can I build multiple reports and dashboards out of one dataset?

    Hi Kuber,
    In the Datasets section on the Navigation pane (left side of your Dashboards page), you can click "..." next to each dataset. One of the options in the contextual menu is Explore. When you explore a dataset, you can create reports and save
    them.
    You can find more about this and other topics in our Getting Started content:
    https://go.microsoft.com/fwlink/?LinkID=512054
    Thanks,
    M.

  • Oracle BAM Reports and Dataobjects are missing after the ADC service is up.

    Hi...
    I had a problem like my BAM's ADC service was not starting up. I could resolve the problem but once that was done, a new problem araised like this;
    All my reports and the Data objects were missing . I couldn't find anything in the Architect and the Viewer. All the users that were created were found missing in the 'login management' of the BAM administrator. I check out my BAM Schema,as you all know the default schema "Orabam". I could find all my dataobjects in the tables section.
    Can any one of you throw more light on it as to how would I get back my Data objects and reports??
    and Kindly tell me where exactly do these reports get saved....
    Any light on these will really be appreciated....
    Thanks & Regards,
    ManojNair...

    Hi...
    I had a problem like my BAM's ADC service was not starting up. I could resolve the problem but once that was done, a new problem araised like this;
    All my reports and the Data objects were missing . I couldn't find anything in the Architect and the Viewer. All the users that were created were found missing in the 'login management' of the BAM administrator. I check out my BAM Schema,as you all know the default schema "Orabam". I could find all my dataobjects in the tables section.
    Can any one of you throw more light on it as to how would I get back my Data objects and reports??
    and Kindly tell me where exactly do these reports get saved....
    Any light on these will really be appreciated....
    Thanks & Regards,
    ManojNair...

  • Integrating an Exisitng multiple page PDF file into a report and outputting as one PDF

    Post Author: sditmer
    CA Forum: Crystal Reports
    We would like to be able to  PDF files into a report based on a file name contained in the detail of the report. For Example, I have some data in our database relating to a specifc PDF file  including the name of the PDF that I would like to print in the header of the report and then print the actual PDF as the detail of the report. The PDF may be multiple pages so I would like the remaining pages of the report to follow on each page of my crystal report. Essentially I am trying to merge a  report header onto a mulitple page PDF file as a single report. Is this possible to do out of the BOX with Crystal? Do I need some other tools to do this?

    Post Author: IdoMillet
    CA Forum: Crystal Reports
    Consider a 3rd-party tool as a solution (for a list of such tools, see http://www.kenhamady.com/bookmarks.html).My Visual CUT software allows you to automate the process of merging the pdf export of your reportwith a pdf file named based on a formula in the report.  The resulting merged pdf file can automatically be printed or emailed.

  • Save multiple waveform graphs and data in one Excel File

    Hi there,
    I managed to save data from waveform graph into excel file and saving the plot into excel but individually. I'm aiming to save both the data and the plot in an excel file. May I know how do I do it? I've tried using the Write to Measurement File vi and also the invoke node of the waveform chart but it's still not giving me what I've wanted. 
    The above was only for one analog input channel and I have 2 analog inputs each with their respective sets of data and plot. Is there a way to execute the data and plot of one input in one worksheet and another set of data and plot in another worksheet, all in one excel file?

    Hi there;
    I would recommend using the Report Generation Toolkit; it is the easiest way.
    You can use either the Report Express VI or the Appi to save all your data in both formats
    Greetings

  • I had two files named graphics and I replaced one graphics file with another which was the wrong one.  Can I undo my replacement?  I move the wrong one, which was on my desktop into another one and that is when it as me if I wanted to replace the file.

    I accidently replaced a file with another.  Can I undo my action? 
    I had two files named graphics.  One was on my desktop and another was within another file called solitarie.  I move the one on my desktop (wrong file) into the solitarie file and was asked if I wanted to replace the graphics file in the solitarie folder (the correct one).  I said yes accidently and then remembered that I had made a mistake.  If I use undo, it only move the wrong file back to the desktop.  Is there an undo of replace?

    Sorry, but's that's why you get the warning. "Replace" means just that - the new file over-writes the old one. There is no undo.

  • I want to upload one and only that one specific file

    Hi everybody,
    this may sound like a silly question, but I got a problem which is driving me mad I can't figure out a way to solve it.
    So here it comes.. :-)
    Every time I upload files within my DW file manager it not only uploads that specific file but also all the others files. For example I change one html file, upload it and when its done it also loads all the embeded mp3s and videos and css and all that crap which takes hours.
    I'm sure there is a way to tell DW to only upload the file I want to upload, but I can't find it in the setup.
    By the way, I'm using DW CS4.
    Thanks for your help!
    Cheers!

    I don't have CS4, but if you look in the Preferences in the Site section it may have something there to adjust in that regard (Edit -> Preferences -> Site).  In CS3 it provides for allowing one to select whether they want to be prompted to upload dependent files.  In CS3, deselecting these options is supposed to not transfer any dependent files (mine is unchecked, but still prompts).  It may be different in CS4, but in that section there is a Help button that leads to explanations of the settings.
    The wondering I have is whether you are getting a prompt or not regarding uploading dependent files when you try to upload the file.  If so, then that would be where you indicate not to do so.

  • Printing Header and Footer once in HTML and on all pages in RTF and PDF using one RDF

    Hi,
    I am using a single RDF to generate reports in HTML,PDF and RTF.
    For printing the header only on the first page I used the
    following trigger
    begin
    srw.get_page_num (page_num);
    IF upper(:P_FORMAT) = 'HTML' THEN
    if page_num = 1 then
    return(true);
    else
    return (FALSE);
    end if;
    ELSE
    return (TRUE);
    END IF;
    end;
    I alo require to print the footer once on the last page in case
    of HTML and on all pages for RTF and PDF.Is there any way I can
    get the total number of pages or is there any other way to
    acheive this. ???
    Any help would be appreaciated .
    Thanks,
    Alka

    Generally, one template can not create nice output in all formats. In your case, you would need a format parameter to suppress headers/footers if it's value is 'EXCEL'. The problem is (I wish someone would correct me on this) that we can not refer the standard parameter already there and have to create another, user-defined parameter.

  • How to merge 2 or more Report Builder reports and output as one pdf

    I'm in a J2E shop in which I develop Oracle reports that are called and published by the application as jsp's. I need display output multiple reports sequentially and then print them out (as one pdf). All component reports currently exist as their own jsp file so the desire is to string together these JSP's without recreating them in a single jsp thereby doubling maintenance.
    Does report builder have an option to do this or is there code that can be added at the end of a Report Builder jsp file that will call the next jsp sequentially.

    Hello,
    I do not believe that Report Builder has a way to merge multiple PDF's into a single output file. I found a FREE product that will merge multiple PDF's into a single file that you could use as long as merging the outputs one after another is acceptable.
    Go to http://www.somepdf.com and look at their product.
    Good luck,
    Don.

  • Oracle.DataAccess 32bit and x64 with one build? no matching version exists?

    We have used Oracle.DataAccess to build a .net assembly. version was 10.1.0.400. I can't seem to find the native x64 install for this version 10.1.0.400 We are running IIS in the 64 bit mode. so I need a native x64 bit assembly.
    We are deploying our .net assembly to both a 32 bit and x64 bit machines. so I need to install some version of Oracle.DataAccess with the same version in both 32 bit and x64 bit.
    I can't seem to find a version in common to both 32 bit and x64 bit.
    it looks like the closest I can get is 2.102.3.2 for x64 and 2.102.2.20
    I have no problem re-building the assembly and as long as I can get the same version installed on both 32 bit and x64 bit in the GAC it should run just fine. help where can I find a matching 32 bit and x64 bit version to install?

    Hi,
    Yes, you have to have a support account to be able to log in to metalink and get the patches.
    Part of the ODP.NET install includes installing policy files in the GAC that redirect usage to the latest version installed, so I'd think you should be fine compiling on 10.2.0.2.21 x86 (for example) and distributing to 10.2.0.3.02 x64. You'd have to compile with a version <= the version you want to be able to run it on though.
    Greg

  • Multiple sites, and domains, only one log file is working

    I have a custom install of Entropy latest version for apache 1.3
    OS X 10.4.5 on an Xserve dual g5
    Everything is running fantastic save for one thing.
    The sites that I have set up for multiple domains and multiple websites only the site that is in the top of the List in Server Administration under Web and so forth... I have the top site (which is our own site) and the others under that gain no hits and stats information because everything is being logged under the top site. Does this make sense?
    I use Awstats to generate information for the various sites but only the top site generates hits and it gets the information for everything.
    I am using entropy because I needed a level of security to avoid spammers on our guestbook and contact forms and entropy has the ability to use turing test.
    Our various sites are now requesting custom stats and information but cannot get this to work. I have set different file names for each of the sites logs both hits and error log.
    What do I need to check and what information can I supply to you from my custom install that will help you help me get this working.
    Thank you everyone for your help.
    Joseph

    Add me to the "me too" list.
    Could it have anything to do with the difference between a "local host aliases" and "virtual hosting"? Or is that just related to Mail service?
    Maybe it belongs in another thread, but what are most folks using for log analysis? I've got 40 or so virtually hosted domains that I'd like to track so I can kill the sites that aren't doing my company any good...

  • After recent Verizon upgrade, my music files are messed up.  Used to be able to see all artists.  Now only some artists display and there's one giant file of "unkown".  Why would that change affter the upgrade?

    Prior to March, 2015 upgrade, all my music appeared by Artist.  After the March, 2015, upgrade, about half of my music appears by Artist and then there's one giant "unknown" file.  Why would this change with the upgrade?  Makes my music unsearchable unless I want to search by the song name or album name. 

    You can try an app like Album Art in the Play Store and it will take any tag info and find and sort music.  Should work unless the music files were altered during update, in that case you'd need to remove those files and re-add them to the phone.

Maybe you are looking for