Report not generating with blob

SO I was trying to create a report to insert an image. I saw and followed the following resource: http://blogs.oracle.com/xmlpublisher/2006/05/inserting_blobs_into_your_repo.html
In the template builder for MSWord, where I grab the XML data containing the Base64 code for the image, the output is all there. - so yes the actual query grabs the base 64 version of the image, as per http://sergekoganovitsch.wordpress.com/2009/05/02/blob-base64-encoding/
Now the situation is there is a temporary table that stores all the fields, and the image, along with the apex session_id. So the report query looks like this:
SELECT
      p.full_name
    , blob_to_clob_base64(p_photo => p.photo) photo
FROM  profiles_tmp p
WHERE p.session_id = :APP_SESSIONSo.. first to make sure it was all working properly, I created another report query specifying a specific session id in the where clause that I know contains a photo - all works fine. However, when I apply the layout to the query above, and test it - it comes out containing no pages. Even if I test it when going through the application where there would be a valid session id, still no pages.
I have tried changing :APP_SESSION to v('APP_SESSION') and to_number(:APP_SESSION) to no avail.
If i remove the image bit, and just have the field as <?PHOTO?> , it outputs the base64 contents fine - but obviously, I want the actual image in the report, not the base64 code.
IF i open the pdf file in a text editor, I get the following:
%PDF-1.4
1 0 obj
<<
/Type /Catalog
/Pages 3 0 R
>>
endobj
2 0 obj
<<
/Type /Info
/Producer (Oracle BI Publisher 10.1.3.4.1)
>>
endobj
3 0 obj
<<
/Type /Pages
/Kids [
/Count 0
>>
endobj
4 0 obj
<<
/ProcSet [ /PDF /Text ]
>>
endobj
xref
0 5
0000000000 65535 f
0000000010 00000 n
0000000065 00000 n
0000000147 00000 n
0000000208 00000 n
trailer
<<
/Size 5
/Root 1 0 R
/Info 2 0 R
/ID [<e45d94e9f08bf009170c54aabd4c051c><e45d94e9f08bf009170c54aabd4c051c>]
>>
startxref
258
%%EOF
<PRE>Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.</PRE></BODY></HTML>The DBA enabled trace and I have that log file.. but don't really know what I am looking for :-/
It doesnt really make much sense to me, since when running it in the application there is a valid session id and it doesnt work. but if i explicitly specify the session id in the report query it does work.
Has anyone experienced said problem or can provide any useful guidance?
Thanks,
Trent

Found out this was a limitation to do with apex <= 3.x .. see http://marcsewtz.blogspot.com/2008/06/one-question-about-pdf-printing-feature.html

Similar Messages

  • NVision Report not generated with email option in the Run Report page

    Hi ,
    I want to send the nvision reports through email to the users, I tried it by setting the email option in the drop down of the "Type" after giving "Run Report" and then specifying the email ids. The issue is i am getting emails , but the report is not generated which otherwise generates, and hence no attachement is seen on the email .
    Anybody faced this issue ?? Please help
    Regards,
    Kanchana

    Hi again!
    You are absolutely right! I will mark as solved in 5 mins (can't do it now, thread to fresh it seems).
    thanks
    Manfred

  • SD reports we generated with the the help of ABAPers

    What are the SD reports we generated with the the help of ABAPers? How can we modify existing reports?

    Hi Gopala.,
                  Customer uses standard SAP reports if he wants additional reports apart from the functionality provided we functional people give the specifiction to the technical peole ABAPERS reagrding the report we needed and the tables and fields of the particular repot,With the help of that ABAPERS develop Query reports or they create reports
    Some reports we also can generate using LIS
    REWARD if helpfull
    Thanks & Regards
    Narayana
    Message was edited by:
            manam narayana

  • Interactive Reports not working with APEX listener

    Hi,
    I have posted this question APEX listener forum couple of weeks ago but very few responses.
    If any one from here can help then it would be great.
    Interactive Reports not working with APEX listener
    Best Regards,
    Baig

    Sorry for late response.
    It was a firewall issue

  • Cycle count listing Report not generating out put

    Hi Team ,
    We are into 11.5.10.2 , We have set Auto schedule to weekly in cycle counts and cycle count is not generating output for cycle count listing in Production.
    But, we are able to generate report output in Test instance and unable to generate in Production . We tried testing with same login in Production and Test Instance .
    Please advice
    Thanks
    Kiran

    Also please confirm that the CC calendar and other CC related setups are exactly same from the PROD and TEST instances.
    Also make sure that you are running the report for the same INV org.. as there is no Input parameter for the Org in the report input but it picks from the MFG_ORG_ID profile value, which gets assigned when you loginto the responsibility.. You can confirm the selection by Chane Instance Org and select the Inv org and then run the report..

  • Solman Early watch report not generating PRD system report.

    Hello All,
    I have issues related to Earlywatch Report. We have configured EWA for all our 3 systems in Landscape (DVM, QVM, PRD), The reports generate on weekly basis. But I noticed that EWA report in Solman is not getting generated for PRD systems. SDCC was not active so I activated that. Next to PRD it gives red flag stating Session Data Overdue error.
    I went to PRD SDCCN Tcode, there I created 'Refresh Session' - it failed with following error.
    Refresh of session overview failed from destination SM_SOLCLNT300_BACK
    Sessions cannot be refreshed from destination SM_SOLCLNT300_BACK ( SOL , 0020270483 )
    Password logon no longer possible - too many failed attempts
    error reading function module interface DSWP_API_SESSIONLIST_GET from SM_SOLCLNT300_BACK
    Refresh of session overview started from destination SM_SOLCLNT300_BACK
    What user is it trying to refer ???? If its referring SM_SOLCLNT300_BACK user then it has its own default password which I dont know.
    The report does get generated in SAP Marketplace Inbox. In SDCC we have check mark next to Solman + SAP for report generation for PRD system,
    Is it reports get generated in Solman OR SAP not BOTH destination ?????.
    The last 2 reports (3rd Dec & 26 Nov) of PRD got generated in Solman but otherwise it always has Red Flag next to it stating "Data for this session is overdue"
    I did the connection test & authorization test (Tcode SDCC) in PRD & they were successful.
    Kindly suggest how should I resolve this issue.
    Thanks
    Rupali S

    Hi,
    I have tried all possible steps..I checked all the RFC destinations of all the systems (DVM, QVM, PRD, SOL) & they are working fine, some had issues with passwords & user locked...but then I corrected those errors.
    Tests were successful as below.
    In PRD for SDCC_OSS
    RFC destination SDCC_OSS is functional (ping and logon authorization check done)
    RFC destination SDCC_OSS has authorization for all needed function groups
    Solman – PRD
    RFC destination SM_SOLCLNT300_BACK is functional (ping and logon authorization check done)
    RFC destination SM_SOLCLNT300_BACK has authorization for all needed function groups
    But still get error message if I create Refresh Session.
    Error transferring session data to SM_SOLCLNT300_BACK
    Password logon no longer possible - too many failed attempts
    transfer aborted: communication failure in BDL_START_OF_SESSION_DOWNLOAD
    ANALYSE_PERIODIC_JOBS : no matching interface found
    function module not found
    ANALYSE_PERIODIC_JOBS : funcname /SDF/ANALYSE_PERIODIC_JOBS , module 000104
    SAPWL_TCODE_AGGREG_MONTH_T : no matching interface found
    function module not found
    SAPWL_TCODE_AGGREG_MONTH_T : funcname /SDF/RBE_OBJ_USAGE_MCST , module 000097
    I believe becoz of this I am getting the Raise Exception error due to which 3 jobs are getting cancelled which are related to EWA (I have posted query for the dump issue seperately).
    I am not understanding why am I getting those cancelled jobs daily when EWA reports run weekly (Mon).
    Please suggest.
    Rupali S

  • Quickpaint reports not working with assignment set defined with criteria

    Hello,
    I have a problem with quickpaint reports in HRMS. When i run quickpaint report against assignment set defined with criteria it reports following error: APP-PAY-06867 An error occurred during formula execution FFX00_DATA_NOT_FOUND (assignment criteria was &ASG_LOCATION=New York).I defined several assignment sets with different criteria and i always get the same error when i run any quickpaint report.
    The same Quickpaint report works well with assignment set defined by including individual assignment.
    Thanks in advance!
    best regards

    Thanks for uploading the sample reports. 
    I am not abe to reproduce the issue and the graphs generated in both the attached reports are the same except that the width of the graphs being displayed are different as seen in the below images.
    ATML 5.1 Report Graph
    XML Report Graph
    Regards
    Srivinayaka Pandurangan
    National Instruments
    With Best Regards,
    Srivinayaka
    National Instruments

  • XML publisher report not generating output for huge XML files

    Changed Depreciation Projections Report output type to XML.
    Defined a Data Definition and a new Data Template (RTF) for this report.
    Ran the Depreciation Projection Report to generate the XML output.
    Ran the XML Report Publisher report to generate teh PDF/Excel output of the above report.
    Output generated for smaller XML files. When XML size is big, the program is running for hours without generating the output.
    Teh RTF template is basically a matrix report in which the number of columns in the report is based on the number of periods the report is run for.
    The same is not working in the Desktop version also. The system is hanging when i try to view the preview pdf.
    The XML file size is approximately 33 MB.
    Please let me know if there is any way we can increase the memory size to see the output.
    Thanks,
    Ram.

    for publisher use Category: E-Business Suite

  • Inspection Lot not generated, with MIGO 561

    Hello All,
    Please help me with this issue.
    WHen i do MIGO with 561, inspection lot is not generated.
    So there is a setting in spro, if we check that, inspection lot wont be generated.
    So now in my IDES, i tried to uncheck that box.
    When i save this setting, I get the following error.
    "Fill table key for table T156Q only up to position 010".
    Please help with this issue.
    Regards,
    Piyush

    To load initial inventory in Quality stock and release it using Inspection lot  UD,   use movement type 563 instead of 561.
    With 561 movement stock is directly posted to un-restricted status. So there is nothing to be released from Quality stock.

  • Parameter issue - report not generating any pdf files

    Hi All,
    I'm trying to run a report which generates pdf files. Is there any limitation on the parameter string size? For one of the parameter values - '11F EA Accept nonhonor ASnSOMnSON_20091201090150846' the report is not generating any pdf files. I assumed the reason is of the keyword 'AS' in it and created another parameter value - '11F EA Accept nonhonor AnS-SOM-SON_20091202074331997', but it is also not generating any pdf files. I get this message from Adobe Reader " There was an error opening this document. This file cannot be opened because it has no pages. " The report is working normally when i hardcode the same parameter values into the logic. Any suggestions on this?
    Thanks.
    Edited by: user1049091 on Dec 2, 2009 9:17 AM
    Edited by: user1049091 on Dec 2, 2009 12:37 PM

    Tim,
    That report is working normally for all the parameter values, except this one. It is not working only if i pass the value - ''11F EA Accept nonhonor ASnSOMnSON_20091201090150846' as a parameter. It is generating the pdf files when i hardcode the same value into sql query logic in the data template, instead of passing it as a parameter. Please advise.
    Thanks.

  • Daily Financials Intelligence Report not loaded with Data

    Dear All,
    I have an Issue with the Daily Business Intelligence.
    The Financials Intelligence Reports are coming with no data.
    What shall I do to populate this report with latest data.
    Please update...
    many thanks in advance..

    Thanks for your response..
    The EBS is 11.5.10.2 and the OS is Sun Solaris
    This is the first time using this report.
    How can I see the BI report query..?
    Please Note: In the Daily Business Intelligence Designer, in the Dashboard, the Update button against the report name is greyed and not highlighted. How to enable this also..?
    Please update....

  • Web Report not working with parameter form

    Hi,
    I have a report which has got a parameter form. This report is
    running fine in client/server environment. But when I deploy the
    same report on web (CGI) using PARAMFORM=YES, I am getting the
    parameter form and after pressing the SUBMIT button I am getting
    a blank report under the following two cases even though I have
    data for that query:
    CASE1: <input type="hidden" name="desformat" value="html">
    then I am getting the report with no data retrieved.
    CASE2: <input type="hidden" name="desformat" value="pdf">
    then I am getting completely blank report (no logo, no column
    titles, etc.)
    See the HTML code below. Remember, the same thing is running
    fine in client/server environment. Moreover, if I make a HTML-
    coded form for the report then everything on the client's
    browser is running fine. But this is not what we want, 'coz we
    are running the "BEFORE PARAMETER FORM" trigger in the report.
    So, should I conclude that web-reports does not work with the
    parameter forms?? Is it a bug???
    Regards
    Moiz
    ----------HTML Code------------------
    <form action="http://pc-oracle1.ri.kfupm.edu.sa/cgi-
    bin/rwcgi60.exe">
    Select the Weekend Date for which you would like to see your
    Timesheet report
    <input type="hidden" name="server" value="repserver">
    <input type="hidden" name="report" value="timesheet.rdf">
    <input type="hidden" name="userid" value="696122/696122@ors">
    <input type="hidden" name="destype" value="cache">
    <input type="hidden" name="desformat" value="html">
    <input type="hidden" name="paramform" value = "yes">
    <input type="submit" value="Run Report">
    </p>
    </form>
    -------HTML Code END------------------
    null

    No pal, that's not the problem. The problem lies with the
    "BEFORE PARAMETER FORM" report trigger on the web. Check this
    out on ur report server and u will understand my problem.
    Moiz
    Ramonito Te (guest) wrote:
    : I think the cause is the missing question mark after
    rwcgi60.exe.
    : Anyway here is my html file that runs under cgi. Hope this
    helps.
    : <HTML>
    : <!--Form Action is RWCGI60 URL-->
    : <FORM METHOD=POST
    : ACTION="http://ntserver1/ows-bin/rwcgi60.exe?" METHOD="POST">
    : <!--Parameters not exposed to user are hidden-->
    : <INPUT name=server type=hidden value="ReportsServer">
    : <INPUT name=paramform type=hidden value="yes">
    : <CENTER><H1>Set Reports Multi-tier Server Parameters </H1>
    Report Name: <INPUT name=report type=text value="c:
    : \orant\webdemo\deptemp.rdf">
    : Database Connection: <INPUT name=userid type=text
    : value="scott/tiger@orcl81">
    : <INPUT name=destype type=hidden value="cache">
    : Output Format: <SELECT name=desformat> <OPTION value=HTMLCSS
    : selected> HTMLCSS <OPTION
    : alue=PDF> PDF </SELECT>
    : <HR><INPUT type=submit value="Run Report!">
    : </CENTER> </FORM> </HTML>
    : lue="Run Report!">
    : </CENTER> </FORM> </HTML>
    : M. Moizuddin (guest) wrote:
    : : Hi,
    : : I have a report which has got a parameter form. This report
    : is
    : : running fine in client/server environment. But when I deploy
    : the
    : : same report on web (CGI) using PARAMFORM=YES, I am getting
    the
    : : parameter form and after pressing the SUBMIT button I am
    : getting
    : : a blank report under the following two cases even though I
    : have
    : : data for that query:
    : : CASE1: <input type="hidden" name="desformat" value="html">
    : : then I am getting the report with no data retrieved.
    : : CASE2: <input type="hidden" name="desformat" value="pdf">
    : : then I am getting completely blank report (no logo, no
    column
    : : titles, etc.)
    : : See the HTML code below. Remember, the same thing is running
    : : fine in client/server environment. Moreover, if I make a
    HTML-
    : : coded form for the report then everything on the client's
    : : browser is running fine. But this is not what we want, 'coz
    we
    : : are running the "BEFORE PARAMETER FORM" trigger in the
    report.
    : : So, should I conclude that web-reports does not work with
    the
    : : parameter forms?? Is it a bug???
    : : Regards
    : : Moiz
    : : ----------HTML Code------------------
    : : <form action="http://pc-oracle1.ri.kfupm.edu.sa/cgi-
    : : bin/rwcgi60.exe">
    : : Select the Weekend Date for which you would like to see your
    : : Timesheet report
    : : <input type="hidden" name="server" value="repserver">
    : : <input type="hidden" name="report" value="timesheet.rdf">
    : : <input type="hidden" name="userid" value="696122/696122@ors">
    : : <input type="hidden" name="destype" value="cache">
    : : <input type="hidden" name="desformat" value="html">
    : : <input type="hidden" name="paramform" value = "yes">
    : : <input type="submit" value="Run Report">
    : : </p>
    : : </form>
    : : -------HTML Code END------------------
    null

  • XML Publisher Report not generating the PDF output.

    Hi,
    I am trying to develop a XML Publisher Report in R12 Vision Instance.
    I have developed the rdf report and concurrent program with XML as output format. Ran the concurrent program and I got the XML output. Based on XML output I have created the rtf template. Using both the template and xml output I have created in Data Definition and Template in XML Publisher Administrator Responsibility. Now I am comming to the concurrent program and running the program, here instead of generating the PDF output it is generating again the XML output and concurrent program completing with warning status.
    When I am trying to do the same in 11i Vision Instance, Concurrent Program completing with normal status and when trying to view the output it is saying "Unable to Publish output for the Processed Request".
    Kindly please help me out in this issue.
    Thanks,
    Manasa.

    Hi Mahesh,
    Here the concurrent programs are not erroring out. It is completing with Warning status and when we click on View Output the output is coming in XML format instead of PDF, this is in R12 Vision Instance.
    In 11i Vision Instance, concurrent program is completing with Normal Status but when we click on View Output it is saying "Unable to Publish output for specified request".
    Thanks,
    Manasa.

  • Early Watch Alert Report not generating

    Hi All,
    We are not getting EWA report for last few days.
    It has one exception "NO_PARAMS_FOUND_FOR_GIVEN_CRIT" in the finished jobs of SDCCN.
    Can anyone tell the possible reasons.
    Does applying new patch affects it and we need to refresh and generate settings again in SOLMAN ?
    Please help.
    Thanks & Regards,
    Santosh Rajput

    Hi,
    Applying patch would solve your problem.
    Before that you can try refreshing service definitions.
    <b>Check this note.Note 781680 - SDCC/ SDCCN - Problems with function modules</b>
    Q: PROFILE_FROM_PAHI/S : NO_PARAMS_FOUND_FOR_GIVEN_CRIT
    The above error message occurs during a data collection. How can this be fixed?
    A: This function module uses system parameters to determine the import
    parameters to be used.
    You can find the used import parameters by drilling into the data collection:
    DATA_PER_INSTANCE -> PROFILE_FROM_PAHI/S
    The import parameters are
    SELECT_SYSTEMID
    SELECT_START_DATE
    SELECT_PARAMETER_TYPE
    SELECT_HOSTNAME
    SELECT_HOSTNAME is determined by system profile parameter SAPSYSTEM. This parameter must be set in upper cases and two digits (e.g  SAPSYTEM = 00 is correct, SapSystem = 1 is incorrect).
    Please check SAPSYSTEM with report RSPARAM and adjust it in the SAP Systems instance profile.
    If you need help changing the parameters please open a message in component BC-CCM-CNF-PFL
    Which platfom you are running? If its AS/400 you can ignore.
    Refer note Note <b>953067 - PROFILE_FROM_PAHI/D : exception NO_PARAMS_FOUND_FOR_GIVEN_CR</b>
    This would solve your problem.
    Feel free to revert back.
    --Ragu

  • BI Publisher Report not Generating any Output in the Excel SHeet

    We have a CUstom BI PUblisher Report .When we run it ,it completes normally but there is no data in the Excel Sheet generated .It shows NO DATA FOUND .But when i run the Query seperately i do get some data . Don't know why it is not viewable in the Excel sheet ,it was working fine few days back .
    Please advice .
    Thanks

    do you use some profile in your script?
    We recently upgraded the database from 10g to11g .
    after that report has no data ?
    is it ebs or obiee?

Maybe you are looking for

  • Business System and Client

    Hi I checked many treads and still I couldn't get a satisfactory explanation to the difference between Business System and Client. I read in help.sap site that multiple business systems can be assigned to a single technical system and also each numbe

  • Is it possible to edit a google site using dreamweaver

    I'm using google sites for some of my low price costumers, and i was wondering what options exsist to use dreamveaver to update some of the gadgets like the text gadget. I know google does not support connecting fully with deamweaver or any other edi

  • Benchmarking Key Figures in a query which is posted in a web template.

    Hi All, has someone experiences with benchmarking in a query? What possibilitys do we have? We want to show the following: The query has in the rows the characteristic "sector" and in the collumns several figures. We navigate in this report via "filt

  • Numeric limit test

    Hi, I am generating a html report with the requirement as follows: Need to perform a numeric limit test.      If the value is with in the limits the step status in report should be "Passed" with default back ground color(Greeen).      If the value is

  • Palm Desktop crashes on startup

    Hello, I am running Palm Desktop 6.2.2.0 under Win Vista, and have been for years. I have not installed any new software on either my Palm TX or my PC in weeks, maybe months. This morning I could open Palm Desktop just fine, this evening it crashes -