Binary content within KM Report.

<b>Short Description:</b> I trying to have a Image show up in KM report. Is there a way to add binary data to KM Reports?
<b>Long Description:</b> My KM Report shows disk space consumption by various repositories. I now want to add a column that would display Red if the Disk space consumption exceeds a particular threshold. For this I want to display an Image within the report.
Any ideas?
Appreciate any responses.
Best Regards,
Kumar

Hi,
When I try to create a KM Property (System Administration > System Configuration > Knowledge Management > Content Management > Global Services > Property Metadata > Properties), there is a Type field. Among others it has a property called "HTML". I was hoping to use that in rendering a image or coloring a cell within report display.
Is this line of thought correct?
If so, can someone provide me direction with how to create a  property within my report implementation with this type.
Best Regards,
Kumar

Similar Messages

  • 500 Internal Server Error when including a JSP within a Report JSP

    Hello,
    Please help me. Thanks in advance.
    My setup is entirely 10g. (Database, Application Server - Infra, OC4J etc)
    When i am trying to include the content of a normal JSP within a Report JSP, i am getting an Internal Server Error.
    Am attaching the trace here.
    [Thu Aug 04 23:25:06 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183506781,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:42 2005] [notice] FastCGI: process manager initialized
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0085: connect() returns: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0088: connect() returns error: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (0)The operation completed successfully:
    MOD_OC4J_0051: Tried 1 times and failed to connect to oc4j with worker: home_15.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0030: Failed to connect an
    oc4j process. This request is recoverable.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0026: Failed to marshal a request
    to ajp13 message headers or send them to the web container.
    Kindly reply a solution soon. I am in an urgent need to resolve this.
    Thank you very much.
    Regards
    AB

    Hello,
    Please help me. Thanks in advance.
    My setup is entirely 10g. (Database, Application Server - Infra, OC4J etc)
    When i am trying to include the content of a normal JSP within a Report JSP, i am getting an Internal Server Error.
    Am attaching the trace here.
    [Thu Aug 04 23:25:06 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183506781,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:42 2005] [notice] FastCGI: process manager initialized
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0085: connect() returns: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0088: connect() returns error: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (0)The operation completed successfully:
    MOD_OC4J_0051: Tried 1 times and failed to connect to oc4j with worker: home_15.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0030: Failed to connect an
    oc4j process. This request is recoverable.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0026: Failed to marshal a request
    to ajp13 message headers or send them to the web container.
    Kindly reply a solution soon. I am in an urgent need to resolve this.
    Thank you very much.
    Regards
    AB

  • How to display binary content in EP 5.0?

    I  would like to display binary content in a http-response. Formerly using a BSP-Application in Web-AS I achieved this by something like
    call method mserver->response->set_header_field(
                name = 'Content-Type' value = mimetype ).
    call method mserver->response->set_data( data = mimedata ).
    Within the context of AbstractPortalComponent I dont find a way to set the content type in a way to directly display binary content in a PRT-Context.
    What did I miss ..?

    I know this is a little out of date but you can do the following:
    /* Get the underlying HttpServletReponse object */
    HttpServletResponse httpresp = response.getRequest().getServletResponse(true);
              try {
    // This seems to be required to get rid of any buffered
    // content
                   httpresp.reset();
    //Set appropriate content type here
                   httpresp.setContentType("application/pdf");
    //write out data
    //in this case just a PDF in string format
                   httpresp.getWriter().write(data);
              } catch (Exception e) {
    // handle errors appropriately
    <b>NOTE:</b> I haven't tested this in a productive environment so test this fully before implementing
    Michael

  • Generate a PDF doc from binary content.

    Hi folks,
    I have this scenario: File Adapter <- XI -<ABAP Proxy.
    The scenario starts when R/3 runs a report (job scheduled) that invokes an outbound method of ABAP Proxy. Under this outbound method, few parameters are sent to XI, one of them is an xstring. The xstring (binary content) can be a PDF or TXT document, depends of the “doc_format” parameter value.
    I already read some documents and web logs about file format conversions. But my problem is that the XML element is coming in binary (xstring) and I need to generate a new PDF document from that element. All the web logs mention conversion from XML to any other format and not from binary! 
    My idea is to develop a Receiver File Adapter Module. The Module only picks the binary XML element and converts it in a PDF document giving the name and the format that comes into others neighbors elements of XML.
    Anyone knows which classes/methods are needed? Or is there another easy way to do this that am I not seeing?
    Thanks in Advance,
    Ricardo.

    Hi all,
    First, thank you all for the quick replies.
    To be clear, I have a binary stream that I want to convert into PDF format and not XML to PDF. So, like I said before, the SDN web logs only mention conversions from XML to PDF and not binary stream to PDF or even others formats. Using XSL I need my source message in XML and that is not the case…
    Venkat, your approach is develop a module to get the binary stream and other module to convert into PDF format, am I right?
    Cheers,
    Ricardo.

  • Embedding DMS Documents within CG42 Report Template

    Hi All,
    We are using EH&S and DMS and would like to combine these two into a CG42 report template.  Through CG02, we have created specifications where we would like to have some value assignments instances take advantage of the user-defined text tab to pull in documents from DMS.  We have configured the system to successfully link in the DMS document info record into the user-defined tab within the value assignment area of CG02 and can view the DMS documents by double clicking on that reference.
    In taking this to the next step, we would like to embed this document into our report template definition.  Mind you that some of these documents are .pdf containing text and graphics.  Within CG42, we go to the specification symbol that we want and open the area called ADDITIONAL INFO, which then opens to other symbols, one of which is "ESTDF Additional Information - User-Defined Text".   When we open that node, it provides us with many attributes as options that we can embed within the report template.  The only one that relates to content is "GESTDHEADE HEADER Start of UD Text ".  It appears that all this does is just repeat the link that was specified in CG0 when we use the command to include that in the report template and then do a preview on the report.
    In reading some SAP Help Documentation in the section for user-defined text, I'm led to believe that you can embed these into the report template but I have not been able to do so thus far.  The only thing I can do is embed information about the user-defined text into the report template.
    Can someone shed some light if this is feasible?
    By the way, we are already embedding graphic logos by relating it to a phrase and keeping these images in a folder on a file server.  If we must, we can use that approach but I'd really lile to keep these documents in DMS as a controlled document.
    Thanks!

    Hello
    please consult online help. Take a look here:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/a7/2872ac0a6c11d28a220000e829fbbd/content.htm
    Chapter: Symbol Type: Specification
    Subchapter: Output of Document Management Documents
    The description is ok and in my opinion a good starting point.
    Hope this helps.
    C.B.
    PS: http://help.sap.com/saphelp_erp60_sp/helpdata/en/a7/286d780a6c11d28a220000e829fbbd/content.htm is helpful too.
    Chapter: User-Defined Texts and Documents
    Edited by: Christoph Bergemann on Nov 26, 2011 5:12 PM

  • Automatic creation of MS Word Documents within a Report

    Dear Experts,
    within my report which creates automatically activities in a background process I have to create MS Word Documents and
    attach this Word Documents to the Activity.
    The Word Document does have a Logo and the text is changing with every Activity created.
    What would be the best technical solution for the creation of this word documents for my report?
    Best Regards
    Oliver

    Hello, I have found out what was the problem. In the end I have used method EDITREPLACE and not WW2_EDITREPLACE and I put the method EDITREPLACE more to the end of my ABAP Code:
    REPORT  z_prueba_oliver.
    TYPES: BEGIN OF ty_partner,
                 nif            TYPE bu_partner,
                 name_org1      TYPE bu_nameor1,
                 conting_com    TYPE c LENGTH 2,
                 fecha_efecto   TYPE zbufecha_ef,
                 END OF ty_partner.
    DATA:  lt_partner1     TYPE TABLE OF ty_partner,
                 ls_partner1     TYPE ty_partner,
                 lv_file_save_as TYPE c LENGTH 40,
                 lv_contador     TYPE n LENGTH 3.
    * Include necesario para la declaracion de objetos OLE2
    INCLUDE ole2incl.
    * Declaraciones para la llamada a WORD.
    DATA zword TYPE ole2_object.
    CLEAR zword.
    ls_partner1-nif = 'X7510034M'.
    ls_partner1-name_org1 = 'Razon Social 1'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510034M'.
    ls_partner1-name_org1 = 'Razon Social 2'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510034M'.
    ls_partner1-name_org1 = 'Razon Social 3'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510035M'.
    ls_partner1-name_org1 = 'Razon Social 4'.
    APPEND ls_partner1 TO lt_partner1.
    ls_partner1-nif = 'X7510035M'.
    ls_partner1-name_org1 = 'Razon Social 5'.
    APPEND ls_partner1 TO lt_partner1.
    LOOP AT lt_partner1 INTO ls_partner1.
      AT FIRST.
        CREATE OBJECT zword 'WORD.BASIC'.
    * Se abre el fichero que contiene la plantilla de la carta
        CALL METHOD OF zword 'FILEOPEN'
          EXPORTING
          #1 = 'C:DOCSPRUEBA_1.DOC'.
      ENDAT.
    * Se selecciona todo el texto del archivo PRUEBA_1.DOC
      CALL METHOD OF zword 'EDITSELECTALL'.
    * Se copia el texto seleccionado al portapapeles
      CALL METHOD OF zword 'EDITCOPY'.
    * Se crea un documento nuevo, al que WORD llama documento1
      CALL METHOD OF zword 'FILENEW'.
    * Se pega el texto del portapapeles a documento1
      CALL METHOD OF zword 'EDITPASTE'.
    * Posicionar al principio del documento
      CALL METHOD OF zword 'STARTOFDOCUMENT'.
    * Posicionar al principio del documento
      CALL METHOD OF zword 'STARTOFDOCUMENT'.
    * Se selecciona todo
      CALL METHOD OF zword 'EDITSELECTALL'.
    * Se borra la selección
      CALL METHOD OF zword 'EDITCLEAR'.
    * Se incorpora el texto original de PRUEBA_1.DOC
      CALL METHOD OF zword 'EDITPASTE'.
    *IF ls_partner1-conting_com is initial.*
       *CALL METHOD OF zword 'EDITREPLACE'*
        *EXPORTING*
        *#01 = '#linea2y3#'*
        *#02 = 'de la cobertura de Accidentes de Trabajo, de los siguientes código de cuenta de cotización (CCC):'*
        *#03 = 0*
        *#04 = 0*
        *#05 = 0*
        *#06 = 0*
        *#07 = 0*
        *#08 = 0*
        *#09 = 0*
        *#10 = 1*
        *#11 = 0*
        *#12 = 1.*
    *else.*
         *CALL METHOD OF zword 'EDITREPLACE'*
        *EXPORTING*
        *#01 = '#linea2y3#'*
        *#02 = 'de la cobertura de Accidentes de Trabajo y Contingencias Comunes, de los siguientes código de cuenta de cotización (CCC):'*
        *#03 = 0*
        *#04 = 0*
        *#05 = 0*
        *#06 = 0*
        *#07 = 0*
        *#08 = 0*
        *#09 = 0*
        *#10 = 1*
        *#11 = 0*
        *#12 = 1.*
    *ENDIF.*
      *CALL METHOD OF zword 'EDITREPLACE'*
        *EXPORTING*
        *#01 = '#codprov#'*
        *#02 = ls_partner1-nif*
        *#03 = 0*
        *#04 = 0*
        *#05 = 0*
        *#06 = 0*
        *#07 = 0*
        *#08 = 0*
        *#09 = 0*
        *#10 = 1*
        *#11 = 0*
        *#12 = 1.*
      CALL METHOD OF zword 'EDITREPLACE'
        EXPORTING
        #01 = '#nomprov#'
        #02 = ls_partner1-name_org1
        #03 = 0
        #04 = 0
        #05 = 0
        #06 = 0
        #07 = 0
        #08 = 0
        #09 = 0
        #10 = 1
        #11 = 0
        #12 = 1.
    * Se reemplaza el campo #nomprov# con el valor de la tabla interna.
      CALL METHOD OF zword 'EDITREPLACE'
        EXPORTING
        #01 = '#FECHA_EFECTO#'
        #02 = '10 de Junio de 2010'
        #03 = 0
        #04 = 0
        #05 = 0
        #06 = 0
        #07 = 0
        #08 = 0
        #09 = 0
        #10 = 1
        #11 = 0
        #12 = 1.
      lv_contador = lv_contador + 1.
      CONCATENATE 'C:DOCS' 'PRUEBA' lv_contador '_' sy-datum '.DOC' INTO lv_file_save_as.
    * Se cierra el documento activo, documento1 con opción de salir sin salvar
      CALL METHOD OF zword 'FILESAVEAS' EXPORTING #1 = lv_file_save_as.
    * Se cierra el documento activo PRUEBA.DOC con opción salir sin salvar
      CALL METHOD OF zword 'DOCCLOSE' EXPORTING #1 = 2.
      AT LAST.
    *   Se cierra WORD
        CALL METHOD OF zword 'APPCLOSE'.
    *   Se libera el objeto ZWORD
        FREE OBJECT zword.
      ENDAT.
    ENDLOOP.

  • An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. mail will not be sent.

    Hii all,
    I have a subscription which used to send report email daily 10 am morning 
    now today it does not sent an email the status i s showing above error message ..
    why this occurs ?? at the time of subscription running time ??
    i have checked there is not error of subscription it runs fine ..
    only today errored ..
    Kindly , help me
    Dilip Patil..

    Hi Dilip,
    Based on the error message "An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database." it seems the issue is caused by the Report Server catalog databases are
    corrupted.
    To fix this issue, I suggest that you use the Reporting Services Configuration Manager to recreate the Report Server catalog databases. In addition, please make sure report server instance can connect to the report server database. For more details about Configure
    a Report Server Database Connection (SSRS Configuration Manager), please see the following document:
    http://msdn.microsoft.com/en-IN/library/ms159133.aspx
    Besides, if the issue is caused by the connection to the SQL Server Reporting Services Report Server catalog database is timeout. Please refer to the following thread:
    http://social.technet.microsoft.com/Forums/en-US/db4ca6c2-5445-4ff9-9f63-e20f3859cc70/error-throwing-microsoftreportingservicesdiagnosticsutilitiesreportserverstorageexception-an?forum=sqlreportingservices
    If the problem is still existed, I would appreciate it if you could give us detailed error log, it will help us move more quickly toward a solution.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • What is the best way to call a report from within a report

    What is the best way to call a report from within a report(master / Detail concept)
    A type of drill down report
    Oracle Database 10g
    Forms 10.1.2.0.2
    Report Builder 10.1.2.0.2

    Hi
    Have a look in this link, certainly you will get fix, if not just post a comment on blog, will get reply soon
    http://windows7bugs.wordpress.com/?s=oracle+10g+bug

  • Documentation for Business Content Rapid Marts Reports for SAP R/3

    Hi,
    As we have technical documentation for SAP BI business content BI reports on SAP HELP Portal,
    is there any link where we can find the technical documentation for business content reports supported by SAP BOBJ Rapid marts for R/3 solution like for HR module.
    I would like to know what kind of reports are available as a part of rapid mart business content and what are the measures ( key figures ), dimensions ( characteristics ) supported by each of these standard business content rapid mart reports.
    I have referred business guide and user guide for HR rapid marts but they just give an overview of what analysis can be done.But there is no technical documentation for each of the possible rapid mart reports.
    Thanks,
    Tarun Brijwani.
    Edited by: Tarun Brijwani on Feb 10, 2011 4:00 PM

    Tarun,
    Please share if you got some help on your post.

  • Binary content in XML document

    Hi all,
    I'm currently facing a problem regarding XML and binary content. What I need to do is basically send an XML-RPC message to invoke a method that has a parameter which accepts a file. I'm not sure how to include binary content in an XML document. Other than that, does anybody know if I can use some sort of common multipart request class to accept the XML-RPC calls from the client? In the end I should have a servlet that takes care of transferring the request (XML-RPC with file) to the apropriate service and construct and send a response...

    How does the aproach of establishing a momentary peer-to-peer connection for a file transfer compare with HTTP uploads? Does it work just about the same way?
    Basically, this means I would need to build a client program that first opens a server socket for the actual file transfer, then sends a message to the application server that it wishes to upload a file and then accepts a connection from that application server to transmit the file...
    Sure. ;-) However, if you're asking where you might find such an animal then I can't help you...
    Apparently I don't need such a class anyway, if I use common XML-RPC messages and transfer binary content in another way... ;)

  • How do I create table of contents in the reports

    Hi,
    Can I create a table of contents in the report?
    for example:
    Name page
    Jack ___________________________________25
    Mat ____________________________________29
    Please let me know.
    Thanks,
    Ratna

    Hi!
    I would try to use a (temporary) table with needed Columns for
    output. Then fill this table using SRW.DO_SQL in a trigger.
    Greetings - Hajo

  • How to load binary content of a .class file?

    Hello everyone,
    I want to load the binary content of a .class file in a dynamic approach. In more detail, I want it to work in the following approach. When given the name of a class, I can retrieve the binary content of the .class file. I have written the following sample but it does not work. Can anyone help to find what is wrong with my sample? How to achieve my goal?
    String className = this.getClass().getName();
    InputStream inputStream = this.getClass().getResourceAsStream (className);When executing the above code, the inputStream is always returned as "null".
    Thanks in advance,
    George

    Thanks ruthf104,
    I haven't tested this, but I think you will need to
    transform the class name
    "test.Foo"
    into the resource path
    "/test/Foo.class"
    ie change '.' to '/', append '/' at the beginning
    and ".class" at the end.
    See the following paragraph from the
    Class.getResourceAsStream specification:
    "This method delegates the call to its class loader,
    , after making these changes to the resource name: if
    the resource name starts with "/", it is unchanged;
    otherwise, the package name is prepended to the
    resource name after converting "." to "/". If this
    object was loaded by the bootstrap loader, the call
    is delegated to
    ClassLoader.getSystemResourceAsStream."
    By these rules, the method will not be able to
    automatically transform the class name into a
    resource path for you (it doesn't append the
    ".class"), so you'll have to do it yourself.I have verified that your approach is working!
    regards,
    George

  • New How-To: Exchanging Binary Content Using MTOM

    Hello,
    One of the new features of the OracleAS Web Services (10.1.3.1) is the support of Message Transmission and Optimization Mechanism (MTOM) to exchange binary content using SOAP Web Services.
    This is documented in the following how to:
    - How-To Use MTOM to Exchange Binary Data Using Web Services
    Regards
    Tugdual Grall

    hi All,
    I m stuck in a similar kind of issue, in my case content selectors is used but after that i need to perform some filteration and sorting to select the necessary node, at the last i end up with a node object or a input stream and then how to render this to the screen is issue (node has a binary property with html file)
    I have tries the the option discussed in this thread but it didnt worked, as most of them are aroung jsp tags.
    Brad
    <%@ taglib uri="http://www.bea.com/servers/portal/tags/content" prefix="cm"%>
    <%@ taglib uri="http://www.bea.com/servers/content/ui/jsp/templates" prefix="templates"%>
    <cm:getNode id="node" path="/path/to/node"/>
    ${templates:getFileContents(node)}
    this looks simple but not working, difference is, in place of "<cm:getNode id="node" path="/path/to/node"/>" i have node object.
    Code snippet
    <pz:contentSelector rule="ContentDisplaySelector" versionedContent="true" id="nodes"/>
    <%
    InputStream in =null;
    if(nodes.length>1)
         ArrayList<Version> nodeArrayList = new ArrayList<Version>();
         for(int i=0;i<nodes.length;i++)
              if(null != nodes[i] && Workflow.PUBLISHED == nodes.getStatus())
              nodeArrayList.add(nodes[i]);
    //sorts as per start date and end date
         Collections.sort(nodeArrayList,new VersionedNodeComparator());
         IVersionManager versionManager = ContentManagerFactory.getVersionManager();
         ContentContext contentContext = new ContentContext();
    //how can i use this input stream to render the html output
         in = versionManager.getStream(contentContext,nodeArrayList.get(nodeArrayList.size()-1).getNodeId(),nodeArrayList.get(nodeArrayList.size()-1).getProperty("file").getId());
    %>
    ${templates:getFileContents(<%nodeArrayList.get(nodeArrayList.size()-1)%>)}
    i m also looking for a tag based solution.
    please help with ur suggestions.
    chandar..

  • Dynamic Setting of URL in Proxy for binary content in OSB

    I have three external links (to three different images) and external applications change them quite frequently.
    I want to build a proxy service where I should get the dynamic URL as parameter and this proxy should hit that URL to get the images. This proxy service should return these images as binary content.
    So this proxy service will be a routing service for different images coming from external web applications. I would like to know how can I get the content from a dynamic URL (not a fixed one)?
    I cannot use business service because I have to set the URL at run time.
    I will appreciate a prompt response.
    Thanks

    Use BS and in the request action use a Routing Options action http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/ui_ref.htm#i1290930
    Routing option allows you to change the URI of BS as per your runtime need.
    Manoj

  • Search for content within a PDF

    Is it possible to search for content within a PDF across a mapped drive?

    Yes. Use Edit>Advanced search. Choose All PDF Documents in and choose the mapped drive.
    They have to be searchable PDF's of course...

Maybe you are looking for