PDF imbedded in XML
Hi
we are currently reviewing the possible solutions for imbedding PDF into XML.
Our scenario is as follow.
We want to sent a generated PDF to PI (7.1) from SAP ERP 6.
So:
SAP ERP 6 ->Send XML control data(docnr, date etc) + Generated PDF->PI->Map Generated PDF and control fields to new XML->Partner
How to do this? According to the BIT400 course it is mentioned it is possible.
Anyone tried this and could lead me/explain me a possible solution scenario? Any "pitfalls"?
My sender adapter should that be RFC or is PROXY (or other most relevant)?
How to perform the mapping in PI when it is an "embedded" PDF document?
Cheers all
My sender adapter should that be RFC or is PROXY (or other most relevant)?
How to perform the mapping in PI when it is an "embedded" PDF document?
1. it is possible to send any file as an attachment from a proxy
2. Do you want to reach the content of the PDF?
if so then it is not possible in a standard way. You might have to either write your own adapter module to read the PDF or use tools like Conversion Agent to parse data.
Similar Messages
-
PDF form with XML data connection comes up blank at run time
Hello All,
I am a newbie to ADOBE Livecycle 9, but am very proficient in C#. I would like to request for your guidance on the following issue.
We have a desktop application in C#, WPF, Sqlserver. The requirement is to launch a Livecycle form from the application for the user to read/edit/save data
I have done this much so far -
Downloaded trial version of Livecycle 9
Developed a interactive PDf form
Created an XML based data connection. Generated fields on the form using the fields from this connection.
Set the .XML file as preview source for the form
the controls on the form are boumd to the xml data source
In design mode, the form works fine, it displays my data correctly
I have created a WPF form with a button. On click of this button, I call the Process.Start(pdf-file-path). My pdf is launched properly
I have added a combo box to my WPF form. I select a parameter from this, then call a stored procedure which returns me a datatable depending on parameter passed
Using the returned datatable, I have used the datatable.writexml and datatable.writexmlschema to create my XML and XSD files. as mentioned above, this xsd is used to create the data connection for the PDF and the XML for the preview source
This is what I want to do -
Launch the PDF from my WPF form, pre-populated with the newly created XML data from my WPF form.
So basically, as the user changes the selection criteria from the combo box, the XML file data will change and the PDF file will be launched each time with new data.
The XSD format will always be constant
Problem -
My XML and XSD get created properly, my PDF launches, but it is empty
If I change my selection criteria and run the WPF application, and then open the PDF in design mode, it asks me whether it should refresh the XML source. This means that the PDF form is connecting correctly to the XML source
So why then, does the form come up empty at run time?
What link am I missing?
I have found some sites that help using Web applications, but nothing for desktop applications. It would be fantastic if you could point me to some help for developing Livecycle forms with C# / SQLServer
Your help in this case will be highly appreciated.
Thanks and RegardsOops, something happended with the above post. I will try again... I have tried your suggestion but I still get the same garbled XML (with data repeated and some values "cut in half".<br /><br />Here is what I get after decode-service and extract-to-XML-service. This is just the first barcode, the others are similar, sorry for the poor formatting, but I get a CDATA tage infront of the "istensen" value.<br /> <br />CDATA:istensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />>Superroad 99, 1330 Supertown</fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br />>/sub_Adresse<br />><sub_Person<br />><fld_ForMellemEfterNavn>Kim Christensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />> Superroad 99, 1330 Supertown </fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br /><br />Obviously this is not a legal xml-string, so I can do nothing about it.<br /><br />I have tried using a custom .NET component (ClearImage) for reading the same form (with the barcode) I get the correct data out from the barcodes. So I guess something is wrong with the decode-service in Barcoded Forms ES when I use compressed XML. But I can conclude since the ClearImage component can read the barcodes that they are compressed correctly.<br /><br />Can you help me with getting further with this problem?<br /><br />Sincerely<br />Kim
-
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!
ThanksHi,
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,..... -
Export PDF Form to XML through VBScript
Hi,
I was wondering if there is a way to automate the export of an Adobe PDF Form to XML, either using the Adobe SDK/AcroExch.App or the PDF Test Toolkit.
I'm wanting to perform this action via a QuickTest Pro Script and thought there might be a funciton already written to perform this action, rather than having to automate the selection of Document>>Forms>>Export Data... from the Adobe Reader Menu and the Export Dialog.
Any suggestions would be much appreciated
Thanks in advanced,
RossHi,
Are you trying to edit the Adobe Test Toolkit ? If yes, I think it’s not easy to edit Adobe Test Toolkit. If you want to export PDF file to Microsoft XML file and Adobe is not working with you, than I will recommend you to try Classic PDF Editor which can easily export PDF files to Microsoft XML files. Classic PDF Editor also done many other type of file conversation like PDF to Doc, XML, PPT etc
If Classic PDF Editor solve your problem, must come back share your important views about this software.
Thanks -
PDF conversion into xml sometimes scrambles text
I've been using the "save as" function in Acrobat Pro 9 to convert PDF documents into xml text transcripts, but all too often that text comes out scrambled: instead of working within the column divisions on the page, the Acrobat conversion process will read across the page, braiding together, line by line, text that appears on the same level in two and sometimes three adjacent columns. Has anyone else experienced this, and is there anything I can do to prevent it from happening?
IAC methods are the COM/.NET methods on Windows.
a) You can get the document metadata and the size of each page but not tagged status from IAC. Plugins can get all the info.
b) There is NO WAY to get the password for an encrypted document (using ANY API), since the password is never stored in the PDF itself.
c-e can only be obtained using plugin APIs
f can be obtained using any API - IAC or plugin.
g is only available for plugins.
I don't understand h - do you just mean the version in the document or an actual REAL usage value? -
How to automate conversion of PDF forms to XML format
Hi
I have created a form using adobe livecycle designer 8. It has a email submit button that will send the form as a pdf file to a server.
Once the server recevive this pdf file, they will store the pdf file into a local drive. How do I convert the pdf files in the local drive into XML format without actually opening the pdf file in the Adobe Professional and clicking export data as XML?
Is there a way to write a code to convert these pdf files to XML format automatically?
Hope someone can help me with this issue
Regards
Delvin KhongHi Andersson,
The request command is a form server command? Where do i type the Request.Form("page.form.field"). I dont really understand your statement on "Use request on the receiving page to get data" Could you help me by explaining more?
Thank a lot for your advice
Warmest Regards
Delvin Khong -
How to:
1. Submitt form as PDF and not XML
2. Allow user to save to computer
ThanksThanks For the Post!!
Please be advised that this forum is for discussions about
the Acrobat.com online services only. Your best source of questions
and answers for Acrobat would be in the
Acrobat Windows
Forums or the
Acrobat Macintosh
Forums. -
WD(ABAP) - How to convert PDF object to XML
I know there is a way available to converting PDF object to XML in JAVA. However how to achieve this goal in ABAP?
In Web Dynpro ABAP, I can bind a context attribute to the pdfSource property of interactive form element. There also should be method to able to convert the binary content of this attribute to XML format, right? Does anyone know it?
Your help would be greatly appreciated.Hi all,
As an extension to Fred's question, is it possible to later use the generated XML data and present it in a PDF template? It used to be possible using the FDF format, but Adobe seem to have discontinued that.
My basic requirement is to send the form data to a third party in XML format and for them to be able to view it in human-readable format, preferably using a PDF as a template.
Is this possible?
Thanks,
Jonathan -
Hi friends,
How can i do PDF file to XML scenario in XI.
Please help me in this
Thanks in advance
SreediviaHi All,
We can convert PDF to XML using Java mapping. Below is the basic code for that:-
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
package Shubham1;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import com.lowagie.text.pdf.PdfReader;
import com.lowagie.text.pdf.parser.PdfTextExtractor;
import com.sap.aii.mapping.api.AbstractTrace;
import com.sap.aii.mapping.api.StreamTransformation;
* @author shubham.e.agarwal
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
public class Shubham2 implements StreamTransformation{
private Map map = null;
private AbstractTrace trace = null;
public void setParameter(Map arg0) {
map = arg0; // Store reference to the mapping parameters
if (map == null) {
this.map = new HashMap();
/*public static void main(String[] args) { //FOR EXTERNAL STANDALONE TESTING
try {
FileInputStream fin = new FileInputStream ("C:\\test.pdf"); //INPUT FILE (PAYLOAD)
FileOutputStream fout = new FileOutputStream ("C:/Users/Shubham.e.agarwal/My Documents/pdfXML.xml"); //OUTPUT FILE (PAYLOAD)
Shubham2 mapping = new Shubham2();
mapping.execute(fin, fout);
catch (Exception e1) {
e1.printStackTrace();
public void execute(InputStream inputstream, OutputStream outputstream) {
try {
String msgType = "MT_shubham"; //A dummy Message type, please change it as per your requirement.
String nameSpace = "http://Shubham"; //A dummy namespace, please change it as per your requirement.
String str;
str="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"+ "<ns0:"+msgType+" "+"xmlns:ns0=\""+nameSpace+"\">";
str = str + "\n<Record>";
PdfReader reader = new PdfReader(inputstream);
PdfTextExtractor pdf = new PdfTextExtractor(reader);
str = str + pdf.getTextFromPage(1);
str= str+"\n</Record>"+"\n</ns0:MT_shubham>";
byte by[] = str.getBytes();
outputstream.write(by);
reader.close();
outputstream.close();
System.out.println(str);
catch(Exception e){
e.printStackTrace(); -
Course of action? Parsing 1000+ PDF forms into XML.
Hello -
I am looking to automate the parsing of hundreds of PDF Forms into XML and then do some basic validation. The preferred method would be to drop all of the PDF's into a folder, run a script, and then the PDF's would go to their corresponding directory based on a XML validation test (easy to do once I get the PDF form into XML).
Now, I have googled all around the web looking for plug ins, scripts, or anything that might accomplish this. Everything that might have a chance of working seems very elaborate and expensive.
Can anyone recommend plausible, cheap, and quick course of action? Also, the machines that these files are on are very locked down with security, if that impacts your feedback.
Greatly appreciated,
DavidHi Andersson,
The request command is a form server command? Where do i type the Request.Form("page.form.field"). I dont really understand your statement on "Use request on the receiving page to get data" Could you help me by explaining more?
Thank a lot for your advice
Warmest Regards
Delvin Khong -
Runtime Error For Converting Static pdf to Dynamic Xml Form pdf
Hi All,
I am converting my static pdf to dynamic xml form pdf using Adoble Livecycle Designer ES 8.2 it is giving runtime error dialog.
My static pdf size is 12MB and it contains 46 pages(mostly all pages will have images). Do we have any limitations for converting static pdf to dynamic xml form pdf ?
Error message image file is attatched to this thread.
Can any body please help me on this.
Advance Thanks
Prasad SagalaHi Paul,
With out dividing into smaller chunks, Do we have any other alternative?
Because in my other pdf reports having more than 50 pages (in between 100-600). If i want do divide smaller chunks it will be the long process.
Thanks
Prasad Sagala -
Convert or Generate PDF form to XML format
Hello,
Is it possible to convert or generate a filled PDF form to XML with a specific format like the one below? Please advise.
<ImportSession UserID="Test" Password="Test">
<Batches>
<Batch Name="Batch Name" BatchClassName="Batch Name">
<Documents>
<Document FormTypeName="Form2314">
<IndexFields>
<IndexField Name="TITLE" Value="7601"/>
<IndexField Name="DocDate" Value="05/18/2011"/>
<IndexField Name="Person Name" Value="Smith, John"/>
<IndexField Name="From" Value="IT Division"/>
</IndexFields>
<Pages>
<Page ImportFileName="<INSERT FILE LOCATION HERE>"/>
</Pages></Document>
</Documents>
</Batch>
</Batches>
</ImportSession>
Thanks,
Han DaoHi Hodmi,
I would prefer to use LC Designer, can you explain little bit more on how to start it and LC Form ES.
Thanks, Han -
We want to convert the PDF Reports to XML
Hello,
Can you Please any of us know how to convert the PDF Reports to XML.
We are having around 30-40 reports of PDF needs to be converted for different countries to XML. Is there any simple way to achieve this in a short span of time.
Your reply will be much appreciated.
Regards
GanesanHello,
Can you Please any of us know how to convert the PDF Reports to XML.
We are having around 30-40 reports of PDF needs to be converted for different countries to XML. Is there any simple way to achieve this in a short span of time.
Your reply will be much appreciated.
Regards
Ganesan -
Help bring a multipage scanned document (TIFF) in PDF format using XML Publ
Help bring a multipage scanned document (TIFF) in PDF format using XML Publisher.
In the generated XML file data into BLOB field is, but their XML Publisher can not handle.
If the output TIFF, multipage PDF file in the report, the report prints a blank.
<fo:instream-foreign-object content-type="image/tiff"> <xsl:value-of select=".//FILE_DATA"/>
If the output JPG file to a PDF report, all displayed perfectly.
<fo:instream-foreign-object content-type="image/jpg" height="9 cm" width="12 cm">
<xsl:value-of select=".//FILE_DATA"/>
ThanksIt seems that these error messages MOD_OC4J_0184 etc are associated with some sort of timeout.
My problem finally solved - see my comments at:
Re: FOP
I would like to see the PDF format using FOP docs made clearer that 2 http servers are involved in this process, one serving htmldb pages and the other oc4j stuff.
Is it possible to do the PDF format using FOP with only the htmldb http server??
Cheers
KIM -
Hello,
I am trying to send a PDF and not XML when clicking a button that I created. Heres what I did:
1. Create the button
2. Select it
3. Field tab>Control Type>radio button select Submit
4. Submit tab>in the Submit to URL: box I type the email address in this format: mailto:[email protected]
5. Submit As: drop down list select "PDF"
I uploaded this form to my server, downloaded Adobe Reader 8 on another computer, logged in from that other computer, but when I click on the submit email button nothing happens. It works if the form is set for XML, but not PDFs.
Is this the correct syntax for the email address?
What else is there that am I missing or doing wrong?
Thank youHi,
I had this problem.
Open the form in Acrobat Professional. Click on "Advanced" and "Enable Usage Rights in Abobe Reader". Click on "Save Now" and try it again.
I hope this helps!
Emma
Maybe you are looking for
-
ASA 5505 9.1(2) NAT/return traffic problems
As part of an office move we upgraded our ASA to 9.1(2) and have been having what seem to be NAT problems with some services ever since. These problems manifest themselves with return traffic. For example, network time sync (NTP, port 123) works fine
-
A list of things that happen since installing Snow L on Mac Pro -Stuttering boot up sound It is not always the same, sometimes stutters a lot sometimes it stutters two or three times. I never hear a normal boot up sound. -Random Lock ups/failing apps
-
The tool bar line has suddenly disappeared and cannot print or check history. Also, bottom tool bar has disappeared so cannot see clock, shift to other programs. Only happens with FireFox. If I access any www site via FireFox, same problem. I have re
-
Line item issue in order confirmation
Hi folks..!!! i have an issue regarding order confirmation. while i am trying to display a sale order that line item quantity and somo more data's are printing in second line. i need those data's has to be print in same line in line i.e item , mat
-
Flex SDK version 4.5.1 upgrade issue
I recently upgraded from Flex SDK version 4.1.0.16076 to 4.5.1 and this upgrade broke one of the key functionalities in my application. Wherever the s:DataGroup itemRenderer's s:RichText textFlow has <img> element, it throws the following error i