cancel
Showing results for 
Search instead for 
Did you mean: 

How to transfer Internal table to a Adobe form? ....urgent...

Former Member
0 Kudos

Hi Experts,

I need to put the data in individual fields in the adobe form,

but I am not able to get the data in the adobe form from an internal table.

Action:

1. There are 1 table in the Adobe Interactive form((Adobeform)created by the 'sfp' t-code.

a) create a interface with a structure(A_STRU).

b) create a form with the interface.

c) In the layout of the form, drag a table to the form.

d) Binding the table to the A_STRU.

e) Binding the fields of the table to the fields of the structure.

2. Create a view -


first_view in the WDP ABAP.

3. In the first_view, there is a Interactiveform ( named "adobe_form" ) to be binding the Adobe Interactive form (Adobeform).

4. Type the code in the wddoinit of the first_view for bindding the internal table to context of the adobe form.

5. I find the nothing data to be displayed in the table in the adobe form when I run the program.

6. But I can transfer a string parameter from wda to adobe form.

I don't know how to config the table in the adobe form?

I hope to get the guide for step by step to solve the problem. Thanks a lot .

I hope to get some hints. Thanks a lot .

Thanks & Regards,

Tao

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello!

If you are not mistaken in calling your A_STRU "structure" than this is where you have problem. You can't use stucture (which is 1 dimensional object) to pass table data (which is 2 dim at least).

Maybe you have to replace you A_STRU with smth, referring to table type?

While you can only refer by TYPE to dictionary objects in standard form interface, you have to use table types as references to pass internal tables to the form.

Regards,

Petr Perstnev

Former Member
0 Kudos

Hi, Petr Perstnev,

Thanks a lot for your hint.

I have solve my question using your suggestion. Thank you again.:)

Best regards,

Tao

Answers (0)