Oracle rdf report format

I want a help form you . If you can, please share.
In a oracle .rdf report, suppose data are arranged in this format, like this
RED     5
RED     6
RED     10
GREEN     15
GREEN     2
BLUE     10
BLUE     5
but now, I want the report like this format:-
RED     5
''     6
''     10
GREEN     15
"     2
BLUE     10
"     5
How can i do this ? I am waiting for your early reply.

In Data Model, find the group that contains your data.
In that group:
1. create a formula column named for example ”CF_set_value_color”
2. create a placeholder column named for example ”CP_show_value_color” of VARCHAR2
Outside the group; create a stand alone placeholder named ”CP_last_value_color” of VARCHAR2
Now, create a PL/SQL procedure for your formula column ”CF_set_value_color:
”color” should be replaced with the name of the column that returns RED, GREEN or BLUE..
function CF_set_value_colorFormula return Number is
begin
-- First row
if :cp_last_value_color is null then
-- Set values for placeholders
:cp_last_value_color := :color;
:cp_show_value_color := :color;
else
-- Second row and beyond
if :cp_last_value_color = :color then
-- If last color is the same as the current, show "
:cp_show_value_color := '"';
else
-- If last color is NOT the same as this one, show new color
:cp_last_value_color := :color; -- Set for comparison of next row
:cp_show_value_color := :color;
end if;
end if;
return 1;
end;
For each row the query retrieves, the value of “CP_show_value_color” will be RED, ”, ”, GREEN, ”, BLUE, ”
Use that column for output instead of ”color” and it should work just fine.
Morten

