cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh PDF form data

Former Member
0 Kudos

Hi friends,

My view in webDynpro has Input field FLD1, button "Submit" and PDf form.

PDF form has textfield TF1.

The form is of ZCI type with XML schema based interface.

FLD1 and TF1are bind.

When I load the application - FLD1 and TF1 appears blank on the screen which exactly how I want.

Then I enter data into FLD1 and click "Submit" button.

ONACTIONONSUBMIT method gets executed.

In this method I read FLD1. I know that thru binding TF1 will have the same value.

But the PDF data on the screen doesn't get refreshed.

What code do I have to put to refresh PDF fields?

Thank you,

Tatyana.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member188831
Contributor
0 Kudos

Hi Tatyana Rinkenbaugh,

Hope you have created PDF form from webdynpro using Interactiveform element there you passed the Template Source i.e <formname> then it will as you for interface, you will enter smoe interface name then select context from your webdynpro view.after saving it opens the form layout their you can see the context you have to just drag and drop the field frmo data view.

so that pdf field TF1 will get binded.

in you on action submit then you can use get attribute and setattribute methods to get and set the data from fld1 to tf1.

let me know still your are facing any problems.

Regard,

mahesh