10-24-2006 7:43 PM
Hi All,
I have an Offline PDF Form filled with Data and i need to transfer this data to another Form of the same structure but which is online and can be submitted to SAP from there.
How can i deal with this situation and what are my options?
Thanks in advance..!
Jr.
10-24-2006 9:49 PM
Hi,
though I do not understand why you don't just upload the offline PDF-Files as a complete file to the desired online location, I try to give you some suggestions.
To my mind you've several options to solve the problem:
1) You can start by uploading the complete file to sap and then parse it there. Try to gather the information by keywords and at which place they are located and by the format of the text. For instance in case of a simple form which looks like that: Firstname: ________ Lastname:____,
you could go for the keyword 'Firstname:' and you'ld put the following 8 characters in a variable which you insert in the online pdf-File. Doing this, you have to get a little bit familiar with Postscript, then you'll understand where to insert in the ps-file the parsed information in the right way. Use ghostscript to check the validity of the ps-file. (PDF-Format is just an enhanced .ps file) Open the online-file with a function module, change it and close it again. After reloading the site there have to be some visible changes.
2) The second idea is to use an offline pdf2xml converter. Once you have the desired information embedded in XML-Tags, you can load the file and put the data in a table, which you design according to the information you need for the online pdf-form. Once again, open the online file, do the changes from your database entries of the offline form field by field and close the file. Reload. Done.
3) If you didn't mean online .pdf but just an online HTML-form(?), XML-Data provides a good basis to deal with the data and to go on with it.
I don't know if this meets your problem, just an idea.
10-24-2006 9:49 PM
Hi,
though I do not understand why you don't just upload the offline PDF-Files as a complete file to the desired online location, I try to give you some suggestions.
To my mind you've several options to solve the problem:
1) You can start by uploading the complete file to sap and then parse it there. Try to gather the information by keywords and at which place they are located and by the format of the text. For instance in case of a simple form which looks like that: Firstname: ________ Lastname:____,
you could go for the keyword 'Firstname:' and you'ld put the following 8 characters in a variable which you insert in the online pdf-File. Doing this, you have to get a little bit familiar with Postscript, then you'll understand where to insert in the ps-file the parsed information in the right way. Use ghostscript to check the validity of the ps-file. (PDF-Format is just an enhanced .ps file) Open the online-file with a function module, change it and close it again. After reloading the site there have to be some visible changes.
2) The second idea is to use an offline pdf2xml converter. Once you have the desired information embedded in XML-Tags, you can load the file and put the data in a table, which you design according to the information you need for the online pdf-form. Once again, open the online file, do the changes from your database entries of the offline form field by field and close the file. Reload. Done.
3) If you didn't mean online .pdf but just an online HTML-form(?), XML-Data provides a good basis to deal with the data and to go on with it.
I don't know if this meets your problem, just an idea.