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

Smartform query

Former Member
0 Likes
1,264

Where should i make changes in the smartform while taking two table instead of 1 table. I can able to see the result while taking 1 table , but i don't know how to do it in 2 tables . Please help me experts .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,234

hi,

in smartform main area you can create 2 tables ....on each table condition option put some condition as your requirement for display a single table .

regards

Gaurav

13 REPLIES 13
Read only

Former Member
0 Likes
1,234

Can you please explain? Your question is not very clear.

Thansk,

Archana

Read only

0 Likes
1,234

My question is like should i declare 2 tables in the smartform or , i have to take final table at smart form.

Thanks And Regards

Arun Kumar Sethi

Read only

0 Likes
1,234

Hi,

It depends on u how u want to display fields.

If two tables not nedded I mean if all data u have merge in 1 final internal table in driver program, then no need of two tables .

Regards

Arbind

Read only

Former Member
0 Likes
1,234

hi ,

check out in GLOBAL SETTINGS options Form Interface & Global definitions

Regards

Gaurav

Read only

Former Member
0 Likes
1,234

Hi,

In the driver Program u declare the two tables and in SmartForms in Global setting >Form Interface>Tables --u have to declare.

After that loop it and read and display.

Regards

Arbind

Read only

0 Likes
1,234

Can i declare Final table like

" IT_FINAL TYPE FINAL " OR " IT_FINAL LIKE FINAL ".

And Loop as follows,

" IT_FINAL INTO WA_FINAL " .

Thanks And Regards

Arun Kumar Sethi

Read only

Former Member
0 Likes
1,234

hi,

you can declare 2 tables in global definitions in smart form ..............or pass final table trough smartform driver program ........

regards

Gaurav

Read only

0 Likes
1,234

If i declare 2 tables at the Global definition then how to loop it at the main area .

Thanks And Regards

Arun kumar Sethi.

Read only

0 Likes
1,234

Hi,

In the Main Area Right Click u will find LOOP stement Select that.

There u make ur 1st Inernal table loop and u can again select loop or use table and pass ur 2nd Internal Table.

Thats it.

Regards

Arbind

Read only

0 Likes
1,234

Thanks all for the helpful replays..

Thanks And Regards

Arun Kumar Sethi.

Read only

Former Member
0 Likes
1,234

hi,

you can declare internal table & workarea in SF.............but first you have to create same structure in SE11

" IT_FINAL LIKE FINAL ".

And Loop as follows,

" IT_FINAL INTO WA_FINAL " .

Thanks And Regards

gaurav

Read only

Former Member
0 Likes
1,235

hi,

in smartform main area you can create 2 tables ....on each table condition option put some condition as your requirement for display a single table .

regards

Gaurav

Read only

0 Likes
1,234

Thanks Gaurav Igot my problem solved.