Images on FSG reports
Hi,
We have more than 20 companies in Oracle Financials. For a specific FSG report, we have multiple templates (XML Publisher) because the logo of the company changes for each company.
How could we use a single template, where the company logo would be retrieved like any other information?
Thanks.
Bonjour Simon -
You need a simple IF statement in your XML publisher template that picks a logo depending upon the company.
Take a look at the section titled 'Conditional Processing' in the XML Publisher doc:
http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115xdoug.zip
It is all explained there.
If u need additional help, the XML publisher gurus live here:
BI Publisher
Au revoir, iguru
Similar Messages
-
Showing dynamic and unknown number of images in SSRS report
I am using SSRS 2008. I need to display an unknown number of unspecified images on the report.
Basically I have a webpage, where the user selects a specific ID (ex. 24) from a dropdown and then click "View Report".
The report should then display any images, associated with that ID. The only thing I know about the images, is the path to where the images are stored. The path is kept in a database, so I should be able to retrieve the path ok.
But then how do i get the report to display the images, when I do not know the name or number of images?
Please help.Hi dukie4lif,
According to your description, you have a report to display images selected by users. Now your issue is, the users select a specific ID to get images, but you only have the path of images stored in your database. Is my understanding correct?
For your requirement, if the users want to get images by selecting a specific ID, this ID must be stored in database and associated with the path of those images. Otherwise the database can never query any records with this ID if it doesn’t have any ID stored.
Now we need to go to your database, create one more table or add one more column in the table which have your path stored to store those IDs, and let them associated with those path. Use a parameter in this report for users selecting IDs. Then your goal will
be achieved.
Reference:
Report Parameters (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou (Pactera) -
Hi all,
I have a table, Standard_Products, and i want to show an image in my report along with some other data.
I am using file browser to import the images at the moment.
Please advise what to do - at the moment the column is showing "Datatype" instead of the image itself.
Thanks,
RobTake a look at: http://htmldb.oracle.com/pls/otn/f?p=18326:54:2841216309756218::::P54_ID:268
Mike -
FSG report not printing column values on same line but sequentially
FSG report problem:
We have defined 2 FSG reports 'Balance Sheet - Total' and 'Balance Sheet - Detail'. Both reports have 3 column values, namely the value in Euro (our Functional Currency), the value in MUR - Mauritian rupees (our reporting currency) and the rate of exchange.
The report 'Balance Sheet - Total' displays these values for assets e.g.:-
EURO MUR Rate of exchange
Non-current assets
1. Intangible assets ? ? ?
2. Other investments ? ? ?
(note: ? represents a certain value)
The report 'Balance Sheet - Detail' displays values as follows :-
Account EURO MUR Rate of exchange
1. Property & Equipment
A10101 Building Cost ? 0.00 0.0000
A20105 Motor Veh Accum Dep ? 0.00 0.0000
TOTAL ? 0.00 0.0000
A10101 Building Cost 0.00 ? n/m
A20105 Motor Veh Accum Dep 0.00 ? n/m
(note: ? represents a certain value)
What we don't understand s why the 'Balance Sheet - Detail' report repeats the display of column values in MUR FOLLOWING the display in EURO, instead of displaying column values for EURO and MUR on the same line, just like in the case for 'Balance Sheet - Total'.
Is there anything in the definition of column set, row set or report set should I change?
Can anybody help. Thanks.
nullThe problem is related to defining the column set properly. It is OK with the first report and needs modification for the second. Formatting is also important so that they appear in the same line(row). The columns need to be linked to the fileds and assignment to set of books is also important as mentioned by Rajsekhar
-
Error when trying to run an FSG Report via XML Publisher...
hello.
Hope someone can help.
This is our first look into the benefits of XML Publisher in order convince Manager to start using it. Thing is, we really need to get both FSG reports and Dunning Letters working.
We've currently got XML Publisher 5.0.0 and BI Publisher Template Builder for Word v10.1.3.2.0
First up, FSG reports. Having followed this link here:
http://solutionbeacon.blogspot.com/2007/07/simple-tutorial-for-publishing-fsg.html
Ive managed to create a template based upon the basic FSG template supplied. I’ve follwed easy steps but on submitting the request against ANY [its what the notes said] FSG report the error messages from both the log and output files are given.. Those being..
Output file displayed the most productive error message:
DECLARE
ERROR at line 1:
ORA-06550: line 133, column 8:
PLS-00306: wrong number or types of arguments in call to 'SUBMIT_XML_REQUEST'
ORA-06550: line 133, column 5:
PL/SQL: Statement ignored
Can anyone help please? Or perhaps suggest an alternative to running FSG reports through XML Publisher.
Other thought was, do I need any different versions and/or Publisher Enterprise installing?
Many thanks for reading this..
Steven..having tried an alternative presentation I got a singular FSG report to generate in PDF via XML Publisher..
www.darrylcarson.com/Dice/OVOAUG/MAY_2007/XMLP_and_RM.ppt
question closed.. -
Hi,
I want to create Badges from employee table (ID, NAME, JOB_TITLE, PHOTO). I downloaded and installed a demo application "USING DYNAMIC IMAGES IN PDF REPORT". It works fine with smale images < 20K. I'm getting the following error for images > 20K :
"ORA-06502: PL/SQL: numeric or value error: raw variable length too long"
it seems like a buffer problem.
could you pls help to solve this problem
Thanks,
RibhiHi Carsten
That was exactly* I was looking for. Maybe I should Google more in German ;-)
The main problem was that I defined my image outside the first repeating group (that doesn't repeat, it's always just one object) - the first group is followed by 7 more.
Just like the "Name" (that's positioned outside the group in the document header), I positioned the image above the table representing the group.
Doing that, the "Name" is filled correctly, the Image only when the Output Format is Excel or HTML - not Word or PDF ... makes no sense but that's tje way it is.
After moving the image inside the group....it works great!
(One more thing...the image size is fixed to the image you use as "dummy". Is there any way to make that more flexible, because now some scaling happens...)???
@Trent: That was the way we initially did it, but when the size of the row exceeds 32K...you know what happens.. And even with a small image the 32K limit is hit easily
The way I use it now (very similar to Carsten's description) there is no limit....
Thank you all!
Roel -
How can I import an image in a report and see it in a RTF
generated file? If I follow the help of the Report Builder 6i,
and after resizing the image, there are always problems in
MSWord - either the image has another size, or it is in some
other place of the report. If I generate the same report into a
PDF it is running well...
Thanks.Hi,
Please refer this link.
I guess you have to place image into two location. Please refer the location path the below link then try to use same syntax
http://satyaobieesolutions.blogspot.in/2012/08/fmap-in-obiee-10g-obiee-11g-using-fmap.html
Thanks,
satya
Edited by: Satya Ranki Reddy on Sep 3, 2012 4:48 PM
Edited by: Satya Ranki Reddy on Sep 3, 2012 4:50 PM -
Hi,
I'm working with obiee 11.1.1.6.1 and I need to add images in a report column.
I tried to follow the advices of Gerard for formulas as in
http://gerardnico.com/wiki/dat/obiee/image
but I don't see the images. I used the formula
'<img src="dir/dir/.../myimage.gif">' with data format HTML.
What wrong? Thank for your help.
maxb (Italy)Hi,
Please refer this link.
I guess you have to place image into two location. Please refer the location path the below link then try to use same syntax
http://satyaobieesolutions.blogspot.in/2012/08/fmap-in-obiee-10g-obiee-11g-using-fmap.html
Thanks,
satya
Edited by: Satya Ranki Reddy on Sep 3, 2012 4:48 PM
Edited by: Satya Ranki Reddy on Sep 3, 2012 4:50 PM -
I have an scan image in my report. I can see the image in the Layout editor but when the report runs all that comes out is a blank piece of paper. The image does not print.
The version of reports is 2.5. Does anyone have any idea why the image does not print.
Thank You
JKHi
If you are using a scan image (which is a bit map)in rep 2.5 and run them through oracle applications 11 and below you may have do lot of system level programming to support bit map images, because oracle apps 11 and below are charter based they do not support bit map. There may be a work around I had been trying for the past 2 years. But with apps 11i and rep6i this is possible.
null -
FSG report output does not show column headers (XML Publisher)
Hi everyone
Iam required to create a template for an FSG report with 20 columns. Used copy of FSG:Fixed number of columns Template(FSGTEMP) to create the template because i need to do some conditional formatting(need to show negative values in red color).
here is the problem:
when i use the template and run the program the output i can see the row data but not the column headers..column headings are blank!
regarding the conditional formatting, can anybody tell me how to give the condition
iam able to give the condition for oracle reports but not for FSG reports as i dont see the column name in the 'data field' in conditional format
Regards
samOpen the report in Edit Mode Click on the reports and in the properties section Uncheck the
Enable Document Cache Property and your issue should be resolved. -
Bursting FSG Reports in R12.0.3
Hi,
I am trying to burst an FSG report using the integrated bursting java concurrent program. The FSG report is running fine and producing the XML publisher output as expected. I then run the java concurrent program for bursting setting the concurrent request ID of the FSG report as a parameter. I am getting the following error in the log for the bursting:
+---------------------------------------------------------------------------+
XML Publisher: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XDOBURSTREP module: XML Publisher Report Bursting Program
+---------------------------------------------------------------------------+
Current system time is 22-NOV-2007 10:11:22
+---------------------------------------------------------------------------+
XML/BI Publisher Version : 5.6.3
Request ID: 3631196
All Parameters: Dummy for Data Security=Y:ReportRequestID=3631175:DebugFlag=Y
Report Req ID: 3631175
Debug Flag: Y
Updating request description
Updated description
Retrieving XML request information
Node Name:SVR-DEV185
Preparing parameters
null output =/home/applmgr/12.0test/inst/apps/TEST_svr-dev185/logs/appl/conc/out/o3631196.out
inputfilename =/home/applmgr/12.0test/inst/apps/TEST_svr-dev185/logs/appl/conc/out/o3631175.out
Data XML File:/home/applmgr/12.0test/inst/apps/TEST_svr-dev185/logs/appl/conc/out/o3631175.out
Set Bursting parameters..
Temp. Directory:/tmp
[112207_101123926][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.0.0 - Production
Start bursting process..
[112207_101123927][][STATEMENT] /tmp
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:territory : value=>US
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:ReportRequestID : value=>3631175
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:language : value=>en
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:responsibility : value=>55824
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>burstng-source : value=>EBS
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:DebugFlag : value=>Y
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:locale : value=>en-US
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:parent_request_id : value=>3631175
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:user : value=>SPENJ
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:application_short_name : value=>XDO
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:request_id : value=>3631196
[112207_101123930][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:org_id : value=>203
[112207_101123931][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:Dummy for Data Security : value=>Y
[112207_101123931][][STATEMENT] BurstingProcessor:Property Key=>user-variable:cp:reportdescription : value=>Program - Publish & Burst FSG Report
[112207_101123931][][STATEMENT] Inside burstingConfigParser
[112207_101123933][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================
[112207_101123993][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================
[112207_101124079][][EXCEPTION] java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1762)
at java.lang.String.substring(String.java:1735)
at oracle.apps.xdo.batch.BurstingProcessorEngine.applyGroupBreak(BurstingProcessorEngine.java:2305)
at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(BurstingProcessorEngine.java:1974)
at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1133)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:210)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1310)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:328)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:258)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(BurstingProcessorEngine.java:2167)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(BurstingProcessorEngine.java:1800)
at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1136)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:210)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1310)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:328)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingConfigParser(BurstingProcessorEngine.java:968)
at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:912)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:278)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
[112207_101124079][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: endDocument is entered <========================
Bursting process complete..
Generating Bursting Status Report..
--Exception
ZIP file must have at least one entry
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:291)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:526)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:284)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
[112207_101124086][][STATEMENT] /tmp/112207_101123930 deleted successfully...
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
End of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
Executing request completion options...
+------------- 1) PUBLISH -------------+
Beginning post-processing of request 3631196 on node SVR-DEV185 at 22-NOV-2007 10:11:24.
Post-processing of request 3631196 failed at 22-NOV-2007 10:11:24 with the error message:
One or more post-processing actions failed. Consult the OPP service log for details.
+--------------------------------------+
Finished executing request completion options.
+---------------------------------------------------------------------------+
Concurrent request completed
Current system time is 22-NOV-2007 10:11:24
+---------------------------------------------------------------------------+This is the control file I am using uploaded to a custom data definition for the FSG:
<?xml version="1.0"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" xmlns:fsg="http://www.oracle.com/fsg/2002-03-20/" type="bursting">
<xapi:request select="/MasterReport/fsg:RptDef">
<xapi:delivery>
<xapi:email server="somesmtpserver" port="25" from="[email protected]">
<xapi:message id="send1" to="[email protected]" cc="[email protected]" attachment="false" content-type="html/text" subject="Test Bursting, Month End Reports = ${../fsg:RepCurPeriod}">
! ! Please IGNORE and DELETE this email. Bursting Example Only ! !
************** T E S T E M A I L **************
Dear ${@RptDetName}.
Please find attached your monthly Oracle report.
************** T E S T E M A I L **************
</xapi:message>
</xapi:email>
<xapi:filesystem id="save1" output="/tmp/test_${@RptPEVal}.pdf"/>
</xapi:delivery>
<xapi:document output-type="pdf" delivery="save1">
<xapi:template type="xsl-fo" location="xdo://SCCAPP.XX_FSG_TEST1.en.GB"/>
</xapi:document>
<!-- <xapi:document output-type="pdf" delivery="send1" output="Month end Reports - ${@RptPEVal}">
<xapi:template type="xsl-fo" location="xdo://SCCAPP.XX_FSG_TEST1.en.GB"/>
</xapi:document>-->
</xapi:request>
</xapi:requestset>Please could you give me some help as to why I am getting this error.
I look forward to hearing from you.
CarlBump.
Does anyone have any ideas on this. Is it because of the namespace in the select attribute of the xapi:request element?
Any help will be much appreciated and this is getting urgent now. Customer is due for go live very soon.
Regards,
Cj -
How to insert a conditional image into a report
Hi
I am fairly new to HTML DB, but I have managed to create my first application.
I need a little help with one report.
One of the columns in the report contains Y, N or R. The customer wants me to display a different coloured image depending on the value (ie a red button for N, green for Y or amber for R).
I have can add a static image to a report via "Column Formatting" -> "HTML Expression", but I have no idea how to make it conditional.
Any ideas?
Many thanks in advance.
RakGreat, that works!!!!
Thanks very much.
For completeness (incase anyone else reads this), there was one typo, in your solution, you omitted the opening '<' in the image source HTML tag
select loanno, itemid,
decode (returned, 'N', '<img src="#IMAGE_PREFIX#bullet_red.gif" border="0" alt="Loaned">',
'Y', '<img src="#IMAGE_PREFIX#bullet_green.gif" border="0" alt="In Library">',
'R', '<img src="#IMAGE_PREFIX#bullet_orange.gif" border="0" alt="Returned">'
) as status
from loans
Thanks for your help,...
Rak -
How to insert a dynamic image in a report
Hi,
I want to insert the image of a student in a report toghether with all other student's data. The image's file name is in a field of the students' table and the file is stored in a directory of the web application. I am using Visual studio 2010 and the reports are prepared with Crystal Reports 2008 (full product). At design time, when I try to insert an image on the report, it immediately asks for an image file on the computer, so I cant figure out how to insert an image whose path and file name come from a data source.
Thank youHi Don,
As I said, when I insert any field in the report, say for instance the Student ID, and then link it to a database field containing the name of the image file to display (I have to concatenate the path to this file name as well), it first shows the report with the Student ID. If I click on it, because of the hyperlink defined at design time, it opens the file (an image in this case) in Internet Explorer, not on the report.
The same happens if I put an image as an object on the report at design time. In this case as soon as I put the image object on the report it forces me to select an initial image to show on the report. Anyway, I define an hyperlink for this image, pointing it to the image file of the Student, using the database field containing the image file name. When I show the report I see the initial image I was forced to use and when I click it, the hyperlink takes me to the right student image, but even in this case it shows me the right image opening an Internet Explorer session and not on the report. On the report the initial image is still there and never changes.
What I actually need is a way to put the student's image on the report as soon as it shows the other student's data, as the name, age, ***, and so on, without having to click somewhere to show the student's image.
Thanks -
How to create a FSG report in pdf format
How to create a FSG report in pdf format?
Thanks In Advance
KrisHi,
There is an enhancement request at user group review to create FSG's in PDF format. However, I transformed the FSG output by using ascii2pdf shareware software (do a search on google.) I created a shell script that did the transformation and emailed the report from Oracle Apps. It seems to work ok.
Renee -
How to attach an image in xls report
Hi, does anyone knows how to insert an image in excel report?..
We'd been working this for so long and it seems that the report cannot locate/render the image properly ..
I hope someone can give me some tips and help..
Thanks ..
--original sql code TEXT format
OWA_UTIL.MIME_HEADER('application/vnd.ms-excel', TRUE, 'MaGiC_KeY');
HTP.P('Content-Disposition: attachment; filename="' || V_RPT_TITLE_NO_SPACE || '.xls"');
OWA_UTIL.HTTP_HEADER_CLOSE;
--end of original sql code
--begin DEV mode Insert Image - Logo
--OWA_UTIL.MIME_HEADER('application/vnd.ms-excel', TRUE, 'MaGiC_KeY');
owa_util.mime_header( 'application/octet-stream', FALSE );
htp.p('Content-Type: application/ms-excel');
HTP.P('Content-Type: multipart/related; boundary="----=_NextPart_01CA74F8.C8882F00"');
HTP.P('------=_NextPart_01CA74F8.C8882F00');
htp.p('Content-Disposition: attachment; filename="filename.xls"');
-owa_util.http_header_close;
--end DEV mode
base64 code (image)
HTP.P('------=_NextPart_01CA74F8.C8882F00
Content-Location: file:image001.jpg
Content-Transfer-Encoding: base64
Content-Type: image/jpeg
/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/b
AIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBg.....')Two thoughts.
The first is to ask Microsoft since it is their software.
The second is to throw Excel away and get a real report writer like Business Objects or Cognos or one of the many report creating projects Oracle provides.
Excel, by definition, is a violation of audit trail rules.
Maybe you are looking for
-
Crosstab column width in HTML output
Hi, I have problem with column width in a crosstab report with html ouput. I can not find a way to control the column width, and the more I try to control this either with word table properties or with xsl attribute, the more messy it gets! Now the c
-
I have a problem with the game Farmville on facebook. When I go to the game ,the game doesn't fit in the frame (of Adobe flasplayer) ,so I can't game properly ,because features fall outside the frame. I don't have this problem when I game on a notebo
-
Advice Needed - Im in **** here :(
Thanks - ok here goes I have a new 5th gen ipod. For some reason in the ipod prefs in itunes I dont have any options to add video or photos the only options that I get are for music and podcasts. I have reinstaled itunes 6.0.1 (3) about 4 times each
-
On import I want LR to set the title of the image to the filename, but I don't see any option like this. Any thoughts? Aaron
-
Hi, I was going through one of the notes for client export and got a step by step procedure. Just one confusion is that do I need to create the Client using Transaction SCC4 in source system before starting the export from target system. Also in t