Missing image (html4botransp.gif) from the report

Hi,
Our application connects to BO XI R2 server for displaying full client reports using JSP and servlet. Here is the code snippet, we are using to open report in servlet -
HttpSession session = httpservletrequest.getSession();
          IEnterpriseSession eSession=(IEnterpriseSession)session.getAttribute("EnterpriseSession");
          if (eSession != null)
               try
                    ReportEngines boReportEngines = (ReportEngines) eSession.getService("ReportEngines");
                    ReportEngine reportEngine = boReportEngines.getService(ReportEngines.ReportEngineType.FC_REPORT_ENGINE);
                    DocumentInstance doc = reportEngine.openDocument(new Integer(httpservletrequest.getParameter("docID")).intValue());
                    Report rep = doc.getReports().getItem(0);
                    HTMLView docHtmlView = (HTMLView)rep.getView(OutputFormatType.HTML);
                    String sHTMLView = docHtmlView.getContent();
                    httpservletresponse.setContentType("text/html;charset=ISO-8859-1");
                    PrintWriter pw = httpservletresponse.getWriter();
                    pw.println(sHTMLView);
               catch(SDKException ex)
The report opens successfully, however an 'image not found' error appears on the report opened in HTML page. On checking out the source of opened HTML page, noticed following <IMG> tag at 'image not found' position -
IMG SRC='getImage.jsp?sEntry=re0000000019f28e6b5990&name=html4botransp.gif' WIDTH='1280' HEIGHT='1810'
which image is 'html4botransp.gif'? Is it a BO specific image and if yes have we missed adding some library file?
- A
Edited by: aditya gaurav on Aug 20, 2008 4:32 PM

