Embedding an attachment into the output of XML publisher

Gurus,
I've a requirement as follows....
I am using AOL's attachment feature available in 11i to store some pdf documents in the database. Now while generating a report on any of the transactional tables, I want to print any of the attachments which have been attached and stored in the database too. Can this be accomplised through XML publisher? Can we create a template which would be able to handle a pdf which has been stored in the database and print it in the output?
Let me know if anyone has any ideas on this.
Thanks.

Hi Jassing,
Did you ever get a solution to this? I have a client who has a similar requirement and would like to know if it can possibly be done.
They are using XMLP 5.6.1 with eBusiness Suite, and would like to print any attachments associated with Work Orders through XML Publisher.
Any information would be gratefully received.
Many Thanks,
Cj

Similar Messages

  • Report VS Excel output using XML Publisher tool (DBMS_XMLGEN)

    Hi All,
    Currently I am working on report generation in MRP module with Excel output using XML Publisher tool.
    XML tool works based on query.
    I have developed PLSQL block by using DBMS_XMLGEN – database package, to generate XML output of query.
    My question is how we can put generated xml on above PLSQL block into OUT file (APPS).
    Because DBMS_OUTPUT.PUT_LINE( ) has limitation, it allow 255 character string only.
    But I do not know, Is FND_FILE.PUT_LINE (FND_FILE.OUTPUT,’’) allow for large data?
    If it does not allow what will be the other solution in oracle application to resolve above problem.
    Let me know any queries regarding to this problem.
    Thanks and Regards,
    Sai Krishna @cavaya.com

    Hi Prakash,
    Thanks for the reply. We did apply the one-off patch and got rid of the problem of not viewing 'Excel' output using XMLP.
    Now we are looking at a different perspective:
    Basically our client is looking for the following:
    1. Mathematical functions in the resulting XLS (like SUM, AVG etc..) ouput
    2. Use of macros if possible.
    And to do this i am looking out for a sample template that gives me output in excel format I have a TAR with Oracle for this purpose, but the TAR has so far been unsuccessful in providing us with any material in the direction.
    Our client remembers seeing this as a demo at the Oracle Conference this yr at San Fransisco, but does not have a sample to provide us. We are looking for such a sample.
    Thx,
    Nitin

  • Oracle Matrix Report output to XML Publisher

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

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

  • I need 3 dimentional charts as an output in xml publisher report

    Hi,
    As off now chrarts r in 2 dimension But I need 3 dimentional charts as an output in xml publisher report, please any one tel me wheather is possible or not.....?? if possible please tell me how to develop that report....

    Not sure you are on the right forum...

  • How to generate PDF from XML output without XML publisher

    Hi,
    I am facing a problem while splitting the rdf generated XML output.
    Problem Description:
    I have a oracle invoice report which runs once every day (scheduled program). This report fetches me the invoices generated on that day and needs to be Mailed / Faxed to the customers.
    So i developed the report in such a way that it generates the output order by customers...since the output generated will be as one .out file in APPLCSF/out directory...the .out file needs to be splitted by customers, for which i have written a cursor which takes the data of the main query and submits that many requests as many as customers are there.....There is a possibility of having 1000 customers per day also. If that is the case then my main program will fire that many requests.
    Is there a different approach......any inputs are highly appreciated.
    Also, i am generating the output in XML format. Is there a way from which i can directly generate a PDF from that XML output rather using any other tool.
    Thanks & Regards,
    Lakshmi Kalyan Vara Prasad.

    Hi,
    with Reports Bursting and the defined "distributions" it's possible to have one report splittet to several parts with different receipients. Have a look at http://download-uk.oracle.com/docs/cd/B14504_01/dl/bi/B13673_01/pbr_dist.htm.
    With xsl-fo it's possible to create pdf out of xml ... that's what xml publisher is doing.
    Regards
    Rainer

  • How to Create MultiSheet Excel Report Output in XML Publisher in Oracle R12

    Dear All,
    How to Create MultiSheet Excel Report Output in XML Publisher in Oracle R12.
    My Requirement is to develop RTF Template and geneate Excel output in Multiple sheet.
    plz guide me on this..
    thnx
    Khushal

    plz see
    BI Publisher: How to create Multisheet in Single Excel file using Excel Template [ID 1352000.1]
    for r12 you can use excel template
    i think it more appropriate for excel output

  • How can i write the code in xml publisher desktop

    hi all
    How and where can i write the code in xml publisher desktop ???
    shall i know how to write xml code or what ??
    in which part can i write the code if i have more than one query ?

    hi dear
    Thanks for ur replay...
    What i mean is : i used to work on reports builder,so :
    1- i used to create more than query in some reports.
    2- create formulas ,procedures....
    NOW i want to create the same reports by using xml publisher desktop, so how can i do that...
    when i use {color:#ff0000}report wizard{color}, i can not or i don`t know how to use more than one query, create formulas or procedures.
    Please help me.
    Thanks again.

  • Mail Receiver and Attachment Issue - how to get an attachment into the body

    I have an abap proxy that sends a simple message to XI with a pdf attachment. XI maps the xml message to the Mail Adapters Mail Package format.
    To have the email sent with the PDF attachment I must click the "keep attachments" option. However this also has the side-effect of making the message payload an attachment as well (seems silly?). Therefore I get an email with two attachments: one is the PDF and the other is the plain text that should be in the email body.
    The question is: How do I get that plain text attachment back into the Message Body ? I have tried all combinations of the MessageTranformBean and the PayloadSwapBean with no luck.
    I can easily change the names of the attachments with the MessageTransformBean but if I set the text attachment to Transform.ContentDisposition inline, it still just comes out as an attachment. And, if I use the payloadswapbean the adapter log says it corectly swapped the right payload however the email still comes out with the text as an attachment!!
    Any ideas on how I can do this? Is it a bug in the module beans?
    (I'm using MS Outlook as the email client.)
    Maybe I need to write my own module bean to do this... If I set keep attachments to OFF, can I still set the PDF attachment with my own modules (the reason I ask this is that with keep-attachment OFF, the message body correctly has the text in it...
    Regards,
    Jason.
    Edited by: Jason Scott on Mar 6, 2008 3:22 AM

    Hi,
    Check these
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    Regards
    Seshagiri

  • Bind the output data (Xml) from BPEL process to ADF SelectOneChoice Control

    Hello,
    My requirement is to invoke a BPEL process from ADF page and display returned results in a select one choice (drop down box).
    I have created a Data Control for the BPEL process through Web service data control and tried to invoke the BPEL process. I could see from the BPEL console that BPEL process is getting invoked. But the ADF doesn't bind any of the output to Select one choice.
    It doesn't even show any error.
    Can you plz help me how to bind the output of the BPEL process to ADF SelectOneChoice control.
    The Xml Which I recieve from BPEL process is
    <outputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><DBConnectDemoProcessResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/DBConnectDemo">
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>1</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Assigned</toStatus>
    </StatusTrans>
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>2</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Pending</toStatus>
    </StatusTrans>
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>3</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Closed</toStatus>
    </StatusTrans>
    <StatusTrans xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/DBSelect">
    <transId>4</transId>
    <fromStatus>Open</fromStatus>
    <toStatus>Cancelled</toStatus>
    </StatusTrans>
    </DBConnectDemoProcessResponse>
    </part></outputVariable>
    And the toStatus node values viz, Assigned, Pending, Closed, Cancelled should get binded to the SelectOneChoice control
    Waiting for your valuable inputs,
    Regards,
    babloo.

    I have been still trying for the solution. I have modified the XSD created by the jdeveloper to,
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="http://xmlns.oracle.com/StateTransitions"
         xmlns="http://www.w3.org/2001/XMLSchema">
         <element name="StateTransitionsProcessRequest">
              <complexType>
                   <sequence>
                   <element name="input" type="string"/>
                   </sequence>
              </complexType>
         </element>
         <element name="StateTransitionsProcessResponse">
              <complexType>
                   <sequence maxOccurs="unbounded">
    <element name="stateChanges">
    <complexType>
    <sequence>
    <element name="fromState" type="string" />
    <element name="toState" type = "string" />
    </sequence>
    </complexType>
    </element>
    </sequence>
              </complexType>
         </element>
    </schema>
    And I have given this XSD url while creating the Web Service Data Control by deploying it into the Oracle App server.
    So, I can see the tree structure of "Return" as "StateTransitionsProcessResponse->StateChanges->toState,fromState"
    I have binded the toState field of the Data Control to the SelectOneChoice ADF control in a jspx page by using List binding editor.
    I have selected,
    Base data source as "Variables" (Currently I don't need to update any table),
    List Data source as "process: getStateTransitions.process.StateTransitionsProcessResponse.stateChanges" (Web Service Data Control)
    Base Data source attribute as "process_input"
    List Data Source Attribute as "toState"
    I can initiate the web service (BPEL process) by providing the necessary input value like 'Open' or 'Pending' or 'Assigned' but the SelectOneChoice control doesn't populate with any values.
    Waiting for valuable inputs!
    Thanks and Regards,
    babloo.

  • Creating a list from the output of Xml parsing

    i extracted all the Folder name from the xml file.. (Thanks to Mr.Peter_vd_Wal..... [http://forums.sun.com/thread.jspa?threadID=5388524&tstart=0|http://forums.sun.com/thread.jspa?threadID=5388524&tstart=0] )
    the xml file is
    <?xml version="1.0"?>
    <folders>
      <folder><name>A</name><uid>C1</uid></folder>
      <folder><name>B</name><uid>C2</uid></folder>
      <folder><name>C</name><uid>C3</uid></folder>
      <folder><name>D</name><uid>C4</uid></folder>
      <folder><name>E</name><uid>C5</uid></folder>
    </folders>
    now i want create a list of folders form the output.
    i tried....
    public void endDocument() throws SAXException
        StringBuffer result = new StringBuffer();
        for (int i=0; i<nodes.size(); i++)
          Noden currentnode = (Noden)nodes.elementAt(i);
          result.append(" \"" + currentnode.getName() +  "\" ,");  
         midlet.alert(result.toString());
         System.out.println(result);
    ...........and
    protected void alert(String msg)
        Display display = Display.getDisplay(this);
       String[] stringElements = {msg};
        List list = new List("Listing",List.IMPLICIT,stringElements,null);
        display.setCurrent(list);
    ....the output i get is
    "A" , "B" , "C" , "D" , "E" ,i want a LIST of folders.... like
    A
    B
    C
    D
    Ebut i get all the folders as the first option in the list.
    > "A" , "B" , "C" , "D" , "E" ,

    ... i get all the folders as the first option in the list.
    "A" , "B" , "C" , "D" , "E" ,
    WYSIWYC (What You See Is What You Coded) - with code like your, above is the correct behavior.
    To make a list of folders, I'd rather try something like this....
    public void endDocument() throws SAXException
        String[] result = new String[nodes.size()];
        for (int i=0; i<nodes.size(); i++)
          Noden currentnode = (Noden)nodes.elementAt(i);
          result[i] = currentnode.getName();
          System.out.println(result);
    midlet.createAndDisplayList(result);
    System.out.println("createAndDisplayList called");
    and//.....
    protected void createAndDisplayList(String[] msg)
    Display display = Display.getDisplay(this);
    List list = new List("Listing", List.IMPLICIT, msg, null);
    display.setCurrent(list);

  • Problems embedding an FLV into the timeline

    Hello,
    I'm interested in embedding a video into my swf file automatically. Therefore, I managed embedding an flv file onto the stage, but the problem is that after I give the embedded video an instance name and refer to the instance in a command (f.e change x,y coordinates or change width/height), on execution of the swf, the video stays frozen while the audio plays. If I don't refer to the embedded video instance, the video plays normally, just not placed correctly on the stage.
    Is there any way to place the video correctly???
    Thanks,
    Ori

    The problem here is that I want to automate the creation of the SWF. Therefore, I am using some sort of simulation program which takes control of GUI objects. The only problem I had was controlling the width, height, x and y controls that appear as simple text (not as regular text boxes),
    Anyhow, that's why I tried giving the embedded video an <instance name> and editing it through actionscript code of the FLA file. But that gave me the phenomena that I explained where the embedded video is placed & sized correctly, but it appears frozen with audio running normally in the resulting SWF.
    I hoped that there's a way to handle this problem (casting to a different object, using a certain function etc.), or that someone is familiar with this phenomena.
    Thanks and still waiting for any suggestions,
    Ori
    P.S - If you want to see the phenomena, take an FLA file and embed it into the timeline on the stage. Later on, give it an <instance name> (via control+F3 to open the properties window of the object). Insert code to the FLA:
    <instance name>.x = 0;
    <instance name>.y = 0;
    <instance name>.width = 100;
    <instance name>.height = 200;
    You'll see that the video does not play, while the audio is head normally.

  • How to inclulde digital signature in PDF outputs using XML Publisher

    I'm working on AR invoice print report which is a custom report. One of the requirements of this report is to include the digital signature in the output which is in PDF format.
    We have below code components for this custom report.
    Oracle Report (RDF) - to extract the invoice data
    RTF template - for report layout
    Bursting file - to split the output into individual PDFs
    Is there any document available to implement the digital signaure in my case?
    I'm looking for the steps to implement this in my custom report using XML Publisher.

    Take a look at the report designer's guide; section "Adding or Designating a Field for a Digital Signature" here:
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187.pdf
    Thanks,
    Bipuser
    If I am not mistaken, this would require using PDF templates and use of Adobe Acrobat Professional.. Maybe others can chime in with other/better options..
    Edited by: BIPuser on Aug 2, 2011 12:58 PM

  • Line crossing at the corner of the boxes in XML Publisher Report (PDF)

    Hi,
    We are facing some issue in XML Publisher report using RTF template and PDF output. In PDF output it looks like 2 lines are crossing each other at the corner of the boxes (which are made of the Table in RTF). Did you guys face this issue earlier? Is there any resolution?
    thanks,
    Ranen

    Hi,
    I would propose reviewing the eText documentation. I noticed that for RTF templates it's difficult explicitly set the length though within an eText template, you can specify the intended length.
    The Oracle post is, in my opinion, convoluted, though it's a point in the right direction
    Oracle Business Intelligence Publisher Report Designer's Guide
    Regards,
    Daniel

  • Creating a text output using XML Publisher

    Hi All,
    Recently i created a  report for my client using XMl Publisher. The Data Definition was XML and the template type was RTF and i got the output in a PDF format. All was going smoothly until the client decided at the last moment that they wanted to print this in a dot matrix printer!
    I've read some articles on XSL- Text layout templates. But i can't get my head around it (I'm Functio-Technical as opposed to Techno-Functional )
    How do i convert my RTF template to give me a text output?
    Miranga

    From what I know, you will have to create another template based on "XSL" layout or eText layout (both of them require different coding methods). The RTF can not create text outputs even in 11g. This is based on my experience so far. You can create RTF output (available by default) based on the current layout that you use for PDF and see if it can be printed in a dot matrix printer though.

  • Amount formating in Excel output of XML Publisher Report

    Hi,
    I have to display my XML output in Excel format. I want the output of amount column to be displayed in form '#,###.00' and the negatives numbers are to be displayed in parenthesis. For eg number -234.5 should be displayed as (234.50).
    I tried <?format-number:AMOUNT;'99G999G999G990D00PT'?> and also <?format-currency:OPEN_BALANCE;'99G999G999G990D00PT'?>.
    Both of these works in PDF output, but its not working for Excel output.
    Any input is appreciated.
    Thanks and Regards

    The best way i found was to put a equals and then double quotes... this only works for excel however it will allow you to cut and paste (ie to use the value to search in Oracle) and also to do vlookups.
    In a bit more detail:
    - I used word to generate my default table
    - this created a field INVOICE_NUM
    - in the cell in the table i put = " before the INVOICE_NUM field and then put the closing " afterwards.
    The theory is that excel will concatenate the values together... because it has quotes around it, it will treat it as a string rather than simply a value.
    For any other formats this will not work.
    I'm guessing most people have moved on and resolved this some other way, but just thought I'd share the wealth!

Maybe you are looking for

  • How To fetch the Value of nested structure returned by RFC in c# application.

    Hello , i am new to C#,i have rfc that return data from SAP system as Nested structure but when i fetching that data using IrfcTable table = rfc.getTable("exporting_parameter");       // et_customer it return's only first inner structure only . for e

  • Thomson Speedtouch USB modem installation

    Hi All, I gave my Mac Mini to my parents and they have an ADSL connection at home. Unfortunately, it's a USB modem, which meant that I had to download drivers for it and try to get it configured. Here's what I did so far: 1. Downloaded and installed

  • MBAM Agent Key Escrow Issue After Pre-Provisioning Bitlocker in SCCM TS

    Hello, I'm having an issue with MBAM key escrow now that we have moved to using pre-provisioned Bitlocker. After imaging completes the initial key escrow works properly (the MBAM Agent transmits the Numerical Password key protector to the MBAM server

  • Converting Hex to Decimal

    hi, I want to convert my hex value to decimal. How can I do this? help me pls. Suku

  • Adding a custom field in IW32 Components tab

    Hi, I had a requirement to add a custom field in the "components" tab of IW32 transaction. I tried to find out an exit for this transaction but I haven't found any exit that fullfills this requirement. Please provide me some information whether there