cancel
Showing results for 
Search instead for 
Did you mean: 

Smartofrms forminterface

Former Member
0 Kudos

Hai all.

How can we pass the internal tables form driver program to smartform.

here am passing throu the form interface , but it is not accepting final internal tabel.

my final internal table is collection of different table fields.

how can it pass in form interface.

tanx in advance..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Declare the internal table in the Tables tab in the Form Interface.

Then in the Print Program, pass values to this table in the Smartform Generated FM.

Vishwa.

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi

frst create a z structure in types and den declare internal table of that type

Declare the internal table in the Tables tab in the Form Interface.

Then in the Print Program, pass values to this table in the Smartform Generated FM.

this will help u in a better approach

regards,

prashanti

Former Member
0 Kudos

yes if ur allowed to declare a zee structure thats also a good procedure if u should proceed with your approch only

Former Member
0 Kudos

Hi,

Create one global structure(Z structure) and declare internal table in form as type of global structure.

The fields in the global structure order is same as the internal table in u r program. Then call the FM in u r program.

Former Member
0 Kudos

Hi,

You need to declare the strcuture of the internal table in DB and insmartform declare the table in tables tab of the form interface.

Former Member
0 Kudos

you cant declare it like what u ahve done. yo have to take the required inputes using form interface and with the help of that declare the same userdefine data types in global declerations.

we can able to declare them only when ur refering with standard tables only.

now get the required inputs from the interface like document no and so on and then write a code to achieve the required output in global decleration.