Hi,
Any1 can suggest what's wrong in below code for image callback -
In 1st JSP -
ReportEngines boReportEngines = (ReportEngines) eSession.getService("ReportEngines");
          ReportEngine reportEngine = boReportEngines.getService(ReportEngines.ReportEngineType.FC_REPORT_ENGINE);
          session.setAttribute("ReportEngine", reportEngine);
          System.out.println("docID -
" + request.getParameter("docId"));
          DocumentInstance doc = reportEngine.openDocument(new Integer(request.getParameter("docId")).intValue());
          Report rep = doc.getReports().getItem(0);
          HTMLView docHtmlView = (HTMLView)rep.getView(OutputFormatType.DHTML);
          ImageOption     webiImgOpt = null;
          webiImgOpt = doc.getImageOption();
          webiImgOpt.setImageCallback("imageCallback.jsp");
          webiImgOpt.setImageNameHolder("image");
          webiImgOpt.setStorageTokenHolder("entry");
          String sHTMLView = docHtmlView.getContent();
In callback jsp file -
response.setContentType("image/gif");
String strEntry = request.getParameter("entry");
String strImageName = request.getParameter("image");
ReportEngine cdzReportEngine = (ReportEngine)session.getAttribute("ReportEngine");
DocumentInstance cdzDocument =  cdzReportEngine.getDocumentFromStorageToken(strEntry);
Image objImage = cdzDocument.getImage(strImageName);
byte[] abyBinaryContent = objImage.getBinaryContent();
ServletOutputStream objServletOutputStream =  response.getOutputStream();
response.setContentLength(abyBinaryContent.length);
objServletOutputStream.write(abyBinaryContent);
objServletOutputStream.flush();
objServletOutputStream.close();
I am still unable to display graphs and continue getting error for 'html4botransp.gif'. Both JSP files are present in same sub-directory.
Thanks

Similar Messages

  • XML Report completes with error due to REP-271504897:  Unable to retrieve a string from the Report Builder message file.

    We are in the middle of testing our R12 Upgrade.  I am getting this error from the invoice XML-based report that we are using in R12. (based on log).  Only for a specific invoice number that this error is appearing.  The trace is not showing me anything.  I don't know how to proceed on how to debug where the error is coming from and how to fix this.  I found a patch 8339196 that shows exactly the same error number but however, I have to reproduce the error in another test instance before we apply the patch.  I created exactly the same order and interface to AR and it doesnt generate an error.  I even copied the order and interface to AR and it doesn't complete with error.  It is only for this particular invoice that is having an issue and I need to get the root cause as to why.  Please help.  I appreciate what you all can contribute to identify and fix our issue.  We have not faced this issue in R11i that we are maintaining right now for the same program which has been running for sometime.  However, after the upgrade for this particular data that the user has created, it is throwing this error REP-271504897.
    MSG-00100: DEBUG:  Get_Country_Description Return value:
    MSG-00100: DEBUG:  Get_Country_Description Return value:
    REP-0002: Unable to retrieve a string from the Report Builder message file.
    REP-271504897:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-271504897: MSG-00100: DEBUG:  BeforeReport_Trigger +
    MSG-00100: DEBUG:  AfterParam_Procs.Populate_Printing_Option
    MSG-00100: DEBUG:  AfterParam_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG:  Organization Id:  117
    MSG-00100: DEBUG:  BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG:  P_Choi
    Report Builder: Release 10.1.2.3.0 - Production on Tue Jul 23 09:56:46 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.

    Hi,
    Check on this note also : Purchasing Reports Fail When Changing Output To XML REP-0002 REP-271504897 REP-57054 (Doc ID 1452608.1)
    If you cant reproduce the issue on other instance, apply the patch on the test instance and verify all the funcionality related to the patch works OK. Then move the patch to production. Or you can clone the prod environment to test the patch.
    Regards,

  • REP-0002: Unable to retrieve a string from the Report Builder message file;

    Hi,
    I've a custom report in which i need to display a large string, of more than 4000 characters. To cater to this requirement i've written a formula column which displays string upto 4k characters and for a string of size beyond 4k i am calling a procedure which uses a temp table having a clob field.
    For a small string the report runs fine but whenever a large string requirement comes into the picture, said procedure gets triggered and i get REP-0002: Unable to retrieve a string from the Report Builder message file.
    OPP log for the same gives an output as under:
    Output type: PDF
    [9/21/10 2:17:12 PM] [UNEXPECTED] [388056:RT14415347] java.io.FileNotFoundException: /app/soft/test1udp/appsoft/inst/apps/e180r_erptest01/logs/appl/conc/out/o14415347.out (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    Report Builder 10g
    BI Publisher's version : 4.5.0
    RDBMS Version : 10.2.0.4.0
    Oracle Applications Version : 12.0.6
    Searched for the same on metalink and found Article ID 862644.1, other than applying patch and upgrading version of BI Publisher is there any other workaround to display a comma seperated string as long as 60k characters, If any please suggest.
    Thanks,
    Bhoomika

    Metalink <Note:1076529.6> extracts
    Problem Description
    When running a *.REP generated report file you get errors:
    REP-00002 Unable to retrieve string from message file
    REP-01439 Cannot compile program since this is a runtime report
    Running the same report using the *.RDF file is successful.
    You are running the report with a stored procedure,
    OR you are running against an Oracle instance other than the one developed on,
    Or, you recently upgraded your Oracle Server.
    Solution Description
    1) Check that the user running the report has execute permissions on any stored
    SQL procedures called. <Note:1049458.6>
    2) Run the report as an .RDF not an .REP , that is remove or rename the .REP
    version of the report. <Note:1012546.7>
    3) Compile the report against the same instance it is being run against.
    <Note:1071209.6> and <Note:1049620.6>

  • Problem while calling a report from the report

    Hi
    i want call a report from the report, i have written URL in the Hyperlink and its working
    but
    1) i want open it in the diffrent window.
    2) suppose if u have a report called emp it should call antoher 2 report at a time.
    ( how to put 2 URL in the hyperlink?).
    i,e if i press a hyperlink it should open emp1 and emp2
    Please help me.
    thanks and regards

    Thanx,
    I have solved this problem.
    Regards,
    Hafeez

  • How to call a package from the Report in Oracle Application Express

    How to call a package from the Report in Oracle Application Express

    Hello,
    What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
    Or do you want to execute a procedure when something happens on the page, like clicking a button?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • Generating a PDF and then Email it from the report server.....

    All,
    This is my first post on this forum and I have the following question.....
    Please note I am not a DB expert nor a reporting expert but I have done my fair share of reporting using Oracle DB with Oracle Reports or Hyperion.
    I have a report that will be posted to the report server that a user can go out and run at there convenience.
    As a side note we have recently migrated our Database from ORACLE 8i to 10G and the report was created using Oracle ReportBuilder 10.1.
    This report was also mimicked by a Oracle package and emailed out through I believe some PL SQL(?). This is a plain text report in the email.
    As I recently did some big changes to the Original report they want this email report to match as well.
    Well After looking at what they want in the email its basically the exact same thing as the version the user would see on the web. This seems like a waste of time for myself to edit this Package (For the email report - plaint text) and to have a oracle report available on the web server not to mention the DB dealing with the PLSQL..
    So I am asking is there a way to set up Oracle reports to mail a generated PDF or a HTML results file out from the reporting server at a specified time?
    If so how is this accomplished?
    I see that in the help file in Report Builder that you can set rwbuilder.conf file with the SMTP server but how do I set the email address and the time to run the report.
    Thanks for all the help,
    Chris

    Hello,
    Maybe I am not understanding something but we have a reporting server where they basically select the report in a drop down web control and they fill in the necessary parameters and then the report is ran.
    The web links refer to report builder and how to email from it. I am in a web environment that they select the report and its ran. Is this web form a standard product with Oracle for reporting?
    I have seen how to do accomplish my task from the command line. Is this another way of accomplishing this task?
    I think what I am also looking for is a confirmation that what I want to do is possible and that someone has accomplished this task before.
    Thanks,
    Chris

  • How to determine the Support Team from the Reported by?

    Hello Everyone,
    I am working with Solution Manager 4.0 and I want to use Automatic Partner Determination in Service Desk. My employer wants the Support Team (SLFN0003) to be determined by the Reported by (SLFN0002).
    There are already parts of the Automatic Partner Determination that work, like determining the Sold-to Party from the IBase component. Because of that I believe the customizing leading to a correct Partner Determination Procedure is working. But somehow I can’t seem to get the determination of the Support Team from the Reported by to work. Hopefully someone can help me on this matter.
    Thanks in advance!
    Best regards,
    Michael Sital

    method if_ex_order_save~check_before_save.
      data gs_status type zsmgl_status.
      data lt_tguid  type crmt_object_guid_tab.
      data lt_orderadm_h type crmt_orderadm_h_wrkt.
      data lt_status type crmt_status_wrkt.
      data ls_status like line of lt_status.
      data lt_partner type crmt_partner_external_wrkt.
      data ls_partner like line of lt_partner.
      data lt_partner_h  type table of crmt_partner_com.
      data lt_partner_h1 type crmt_partner_comt.
      data ls_partner_h like line of lt_partner_h.
      data ls_field_names type crmt_input_field_names.
      data lt_field_names type crmt_input_field_names_tab.
      data lv_logical_key(42) type c.
      data lt_input_fields  type crmt_input_field_tab.
      data ls_input_fields like line of  lt_input_fields  .
      data gt_partner_h type crmt_partner_external_wrkt.
      data gs_partner_h like line of gt_partner_h.
      data lt_cjest type table of crm_jest.
      data ls_cjest type crm_jest.
      clear lt_status.
      clear lt_partner.
      clear lt_orderadm_h.
      insert iv_guid  into table lt_tguid.
      call function 'CRM_ORDER_READ'
        exporting
          it_header_guid       = lt_tguid
        importing
          et_status            = lt_status
          et_orderadm_h        = lt_orderadm_h
          et_partner           = lt_partner
        exceptions
          document_not_found   = 1
          error_occurred       = 2
          document_locked      = 3
          no_change_authority  = 4
          no_display_authority = 5
          no_change_allowed    = 6
          others               = 7.
      if sy-subrc = 0.
    Get in only  if status is changed to Inprogress.
        clear ls_cjest.
        select single * from crm_jest into ls_cjest where objnr = iv_guid and inact = ' '.
        if ls_cjest-stat = 'E0010'.
          read table lt_status into ls_status with key status = 'E0002'.
          if sy-subrc = 0.
    Read Status from Intermidiate Table.
            select single * from zsmgl_status into gs_status
                                     where guid = iv_guid
                                     and   stat = 'E0002'
                                     and   inact = ''.
            if sy-subrc = 0.
    make copy to _h table
              loop at lt_partner into ls_partner.
                move-corresponding ls_partner to ls_partner_h.
                append ls_partner_h to lt_partner_h.
                clear ls_partner_h.
              endloop.
              loop at lt_partner_h into ls_partner_h where partner_fct = 'SLFN0003' or partner_fct = 'SLFN0004'.
                case ls_partner_h-partner_fct.
                  when 'SLFN0003'.
                    ls_partner_h-ref_partner_no = gs_status-partner_number.
                    ls_partner_h-partner_no = gs_status-partner_number.
                    modify lt_partner_h from ls_partner_h transporting  ref_partner_no partner_no.
                    clear ls_partner_h.
                  when 'SLFN0004'.
                    if gs_status-bu_partner is not initial.
                      ls_partner_h-ref_partner_no = gs_status-bu_partner.
                      ls_partner_h-partner_no = gs_status-bu_partner.
                    else.
                      ls_partner_h-partner_no = ' '.
                      ls_partner_h-ref_partner_no = ' '.
                    endif.
                    modify lt_partner_h from ls_partner_h transporting  ref_partner_no partner_no.
                    clear ls_partner_h.
                endcase.
              endloop.
            endif.
            lt_partner_h1[] = lt_partner_h[].
            loop at lt_partner_h1 into ls_partner_h where ref_partner_fct = 'SLFN0003' or ref_partner_fct = 'SLFN0004' .
              clear ls_field_names.
              ls_field_names-fieldname = 'PARTNER_FCT'.
              insert ls_field_names into table lt_field_names.
              ls_field_names-fieldname = 'PARTNER_NO'.
              insert ls_field_names into table lt_field_names.
              ls_field_names-fieldname = 'DISPLAY_TYPE'.
              insert ls_field_names into table lt_field_names.
              ls_field_names-fieldname = 'NO_TYPE'.
              insert ls_field_names into table lt_field_names.
              ls_field_names-fieldname = 'KIND_OF_ENTRY'.
              insert ls_field_names into table lt_field_names.
              ls_input_fields-ref_guid    = iv_guid.
              ls_input_fields-ref_kind    = 'A'.
              ls_input_fields-objectname  = 'PARTNER'.
              ls_input_fields-field_names = lt_field_names.
              lv_logical_key = '0000'.
              lv_logical_key+4 = ls_partner_h-partner_fct.
              lv_logical_key+12 = ls_partner_h-partner_no.
              lv_logical_key+28 = ls_partner_h-ref_display_type.
              lv_logical_key+30 = ls_partner_h-ref_no_type.
              ls_input_fields-logical_key = lv_logical_key.
              insert ls_input_fields into table lt_input_fields.
            endloop.
            call function 'CRM_ORDER_MAINTAIN'
              exporting
                it_partner        = lt_partner_h1
              changing
                ct_input_fields   = lt_input_fields
              exceptions
                error_occurred    = 1
                document_locked   = 2
                no_change_allowed = 3
                no_authority      = 4
                others            = 5.
          endif.
        endif.
      endif.
    endmethod

  • HT4007 Does Aperture support Images and videos from the new 3D cameras?

    Does Aperture support Images and videos from the new 3D cameras?

    If the camera is listed here OS X Lion: Supported digital camera RAW formats or here Mac OS X v10.6: Supported digital camera RAW formats then the raw image file is supported by Aperture.
    If the camera is not listed then as Keith wrote if it produces JPG's they can be imported into Aperture.
    If you told us what camera you were interested in it might help.
    regards

  • How do I change the image used on an movie project icon? iMovie seems to select an image at random from the images I imported.

    How do I change the image used on an movie project icon?
    iMovie seems to select an image at random from the images I imported.

    Not sure I understand how to use what you have posted. Here's what my init() looks like:
    public void init()
    setLayout(new BorderLayout());
    p=new Panel();
    p.setLayout(new GridLayout(1,1));
    callnowButtonURL = getURL(callnowButtonFilename);
    if (callnowButtonURL != null)
    callIcon = new ImageIcon(callnowButtonURL,"call");
    endcallButtonURL = getURL(endcallButtonFilename);
    if (endcallButtonURL != null)
    endIcon = new ImageIcon(endcallButtonURL);
    b=new JButton(callIcon);
    b.setBorder(new EmptyBorder(0,0,0,0));
    b.setBorderPainted(false);
    b.addActionListener(this);
    p.add(b);
    add(p,"Center");
    Now the ActionListener is basically:
    public void actionPerformed(ActionEvent e)
    if (mybool == false)
    <Perform actions here set mybool to true>
    Change JButton b to use EndIcon
    else
    <Perform actions here set mybool to false>
    Change JButton b to use CallIcon
    Can you clarify how to perform the action I require? You can have a couple of Dukes if you can help me sort this out.

  • My 9.2.3 iphoto is broke. why can't i access the photos i uploaded to it or them images i downloaded from the internet?

    my iphoto 9.22.3 is broke. why can't i access the images i download from the internet or access the pics i took with my camera? thjey are there when i open iphoto, but not there when i try to use them???

    You already said  that
    the answer us again
    And again exactly are you doing? How are you trying to attach them?  The basic answer is to use the media browser in the lower left hand corner of the attach window under Media ==> photos. ==> iPhoto
    LN

  • How to Pre fill the screen XD01/XD02, from the report program

    Hello,
    I have a requirment where i have to pass the screen values for the genral view of the tcode XD01/XD02,
    For example : In my report program i get the Name, City, Country, PIN etc.. now my requirement is that the First Screen(Genral view) of the XD01 is pre filled with all the values that are passed from the Program and the user can continue after that.
    Please suggest a way to achieve the mentioned functionality .
    Regards,
    Abhinav

    Thanks
    But the screen fields that i have to fill don't have parameter id's ..and i dont want to open the object by access key.
    also my requirement is to leave to the transaction with the filled  screen field .from the report prog...so when i use BDC i get the OK code , that i want to avoid.

  • ProjectUID selected from the reporting database from Project Server OnPublished event is taking some delay

    Hi all,
    I'm invoking a stored procedure from the reporting database from the project server onPublished event.  I'm having some issues in getting the details of that particular project from the published event handler.  This i noticed that there is some
    delay is taking place in moving the data(project uid )  from the published to the reporting database .
    My stored procedure select statement is as follows:
    SELECT ProjectUID, ProjectName FROM MSP_EpmProject_UserView
     WHERE ProjectUID=value
    This stored procedure is invoked from the onPublished event of the project server event handler where that particular projectuid is passed in that stored procedure.I have noticed that some delay is taking palce to move  the data into the reporting database. 
    My stored procedure got invoked from the onPublished event of the project server event handler before the delay is complete.  So the row selected from the stored procedure is alwys zero (0).  Is there any other method to wait for repoting database
    to get refreshed. Please help me .

    Hi sabithad,
    The issue you are facing is because of the conflict of permissions, event handlers always works through administrative user credentials whereas the project is open in edit mode by the logged-in user. And you are tyring to update custom field at the back
    end with Administrative credentials, while project queue is in process by logged-in users credentials. Its not gonna work this way :) 
    The best option is to use Javascript on your PDP using CEWP, you can either build your complete logic in JavaScript and place that code on your PDP. OR you can use the combination of JavaScript and PSI and create a webpart to be placed on PDP.
    below blog link willgive you directions to go ahead with, but for sure the solution to your query is
    JavaScript :)
    http://epmxperts.wordpress.com/2012/05/21/generate-unique-id-for-project-using-a-webpart/
    hope this helps.
    Khurram Jamshed - MBA, PMP, MCTS, MCITP (
    Blog, Twitter, Linkedin )
    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”.

  • I reset my wallpaper with a new photo. the default earth image is gone from the phone. how do i get it back?

    I reset my wallpaper with a new photo. the default earth image is gone from the phone. how do i get it back? Thanks

    I've tried syncing it at least 3 times thanks for the answer though

  • An Animated GIF displays, i.e. moves, for about 5 minutes, then freezes. Other GIFs from the site work indefinitely, and this GIF works indefinitely on IE. Why does it freeze in Firefox?

    An Animated Avatar GIF file moves as expected for about 5 minutes, and then freezes. Other animated avatars from the same site work fine, and move indefinitely. To confirm that the site had not exchanged the file for a non-animated version, I right-clicked and selected 'View Image Info' and when I did so, it moved for about half a second. (The image file was the one uploaded.) Loaded the page in IE, this avatar moves indefinitely.
    Any ideas why an animated GIF stops in Firefox?

    The answer is that Animated GIF files include a Loop Enable Flag as well as a Loop Limit Count. This GIF had a count which should have allowed it to loop for almost 2 hours. But in Firefox it only loops for about 5 minutes.
    It appears Firefox is misinterpreting this value to be a Frame Count rather than a Cycle Count.
    Is there any Firefox Employees reading this, and can acknowledge this has been added to their Opportunity (a.k.a. Bug) List?

Maybe you are looking for