on 03-30-2011 6:16 PM
In Web Dynpro ABAP, I want to know how can convert a XML format to PDF object, and then display both of them.
Your help would be greatly appreciated.
Hi Celis,
Assuming you're on a recent system version, I would approach creating the pdf as follows:
1) create a simple transformation to convert the xml data to internal abap table(s) and/or structure(s);
2) pass the abap structures/tables to a pdf form you build in SFP.
3) call the form in your webdynpro / assistance class with standard functions FP_FUNCTION_MODULE_NAME, FP_JOB_OPEN, FP_JOB_CLOSE.
For simple transforms, if you haven't done one before, I can highly recommend the book "XML Data Exchange using ABAP" from SAP Press: http://www.sap-press.com/products/XML-Data-Exchange-using-ABAP.html
To display the xml file: that's a new one for me, but I might try to use either a row repeater or table with each line as a text line. To format or structure the text into lines, I might again use a simple transform.
Hope this helps!
Margaret
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have a XML Document, and I need to create a folder and convert this documento into a Pdf, save them and display the xml document that already exist and the pdf version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.