i have an uploaded PDF and want to extract the data of this Object to make an rfc-call and update the date at a backend system.
I have looked through the Help-files (api) and found the Interface IWDPDFObject, but in my DevStudio Vers. 2.0.6 i cant find the classes.
So, at the moment i don't know how to read the fields out of a PDF-Object (the node) and fill my update structure.
Thanks for help !
Regards
Jürgen
Hello Jürgen,
you will receive that data XML from the PDF with:
IWDPDFObject pdfObject = WDPDFObjectFactory.getPDFObject();
pdfObject.setPDF(pdfDocument);
InputStream data = pdfObject.getData();
Then it is up to you to parse it and to move data into your data structure.
If the Web Dynpro context fits to the data structure of your PDF, you can use the InteractiveForm with mode "usePDF" and display the PDF online. In that case, the update of Web Dynpro context happens automatically.
Regards
Stefan
Add a comment