Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

importing table into smartforms

Former Member
0 Likes
1,686

Hi all,

i am new to smart forms and had met with some problems recently which i need some advice. i need to pass in a internal table of a structure(declare by myself in the print program) to the smart forms. in the smart forms, i need to loop the table and display the details in the smartforms. i have try to create a structure myself in the transaction SE11 and declare the table in smart forms like the structure i declare in the "Form interface -> tables" but this seems to give me some problem. it keep on saying that the structure need to be a flat structure.

any idea on how to declare the tables in the print program and in the smart forms. is there any documentation that i can look at that explain clearly how to import tables into smart forms and procedure on creating the structure so that the smart forms table can refer to.

thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
851

Hi

chk this link for good material

<b></b>

3 REPLIES 3
Read only

Former Member
0 Likes
852

Hi

chk this link for good material

<b></b>

Read only

Former Member
Read only

Former Member
0 Likes
851

Hi Lin,

Please follow as below..

You have already created a structure in SE11.

so, Create a data type is TABLE TYPE in SE11 and enter the discription.

Now, select the row type and enter the name of your already defined structure. Save it and activate it.

In the smartforms, Form interface, you have Tables section.

Etner the following details

Parameter Name: lets say MTAB

Type assignment: TYPE

Reference Type: The TABLE TYPE you have created in SE11.

let me know if you have any questions.

Ram