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

Table View Control - Want to access fields of multiple tables

Former Member
0 Kudos
378

Hi,

I want to display data in table view control but the fields are from more than one table.

Got the table view control thur' the table view control wizard, but the wizard asks for table either from program or from abap dictionary and asks for a single table. If the requirement to display the data is from more than one table how to do that.....?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
309

declare an internal table of ur requriment ..in thw wizard u give internal table instead of DB table

regards,

aswin.

4 REPLIES 4
Read only

Former Member
0 Kudos
309

In your program Create an internal table such that its a combination of fields from different table. Activate the program.

Now in wizard select the option Get from program and give tht internal table name.

Some times it wont work so come out from the program and re-enter.

Read only

Former Member
0 Kudos
309

Hi,

the system will alow you to club the fields of different tables only if they are related by foreign keys.

if there exixts a table with foreign key the system will give a proposal.

u check wether ur concerned tables are linked by foreign keys.

Regards

Sandeep

Read only

Former Member
0 Kudos
310

declare an internal table of ur requriment ..in thw wizard u give internal table instead of DB table

regards,

aswin.

Read only

Former Member
0 Kudos
309

GREAT