cancel
Showing results for 
Search instead for 
Did you mean: 

How to get whole xml data from an online interactive form?

Former Member
0 Kudos

Hi guys,

I noticed there is an PDFObject api, which can extract xml data of an pdf file.

But what we want to do is an online inactive form, which user fill the form online and submit to web dynpro application, then we need to extract the xml data of the pdf embeded in the web dynpro view. I know it is very simple to get very single data of user's input(simply get the context), but my problem is how to get the xml data source of the online form?

I have found any document regarding this scenario, can anybody help me out? Thank you very much!

Regards,

Xiaoming Yang

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Xiaoming,

I hope this should help you out.

<a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/98af7acd-0401-0010-f697-bfa06971b65e">Regarding the PDF interactive form</a>

<a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3547e8cd-0401-0010-a4a0-c7667f3263b2">Regarding extracting the data from the form</a>

gud luck

Sreenivas.

Former Member
0 Kudos

Hi Sreenivas K.Mangasandra ,

Thank you for your reply, I already have the solution, but thanks all the same.

Regards,

Xiaoming Yang

Former Member
0 Kudos

Hi Xiaoming Yang,

nice to know that you solved the problem.

Can you let us know how you solved it or where the problem was.

thanks

Sreenivas.

Former Member
0 Kudos

Hi Sreenivas K.Mangasandra,

My please to share it.

1. Set the pdfSource property of the interactive form to a binary context, after the pdf is generated, the context should have the pdf binary.

2. Use the PDFObject.setPDF(), and set the binary context as an stream of the input parameter of the method, and the use the PDFObject.getData() method, it return the data source stream of the pdf.

Regards,

Xiaoming Yang

Former Member
0 Kudos

Hi,

Where to find this class PDFObject?

Is there a jar file available for download?

My NWDS doesn't have this class. Please help me.

Thanks

Regards,

Sowmya