Using a pdf-template for generating an interactive form

Hi guys,
I have got the following problem. I have got an pdf-Document, that can be printed out and filled out manually.
Instead of I just want to use this pdf-Document as an template for an online form, by adding some fields.
How can I use this pdf-Document as an template?
Thank you for your answers. Patrick.

Hi Patrick,
Let me see if I understand your query properly first. Your requirement is that you have a PDF file which is pretty much fixed.
Now you want to use the Template present in the PDF file to be shown to the user, but this should be pre-filled with data that you receive from a Web Service & RFC.
Now firstly I will mention the easy way, which would require you extract the PDF Template statically, I am not sure if the API has now been released to do that programatically.
Now, lets say you store it is some location the template file, you would also need to tweak the DataBinding properties in the Template to match to that of the Context Node you will use in the application.
Now in the ModifyView method you should get a reference to the Interactive form element, use the setTemplateSource method to refer to your template.
Now based on the response from your RFC/WebService create the appropriate attributes into the node, and your form should work fine.
Regards,
Pavan

Similar Messages

  • PDF Template for XML Report

    We are trying to create a PDF Template for an XML Publisher Report using Adobe Acrobat Profession Version. The PDF Template works fine for one employee but when the start and end body tags are inserted in the template, the concurrent process to submit this reports completes in warning.
    The OPP Log shows the below details
    [6/30/08 1:26:36 PM] [102436:RT20660155] XML Publisher post-processing action complete.
    [6/30/08 1:26:36 PM] [102436:RT20660155] Completed post-processing actions for request 20660155.
    [6/30/08 2:29:59 PM] [OPPServiceThread0] Post-processing request 20660180.
    [6/30/08 2:29:59 PM] [102436:RT20660180] Executing post-processing actions for request 20660180.
    [6/30/08 2:29:59 PM] [102436:RT20660180] Starting XML Publisher post-processing action.
    [6/30/08 2:29:59 PM] [102436:RT20660180]
    Template code: Test123
    Template app: XBOL
    Language: en
    Territory: US
    Output type: PDF
    [6/30/08 2:29:59 PM] [UNEXPECTED] [102436:RT20660180] oracle.apps.fnd.cp.opp.PostProcessorException: XML Publisher output file not created
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:281)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    I think this is do which how i am creating the PDF Template. When i am not inserting the repearting group tootips then the PDF Template works abosoultey fine for one employee
    the text inserted in the Toottip for the start of the repeating group - @{rep_field="BODY_START"}@
    Tootip for each repeating row @{rep_field="T1_G1"}@ ,@{rep_field="T1_G2"}@ and so on.
    Tootip for end of the repating group @{rep_field="BODY_END"}@

    XML Data
    <?xml version="1.0"?>
    <!-- Generated by Oracle Reports version 6.0.8.11.3 -->
    <MODULE1>
    <LIST_G_HGL>
    <G_HGL>
    <EMPLOYER>HWS</EMPLOYER>
    <BOX_1>YEN</BOX_1>
    </G_HGL>
    <G_HGL>
    <EMPLOYER>HGL</EMPLOYER>
    <BOX_1>YE</BOX_1>
    </G_HGL>
    </LIST_G_HGL>
    </MODULE1>
    Further when i tried using the Template Viewer of XML Publisher Desktop with the above XML File and the template i created in Adobe Acrobat Professional (i am mailing the template to [email protected]) , i got the following error
    [070808_093926007][][STATEMENT] MergerEngine.modify : template forms value is being changed......
    [070808_093926007][][STATEMENT] MergerEngine.modify(String, String, String) block ::: FieldName -> Start , FieldValue ->
    [070808_093926007][][STATEMENT] MergerEngine.modify(String, String, String) block ::: FieldName -> End , FieldValue ->
    [070808_093926038][][STATEMENT] MergerEngine.modify(String, String, String) block ::: FieldName -> EMPLOYER , FieldValue -> HGL
    [070808_093926054][][STATEMENT] MergerEngine.modify : template forms value is changed......
    [070808_093926054][][EXCEPTION] java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
         at java.util.Vector.elementAt(Unknown Source)
         at oracle.apps.xdo.template.pdf.RepeatEngine.getGapBetweenGroups(RepeatEngine.java:449)
         at oracle.apps.xdo.template.pdf.RepeatEngine.<init>(RepeatEngine.java:154)
         at oracle.apps.xdo.template.pdf.RepeatEngine.<init>(RepeatEngine.java:101)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1742)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1684)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1445)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1583)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:131)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:73)
         at oracle.apps.xdo.runner.PDFFormRunThread.run(PDFFormRunThread.java:45)
    [070808_093926054][][STATEMENT] <--- before calling createContents() --->
    [070808_093926086][][STATEMENT] <--- before calling addFontInfoToResources() --->
    [070808_093926086][][EXCEPTION] oracle.apps.xdo.template.pdf.exception.FatalException: page Key can't be found to duplicate page......
         at oracle.apps.xdo.template.pdf.RepeatEngine.getDupPageKey(RepeatEngine.java:1421)
         at oracle.apps.xdo.template.pdf.RepeatEngine.composePages(RepeatEngine.java:827)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1743)
         at oracle.apps.xdo.template.FormProcessor.processRepeatableFields(FormProcessor.java:1684)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1445)
         at oracle.apps.xdo.template.FormProcessor.process(FormProcessor.java:1583)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:131)
         at oracle.apps.xdo.runner.PDFFormRunThread.runFormProcessor(PDFFormRunThread.java:73)
         at oracle.apps.xdo.runner.PDFFormRunThread.run(PDFFormRunThread.java:45)
    End of Process.
    Time: 0.251 sec.
    FO Formatting failed.

  • Creating an offline PDF template for upload and submit

    Hi Gurus,
    I'm very new to Adobe Interactive forms and will need your advise.
    From the tutorials, when we create a offline PDF application that can upload a PDF for submission, we were always given the sample template PDF file provided by the tutorial. (travelrequest.pdf)
    Now I need to create my own offline PDF template by myself so I can integrate to my WD program to include uploading the offline PDF template and submitting to backend.
    the offline PDF must be editable and save via acrobat reader.
    Any further notes or documentations that I can follow up to? Cos most of the doc I found doesn't teach me how to go about creating the PDF template for offline use in the first place...only the backend and WD integration which I already know.
    Please help! Thanks!
    ps: points will be generously awarded to answers.
    Regards,
    Jansen

    Hi Jansen,
    As far as I know the WAS 620 only supports to output your Forms and Scripts to PDF Format but they are not interactive.
    The Adobe Interactive Forms Solution is only available from WAS 640. You can design your forms either in ABAP transaction SFP or in NWDS(Netweaver Developer Studio) Form Designer.
    For craeting forms in WD ABAP, have a look at the links below:
    SAP Interactive Forms by Adobe
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm
    Web Dynpro ABAP
    http://help.sap.com/saphelp_nw2004s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    regards,
    harman

  • How to use a PDF template with OA Framework

    I have a question that is hopefully quite simple. I am using JDeveloper to add a button to a page that will create a PDF document.
    According the the documentation it should be quite easy to merge a PDF template file with an XML data file to produce an output PDF file.
    The problem I have is that although I can create the XML data file OK - the output PDF file is not produced (the file gets created but it is 0 bytes - I don't get an error message though). Can someone tell me what I'm doing wrong?
    My code is as follows:
    try
    DataProcessor dataProcessor = new DataProcessor();
    dataProcessor.setDataTemplate("/oraapp02/apphrutv1/hrutv1comn/work_accident.xml");
    Hashtable parameterTable = new Hashtable();
    parameterTable.put("hendelse","3574");
    dataProcessor.setParameters(parameterTable);
    dataProcessor.setConnection(jdbcConnection);
    dataProcessor.setOutput("/oraapp02/apphrutv1/hrutv1comn/accidentout.xml");
    dataProcessor.processData();
    } catch (SQLException e)
    throw new OAException("Couldn't create xml file. SQL Error="+e.getMessage(),OAException.ERROR);
    } catch (XDOException e) {
    throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
    } catch (ClassNotFoundException e) {
    System.out.println("ClassNotFoundException " + e.getMessage());
    //OK - we created the XML file, now let's send it into the pdf template:
    FormProcessor fProcessor = new FormProcessor();
    fProcessor.setTemplate("/oraapp02/apphrutv1/hrutv1comn/NAV.pdf");
    fProcessor.setData("/oraapp02/apphrutv1/hrutv1comn/accidentout.xml");
    fProcessor.setOutput("/oraapp02/apphrutv1/hrutv1comn/NAVout.pdf");
    fProcessor.process();
    I haven't registered the PDF template file in Oracle Applications - but that shouldn't be the problem should it? Or is it better to use a PDF template that is registered in Oracle Applications?

    Can you give me some tips on setting up the appropriate libraries to use the DataProcessor class? I have tried the BIP libraries and the classes from JAVA_TOP but I always get the same error when the constructor of DataProcessor is called:
    java.lang.NoSuchMethodError: oracle.apps.fnd.i18n.common.util.DateFormatMaskConverter.getJavaDateFormatFromOracle(Ljava/lang/String;Ljava/util/Locale;Z)Ljava/lang/String;
         at oracle.apps.fnd.i18n.common.util.FormatMaskUtil.isOracleCompatible(FormatMaskUtil.java:693)
         at oracle.apps.fnd.i18n.common.util.FormatMaskUtil.detectDateFormatMaskType(FormatMaskUtil.java:580)
         at oracle.apps.xdo.dataengine.Format.<init>(Format.java:68)
         at oracle.apps.xdo.dataengine.XMLPGEN.<init>(XMLPGEN.java:65)
         at oracle.apps.xdo.dataengine.DataProcessor.<init>(DataProcessor.java:168)
    I have been successful in displaying a PDF file in an OAF page but I had to generate the xml data using a PL/SQL package rather than the data template. I know it works because Concurrent Requests using the XDODTEXE executable work and this uses DataProcessor.

  • Can you create master-detail output using a PDF template?

    My starting point is a pre-designed PDF template for producing purchase orders. This has a fixed background containing graphics and text. Over this I have overlaid the required fields and in the PO line section have defined a repeating group.
    This works correctly only if the XML input file contains one and only one PO. If I want to produce multiple PO's (and I do) then is there a way to nest the repeating groups so that for each PO a new header is printed followed by the lines, i.e. a standard master-detail report? This is promised in the "XML Publisher Business Applications" powerpoint :-)
    I know this can be done using an RTF template, but I have not found a way of fixing the positions of all the boilerplate text/graphics, as required, using Word. (The final section, which contains additional "header" information gets pushed down the page as PO lines are added.)
    Any help gratefully received.

    That depends.
    Are they asking you to put a copy of your actual signature on there or are they asking for a "digital signature"?
    They are different things.

  • HT4641 Im trying to print off my cv, page 1 prints off fine but page 2 does not, I'm using the selected template for curriculum vitae why does my page 2 not print?

    Im trying to print off my cv, page 1 prints off fine but page 2 does not, I'm using the selected template for curriculum vitae why does my page 2 not print?

    Hi @kots 
    I suspect your question would be better answered in the HP Enterprise Business Community, as your HP Printer is a commercial model.
    My technical expertise is with consumer products and software, I am sure the commercial folks would be happy to help if you re-post your question for them to answer. The HP Enterprise Business Community is an HP Forum designed for the Commercial and Enterprise customers to help one another. I am sure you will find some HP folks there to help too.
    Click here to view the Printing and Digital Imaging. When the page opens you will see the option to 'Log in' or 'Register Now' on the right. The commercial forums are separate from the consumer boards, thus you will need to register if you don't already have a commercial account.
    You may find the HP LaserJet M2727 Multifunction Printer series page helpful while you wait for somebody in the commercial Forum to respond to your inquiry.
    Best of luck.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Use ANY web template for a theme?

    is it possible to use ANY web template (for ex from template monster) and make it a theme in iweb in which everything still stays connected together?
    Rather than just searching for exact "iweb themes"? cause they all look super generic.
    Message was edited by: proximityblue

    No, you can't unless they were designed for iWeb and come with an installer. If you want something more unique start with a blank white or black theme page and build your own.
    OT

  • Using a letterhead template for a multi-page document

    When using a letterhead template for a multipage document, how do I turn off the template for pages after the first page? I do not want to have the letterhead show up on every page of a letter.

    John,
    You can set new margins for your new section in the Layout Inspector. After removing the letterhead elements open the Layout Inspector, choose the Layout tab and set the margins as you need them.
    Once you've created and formatted the section to your liking, make it a permanent part of your template.
    1. With the cursor on the second page, go to Format>Advanced>Capture Pages
    2. Give the page a descriptive name, such as 'Second Page'. Include 'First page only.'
    3. Click 'Ok.'
    This 'Second Page' is now listed under the "Sections" icon on your toolbar.
    4. Save the document as a template.
    Now, whenever you start a new document based on this template add the second page using the Section Icon.
    There is a shortcoming to this method in that text will not flow from the first page to the second, given that there is a section break between the two pages. This would be the case even in Word. Of course, even in Word you could not change the margins for the second page without also changing the margins for the first page unless you used a section break.
    One way to avoid this problem is to but your address block for the first page into a page high text box and allow text to wrap around it. You can keep the same margins for the first and second page, but on the first page the text will be pushed over to the right. When it wraps to the second page, the text will return to the left margin.
    Good luck,
    Terry

  • How to create editable PDF template for XML Publisher reports

    Hi,
    I have got a requirement to have some editable fields in one report whose output is in PDF format.
    I tried looking and saw this can be done using the XML Publisher report and using PDF template.
    But I got only Adobe Acrobat Reader and it does not have the facility to create Form fields.. Can you let me know what software I need in order to create the editable PDF Template.
    In the user guide, it didnot mention anything regarding this.
    Can I create editable PDF report using RTF template or do i have to got for PDF template only?
    Any help is appreciated!
    Thanks

    Hi,
    To edit PDF template , u need Acrobat writer, which is not free .
    I am still wondering what is this ?
    "" Can I create editable PDF report using RTF template ?? "".
    What is editable PDF report. ?
    i think what you tried to mention is ,
    can the PDF output from xml publisher is editable ?
    If that is the question , so here is some points,
    If you have Acrobat Writer or prof.edition, you can edit all the PDF documents irrespective of being from where it is generated.
    To make you understand more of XMLP.
    You create RTF template in word, so that , after merging with xml you can have multiple output formats like PDF, XLS, EFT,.....

  • Editable PDF Template for Proposals etc

    I'm a complete newb when it comes to acrobat so let me try and explain what I'm trying to do.
    My dad has his own business and he wants to be able to fill out all his proposals, statements and etc online. So what I'm trying to do is create a template based off of his printed proposals and make it so all he has to do is fill out the name, description and amount due. So I need an editable PDF file that he can fill out and then save as a new file (all filled out with the information he put in) that is uneditable, which will be presented to the client.
    I tried adding form fields but I couldnt figure out how to save it so it would be uneditable by the client.
    Hopefully, I explained that clearly. By the way I have the adobe master suite incase any other programs will help me. Thanks in advanced and sorry for my newbness.

    Hi,
    To edit PDF template , u need Acrobat writer, which is not free .
    I am still wondering what is this ?
    "" Can I create editable PDF report using RTF template ?? "".
    What is editable PDF report. ?
    i think what you tried to mention is ,
    can the PDF output from xml publisher is editable ?
    If that is the question , so here is some points,
    If you have Acrobat Writer or prof.edition, you can edit all the PDF documents irrespective of being from where it is generated.
    To make you understand more of XMLP.
    You create RTF template in word, so that , after merging with xml you can have multiple output formats like PDF, XLS, EFT,.....

  • How to Destroy PDFs generated thru Interactive Form ELement

    Hello Friends
    My team has figured out that constructing pdfs through Interactive Form Element in Netweaver is a big performance issue
    We need to destroy those pdfs generated , So please help us out with this
    thanks a lot

    I guess I'm still not fully understanding your problem.  You mention that they aren't being cleared from the JVM?  On the server or client side? How exactly are you seeing that they aren't being released? I'm assuming you mean server side because you mention JVM.  The JVM isn't used on the client side to display the UI element.  There is no JVM used in Web Dynpro ABAP for the server side processing.  The only place the JVM is used is in the Adobe Document Services itself for the rendering of the PDF.  Is that where you are seeing instances not being cleared?  I'm not exactly sure how that would be manifesting itself.  Could you please provide some more detail.

  • Can a RoboHelp project be used as a template for other projects?

    I noticed there is the ability to "duplicate a layout". Does
    that mean I can use my RoboHelp project with all its settings as a
    template for other projects. I corrupted an existing project by
    deleting a generated HTML file. I forced an update on one of the
    chapters in a linked FM book and now for whatever reason in the
    generated output, the entire book is being re-created within the
    folder for the chapter in which I deleted the HTML output and
    forced an output.
    Surely I don't have to redefine all the settings again in the
    FrameMaker Document Settings dialog, and in the WebHelp layout. All
    enlightenment is much appreciated. Come on baby give it to me one
    more time! Sorry couldn't resist. It is Friday after all.
    Peter

    Hi there Writerman_in_TO
    You seem to have a multiple segmented question.
    I noticed there is the ability to "duplicate a layout". Does
    that mean I can use my RoboHelp project with all its settings as a
    template for other projects.
    In one way, yes you can. You are able to use Windows Explorer
    to copy the project folder to a new location. Once you do that, you
    can open RoboHelp and open the project. Then click File > Rename
    Project and off you go.
    Not sure what to tell you about the Frame > RoboHelp
    mashup. Not familiar with Frame yet. Hopefully someone more savvy
    there will pop in and help.
    Cheers... Rick

  • How to use one WAD template for all the available queries

    Hi,
    I have created a WAD template... Now we have close to 25 queries which will use that template for displaying their output at Portal...
    Is there any way that i don`t have to create multiple copies of my WAD template...
    I.e. all queries would call that same template through portal...

    Hi,
    The Bex report uses the Standard Template 0ANALYSIS_PATTERN while it is executed.
    So if your sure that the look and feel of all the Reports is going to remain same, you don't need to even attach all these Queries to Templates in WAD.
    When you execute the BEx query, it would pick up the standard template and run it in portal.
    But if you want to customize the Report Template:
    1) You can change this standard template 0ANALYSIS_PATTERN  and customize it according to ur requrement in WAD.
    2) Or you can create a copy of this standard template and change it as required. Then change the template in spro (transaction RSCUSTV27) to point to this Z template.
    Let me know if you need more details.
    Regards,
    Forum

  • Print files into/onto PDF template for proofing

    Hi,
    I am hoping someone may be able to help.
    I am wanting to set up several PDF templates that will range from A4 -SRA3. these PDF templates will be Proof Approval Templates. I then want to be able to send artwork to print from say InDesign but I want it to print into the PDF template. Hope that makes sense.
    I would then end up with say a compliment slip artwork centred onto the Proof template enabling me to send out the proof.
    How do I go about this or is it not something that can easily be done?
    Many thanks in advance.
    Jon

    Hi,
    Thanks, I have been doing that but wanted to have something that could be done automatically by acrobat at the sending to print stage, my old company used to do it, but I never got to ask how...
    Do you know of a way?

  • How to use myself JSP template for my projects

    I am using JDev 10. .I realized the default templates of JSP in JDev don't match with my projects so I want to create my own template for JSP Pages. I read some threads in Forum about this problem but I am a beginner, I cannot understand fully and don't know the way to create template nor adding it into Project. Someone can tell me where I can find the tutorials, examples(demo).
    Thank you very much.

    Hi,
    The Bex report uses the Standard Template 0ANALYSIS_PATTERN while it is executed.
    So if your sure that the look and feel of all the Reports is going to remain same, you don't need to even attach all these Queries to Templates in WAD.
    When you execute the BEx query, it would pick up the standard template and run it in portal.
    But if you want to customize the Report Template:
    1) You can change this standard template 0ANALYSIS_PATTERN  and customize it according to ur requrement in WAD.
    2) Or you can create a copy of this standard template and change it as required. Then change the template in spro (transaction RSCUSTV27) to point to this Z template.
    Let me know if you need more details.
    Regards,
    Forum

Maybe you are looking for

  • Submitting a Form in a Spry Tabbed Region

    I have a spry tabbed region with 6 tabs. I have constructed a menu which targets and opens the specific tab using the ?tab=4 type notation.  I have also created links between tabs using the same notation.  All works fine. I have a form in one tab whi

  • Problem in executing the adobe form

    Hi, Using the SFP tcode i have createda an interface and a form for that interface. i have to import parameters from vbap table which i have mapped in the form..there is no problem while executing and activating the form... but while i am executing t

  • LSMW recording with TCode ABNAN

    hi guys, i wonder whether someone can help me, i created a recording using Tcode ABNAN, this recording was running well using foreground session, but it always failed to run when i use background session. i hope someone may share this experience, tha

  • Transaction logs not getting cleaned up

    I'm using Directory Server v5.2 on Windows 2000 and we encountered a situation over the weekend where our server ran out of disk space (5GB Drive w/ 1.3 DB free at the start of the test). When I looked in the slapd-mydir\db directory, it was filled w

  • AIX 5.1 (64-bit kernel mode) + JVM 1.3.1 (32-bit)?

    We need to run Oracle 9.2 and WebLogic 7.0 on the same box running AIX 5.1. Since Oracle 9.2 is only available as a 64-bit app, we need to run AIX 5.1 in 64-bit kernel mode. IBM has released both a 32-bit and 64-bit JVM 1.3.1. Clearly, they will run