Skip to Content
0
Former Member
Jul 08, 2010 at 05:59 AM

Unable to display results from table using smartforms

28 Views

Hi Experts ,

I am new to area of smart forms .

I wish to display the results of a select query in a page .

here what i have done :

Part : Global deifination

1) declared under the tab types which contains list of fields i wish to fetch .

2) Under tab global data , i declared an internal table and structure of above type .

3) Then under initialization tab , declared it_tab ( internal table ) as the output parameters .

4 ) In test editor i wrote the select query .

Node : MAIN window :

i created loop . Here i loop internal table it_tab into ls_tab .

Then created the text element for the loop statement .

Saved and activated the smart forms .

but i get the following output :

&fs_tab-vbeln& &fs_tab-meins& &fs_tab-matkl& &fs_tab-matnr& .

&fs_tab-vbeln& &fs_tab-meins& &fs_tab-matkl& &fs_tab-matnr& .

&fs_tab-vbeln& &fs_tab-meins& &fs_tab-matkl& &fs_tab-matnr& .

&fs_tab-vbeln& &fs_tab-meins& &fs_tab-matkl& &fs_tab-matnr& .

&fs_tab-vbeln& &fs_tab-meins& &fs_tab-matkl& &fs_tab-matnr& .

&fs_tab-vbeln& &fs_tab-meins& &fs_tab-matkl& &fs_tab-matnr& .

&fs_tab-vbeln& &fs_tab-meins& &fs_tab-matkl& &fs_tab-matnr& .

Please advice why the value is not shown and instead text elements are printed .

Warm Regards ,

Abhishek