cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a dynamic fields in the Adobe Interactive form ?....urgent...

Former Member
0 Kudos

Hi Experts,

I'm working on Adobe Interactive form developed in WDP ABAP.( I have successfully config the ADS in my server.)

Action:

1. Create two view -


first_view and second_view in the WDP ABAP..

2. In the first_view, there are a input field( named "elements_number") and a button(named "create_button") .

3. In the second_view, there is Adobe Interactive form ( named "adobe_form" ).

4. Run the WDP ABAP: first_view is opened. Type a number ex."3" in the "elements_number", click the "create_button".

5. The second_view is opened.

6. The "adobe_form" is occured.

7. There are 3 text_fields in the "adobe_form".

Steps (1) ~ (6), I have completed, but I don't know how to implement the step (7).

Please give me some hint on this. I try to use the CL_WD_ADOBE_SERVICE, but I didn't found any examples. Do you give me some ways to implement the function? Thanks a lot.

Thank you very much.

Thanks,

Tao

Accepted Solutions (0)

Answers (1)

Answers (1)

barca23
Explorer
0 Kudos

Hello Wang Tao,

I have asked this question in a OSS message and they told that it's impossible to create fields dynamically in the adobe forms.

The only solution is working with the presence parameters of the fields.You can hide the fields depending of the number of element.

Kind Regards,

Pelaez Lopez Philippe,

Former Member
0 Kudos

Hi Philippe,

Thank you very much in advance.

Do you tell me how to hide elements in the "adobe_form" in the WDP ABAP? How can I get the elements attributes in the "adobe_form" from the method WDDOMODIFY of the second_view in the WDP ABAP.

Please give me some hints on this. Do you give me some ways to implement functions( hide elements and get elements's attributes)? Thanks a lot.

Thank you very much.

Thanks,

Tao

Former Member
0 Kudos

Hi,

To control the presence of the the adobe form fields, i believe, you will have to pass a flag parameter in the context (flag set as per your logic in the ABAP code).

In the script editor of the ADobe designer, you can make the presence hidden or viceversa as per this flag set.

like - Textfield.presence = "hidden";

There are few blogs on scripting in SDN. You may also search for similar threads in this forum.

Hope this may hep you.

Thanks and Regards,

Anto.