cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP WD application - Dynamic filling adobe interactive form

Former Member
0 Kudos

Hi,

I am developing a WD Application which has Adobe interactive form in which when user enters an input field 1 it should automatically populate respective values for input field 2 in the same form.I have this relation maintained in ztable.

How do we handle this?

Rgds

Vara

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member188831
Contributor
0 Kudos

Hi Vara,

just to confirm your query again, hope your are talking about input fields on your interactive pdf form only.

we have one event of IF UI element i.e onsubmit, this you can use to querying by passing the input field1 value and get the vales of input field2 then update the pdf context.

in your sfp layout you have to place the submit button from library palet as you like it can be from webdynpro-activex or webdynpro-native.

or you have to place any button out of your pdf-form(place it on webdynpro) and write your code and update the pdf context.

Thanks,

Mahesh.Gattu

+230-7491040

Former Member
0 Kudos

Mahesh,

Sorry for the confusion.

Here is my req..

My WD application will have a parameter-Inputfield1 for entering job number

My interactive form will have

- Inputfield1 as header.

- A dynamic table with inputfield2 & inputfield3

Inputfields2 as item values - should be filled automatically after user input inputfield1 ,

inputfields3 will be manual entry from user

Finally i should take all these 3 values and submit it to SAP.I can have a SUBMIT button for this at the end of the form.

rgds

vara

former_member188831
Contributor
0 Kudos

Hi Vara,

either you can have a button on PDF like submit button or you can take a button on webdynpro layout.

its all you have to manager to get your data from context node like get_text or get_static_attributes from the node. or get_static_attributes_table.

for table you can use the node object interface instead of element.

please try and let me know still you have any confusion.

Thanks,

mahesh.gattu

Former Member
0 Kudos

Mahesh,

Thank very much for your valuable input.

I have placed initial submit button on WD application.It is pulling up pre-filled data when I use the button.

Secondly I am also getting user entered values in table via get_static_attributes_table

but I am having 2 weird issues.

1- Pre-filled data on form is only filling up on hitting my submit button 2 times on WD .I used standard submit button here.

Also in submit button which is inside form is getting my user filled values in table only after I hit 2 times physically submit button.I used AD active X submit button here.

As it is interactive form I have checcked enable button,display type: activeX & assigned pdfsource.

I just tried unchecking enable button then it pulls up data in one click but i cannot do this as we need interactivity.

What should be the problem?

Rgds

Vara