Similar Messages

  • How to print message in oracle rdf report output?

    Hi,
    There is a requirement to print message in output of oracle rdf report. srw.message prints the message in log file but how to print message in output.
    Please suggest.
    Thanks & Regards,
    Sunita

    897745 wrote:
    Hi,
    We are trying to print BARCODE for Order Number in RDF report. Kindly let me know how to do this.It's very easy. Download a font which show barcode then choose your desire field's font that font. I use IDAutomationHC39M font.
    Hope this will help you.

  • Oracle rdf reports - MLS R12

    Hi,
    I am working on Oracle EBS R12 which has full MLS installed. I have a custom rdf report and I have a base rtf in US-English and generated a French version using the "Translatable" option using xlif file.
    Post installation of full MLS, I see that a separate language directory is created under each prodcut top. So now I see /report/US and reports/F. My question is, should I place my custom .rdf file in both US and F directories or placing in just US directory alone is sufficient?
    Regards,
    Divya

    882517 wrote:
    Hi,
    I am working on Oracle EBS R12 which has full MLS installed. I have a custom rdf report and I have a base rtf in US-English and generated a French version using the "Translatable" option using xlif file.
    Post installation of full MLS, I see that a separate language directory is created under each prodcut top. So now I see /report/US and reports/F. My question is, should I place my custom .rdf file in both US and F directories or placing in just US directory alone is sufficient?
    Regards,
    Divya
    When you install Oracle E-Business Suite in a language other than American English, each product tree includes directories that use the relevant NLS language code. These directories hold translated data, forms, and message files. For example, the language directory named D designates German. The data loader files in the D subdirectory of the admin directory contain the German translation of the product seed data.
    The US subdirectory in the forms directory contains Oracle Forms forms in American English. The D directory in the forms directory contains the same forms, translated into German. However, the mesg directory contains message files in both American English and German.
    Language Files
    http://docs.oracle.com/cd/E18727_01/doc.121/e12841/T120505T120509.htm#338712
    Thanks,
    Hussein

  • How to Print BARCODE in oracle RDF report

    Hi,
    We are trying to print BARCODE for Order Number in RDF report. Kindly let me know how to do this.
    Thanks & Regards,
    Suresh

    897745 wrote:
    Hi,
    We are trying to print BARCODE for Order Number in RDF report. Kindly let me know how to do this.It's very easy. Download a font which show barcode then choose your desire field's font that font. I use IDAutomationHC39M font.
    Hope this will help you.

  • Oracle Portal Report - Formatting Excel output

    We are using Oracle Portal 10.1.4.1 and we are using the Locally built providers create new report function.
    The report data itself is working as expected. You click the report it prompts to open the excel file and it opens.
    We are attempting to find a way to better format what is passed to Excel.
    When we add header and footer information in the "Additinal PL/SQL" boxes it shows up on the HTML version of the report, but this does not however show up in the excel version. The excel version seems to be pretty much a raw dump of whatever columns and rows you selected.
    Is there a way to add a header or footer to what Oracle Portal outputs to excel?
    Thanks for the help!

    I remember seeing a Bug that formating conditions do not get saved for number and Date fields when sent to excel.
    That might be the cause.
    Thanx,
    Chetan.

  • Layout issue in Oracle rdf

    Hi Experts,
    I am facing a strange issue in oracle rdf reports.
    Requesting an assistance from you.
    I have a report which displays the vendor information.
    For all the vendors the layout is working fine for me, but for one particular vendor the vendor name is splitting into 2 lines as follows.
    EAD - Empresa de Arquivo de
    Documentação, SA
    But it is one name as 'EAD - Empresa de Arquivo de Documentação, SA'.
    Please help me on this. how to display this as a single value.
    Thanks,
    Zaheer.

    This is probably because the field is not wide enough. Check the horizontal elasticity property of this field (and possibly the frames around it).

  • Oracle RDF as portlets

    Hello,
    How can I deploy a oracle rdf report as a portlet in Oracle 10g?
    Any help is highly appreciable.
    Thanks

    You can call you report on the Reports server via servlet.
    This will produce a PDF file.
    Is this what you looking for?
    This has nothing to do with Portal, but you can place the link in a portlet.

  • How to embed/show an image file (.jpeg or .jpg or .png) into a Oracle 10g report file (.rdf)

    Hi All,
    Morning , have an urgent requirement and need some guidance regards this.
    we are currently having an existing Oracle 10g reports file (.rdf)  lets say with name : Testing1.rdf .
    The report output is getting generated in a pdf format . it opens up in a pdf format..
    Now we want to embed an image file lets say : (logo.jpeg or logo.gif  ) into the report output..at run time the image from the image file should show up in the report output.
    Could someone please help as to how this could be achieved..and what approach we could follow for this...
    with regards
    Thanks as always !!

    Hi All,
    Morning ...just a follow up question to this original post : embedding the image files at runtime into an Oracle Report..
    We were able to achieve this by entering the folder location where the image files are place on the server in the REPORTS_PATH env variable in the report.sh file.
    Then we update this filename like file1.jpg into a table and from there we fetch this in the Oracle Reports data model directly.
    for The layout field we select the option as Image.
    All this works fine..
    Issue : The resolution of the embedded image in the generated report output is very low ...means the image appears there but it is not very clearly visible ..is there any way we could improve the IMAGE RESOLUTION in the report output....?????
    With regards

  • Oracle Apps RDF Report generates file with ^M (Carriage return) characters

    We are upgrading from 11i to r12 (also moving from HP unix to AIX on hardware side) and this rdf report generates a text file which is then eventually sent to a third party system for printing. Report works just fine in 11i as it generates a file without any ^M chars but in R12 environment, the same report generates file with ^M chars.
    Also want to understand how the Oracle Apps system hands over the output files to O/S which is saved.
    Pls advice
    Thanks
    Ram M.

    What type of concurrent program are we talk about here?
    This is a Report type of Concurrent program
    How does the text file get generated?
    Report is generating a Text file on :desname, a custom folder. 
    Was the binary mode used to copy the files from the old server to the new one?
    I believe RDF Reports were copied over in Binary format but none of the text files generated from old server are copied over.

  • Deploying 6i RDF reports into Oracle Reports 10g

    Hi
    We need urgent help on the below requirement,
    We have installed Oracle 10g Standalone Report Server (Oracle 10g Business Intelligence),
    We have some 6i RDF reports which are needed to be deployed into the newly installed 10g Report Server,
    had anybody done this before?
    Appreciate if you could provide steps to achieve this.
    This is a quite urgent requirement and any help will be highly appreciated.
    Thanks & Regards,
    Jeet

    Hello Jeet,
    PITSS can seriously help you with your deployment. Please contact me today to discuss your current environment and we can solve your urgent needs.
    Regards,
    Jason Marra
    +1 248 524 0328
    [email protected]

  • Oracle Matrix Report output to XML Publisher

    We have an Oracle matrix report (rdf) registered in our applications and we are trying to format the report output using XML publisher.
    I have taken XML output of the report by changing the Report output to XML in concurrent program definition. Using this XML output we have started designing the RTF template using Template Builder for Word 5.6.2.
    I am not able to get the MAtrix output in XML publisher. I am not sure how to design a Matrix Report using Template builder for word. I am not sure whether the XML output of Original Report has Tags mentioning Matrix report attributes or Not.
    Can anyone help me by explaining how to design a Matrix Report template using XML report output. Appreicate your help.

    I have posted a Blog on our blog site about how to create a matrix report in XML-Publisher
    http://technology.amis.nl/blog/?p=1558
    Perhaps this helps.
    Marcos

  • Oracle Financial Reports designing in XML

    Hello Oracle Professionals.
    I have idea to design the reports in pdf format under 10g reports builder .
    Today my boss ask me to design some reports in XML format for Oracle Financials (Supplier Statement, Voucher detail Report).
    I dont know how to do this in XML, even I also dont know how to upload XML reports in Oracle EBS.
    Please guide me how to design the reports in XML for E-Bussiness Suite and how to upload them.
    A document to do these task + an idea will be much enough for me.
    Thanks
    Everyone

    Hi, well there a couple of things you'll have to do and there's many ways of doing some so I'll ty to stay at high level just to explain.
    First look at XML Publisher designer guide, Search the internet for detailed wlak-thru...
    I assume that your boss asked you to design financial reports using BI Publisher. If so, here's high level steps/things you should know.
    1 - BI Publisher Report (Data and Layout)
    a- Query and layout are now separated (compared to old rdf report).
    b- An xml file (data definition) using a certain structure is used to query and structure data (which will end up in an xml file)
    c- layout are done using a plugin within word which is usually referred as BI Publisher development tools. (You'll need to install this plugin)
    d- The layout are done using word capabilities but you have to incorporate fields and logic in it in order to display data that have been queried.
    e- Template needs to be in .rtf format
    Once this is done, in Oracle apps.
    2 - Define a concurrent program with an XML output using Oracle executable (XDODTEXE) which put all the things together and generate you BI Report.
    3 - Under XML Publisher Responsibility, you'll have to define your template and data definition
    - Under Data definition tab, create a data definition and upload you data definition created in step 1a
    - Under Template tab, create a template and upload you layout created in 1c,1d,1e
    4 - Add you report to a request group and test it thru a reponsibility.

  • Reports Requirements using R12 and Oracle 10g Reports

    Hi All,
    Looking forward to some valuable inputs to propose a technical solution in R12 using 10g Reports Developer.
    Requirements are :
    1. Report output should be in Excel Format. ( Is this possible without XML Publisher using 10g Reports only )
    2. Report Parameters to have multi selection criteria. ( Is this possible in 10g Reports and Oracle Apps, Report Manager responsibility ?)
    Regards,
    Anand

    >
    1. Report output should be in Excel Format. ( Is this possible without XML Publisher using 10g Reports only )
    >
    Yes, Reports can create output in Excel - but XML Publisher offers better and easier options.
    >
    2. Report Parameters to have multi selection criteria. ...
    >
    Pl explain what you mean by multi selection criteria.
    HTH
    Srini

  • How to call RDF report from JSP page

    Dear all,
    I want to call a RDF report from JSP page. I am creating the JSP page using j developer 10G.
    Can anyone help me out in this case. Is there any tag or procedure or any other way by of that i can perform this work.
    please help and send the reply on [email protected],[email protected]
    thanks
    Ashok

    Hi Ashok,
    You can use rwservlet - nothing really to do with JDeveloper. Once you have report server up and running (hint: read http://download-uk.oracle.com/docs/cd/B14099_19/bi.1012/b14048/toc.htm), you can call a report like this:
    http://server:port/rwservlet?report=my_report.rdf&destype=cache&desformat=html&p_my_parameter=xxx etcHope this helps,
    John

  • Error while generating XML file from rdf report.

    Hi All,
    we are having a rdf report that displays images retrieved from data base. I need to convert this report to xml report(using rtf template).
    when i tried to run the report after changing the output of the concurrent program to "XML", i am getting the below error.
    REP-1295: Data format of column 'PK1_VALUE' is unsupported.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1295: Data format of column 'PK1_VALUE' is unsupported.
    images are stored in BLOB type columns.
    Can anyone help me on this..
    thanks
    gtungala

    Hi Hussein,
    Thank you for the reply.. i was sure that i will get correct response with in a day..
    you people made this as one of the best technical forums..no doubt in that..
    need some more help from you...!
    The metalink docs say that it is not possible to generate xml file as the image is BLOB.
    Can you please tell me any solution for developing xml template(rtf) which can display images that are stored in data base BLOB columns. Even PL/SQL script will do.. I have tried with changing the BLOB to CLOB in rdf query(by calling a function that converts BLOB to CLOB). it didnt help.
    thanks in advance..
    gtungala

Maybe you are looking for