on 09-23-2009 1:19 AM
Hi All,
We have a scenario, where we have an Adobe PDF being generated with editable input fields in the address section of the form. The users will be able to edit the address fields in this PDF. Once the users edit the address, the new address entered by the user need to be captured in the program for further processing like sending an email, etc.
However, in the program whenever the control returns back from the Adobe PDF, the importing parameter i.e.
/1bcdwb/formoutput = wa_fmoutput, returned by the Adobe function module, does not have the edited (entered by the user) address data, it contains the old address data.
Could you please suggest, how to capture the data edited by the user on the Adobe form in the program?
Thanks,
Manohar Dubbaka.
Hi,
Try reading the fields of the pdf..
like..
lo_node = lo_document->find_from_name( name = 'ADDRESS'). " name of ur address/street field
wa_address = lo_node->get_value( ).
Similarly for street field, pincode field, etc..
Regards,
*Surya*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
We weren't succesfull in directly reading the data from the editable field of the Adobe PDF, however we were able to modify the XML string of the PDF document. We got the XML string of the adobe pdf document by setting the parameter getxml = "X" in the function module FP_JOB_OPEN.
Once we got the XML string, parsed the same using the function module "SMUM_XML_PARSE". Read the required field from the xml string using
READ TABLE lt_xml_data ASSIGNING <lfs_xmldata_flag>
WITH KEY cname = 'field_name'.
Got the required field data and modified the same.
If anyone has got the approach to read the editable fields directly from the adobe PDF editable fields, feel free to update this thread.
Thanks,
Manohar Dubbaka.
Offline scenario tutorial (data there and back): http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf806...
Online/ ABAP WD scenario tutorial (data there): /people/bhawanidutt.dabral/blog/2007/11/15/how-to133-integrate-adobe-form-on-webdynpro-for-abap-and-deploy-it-on-portal
Online/ ABAP WD scenario tutorial (data back): /people/shruti.rathour/blog/2008/02/07/uploading-sap-interactive-form-on-the-abap-webdynpro-view
Hope that helps, regards Otto
Hi Otto,
Thanks for your response. I know that setting getxml will work for offline scenario. I have an Adobe Interactive Form that is called from ABAP (Not Web Dynpro) and we are trying to retrieve the entered data from the form. Manohar was not clear about whether his scenario is Offline or not. What I have concluded is from ABAP , you cannot retrieve the changed data - it is possible only with Offline or Web Dynpro (Java/ABAP). If the getxml is set to X then the user is not presented the form for Preview and hence cannot change the data.
Thanks
Venkat
Thread moved...
Thanks Vinod!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manohar,
Please post your query in appropriate forum SAP NetWeaver -> SAP Interactive Forms by Adobe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.