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

Retrieving data from diff tables

Former Member
0 Likes
703

Hi ,

Is there any possibility to retrive data from different table without relation between those tables.

Regards

Suresh.D

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
619

hi,

no they should have relation.

if they don't have any relation then we have to search another table using which we can relate these two tables.i.e.if the two tables have relation with another table then using that we can retrieve data.

5 REPLIES 5
Read only

Former Member
0 Likes
619

Hi

There should be some link with atleast one field with the other tables, then only we will fetch data from different tables linking them

other wise we can't fetch data.

Reward points if useful

Regards

Anji

Message was edited by:

Anji Reddy Vangala

Read only

Former Member
0 Likes
619

No you cannot do it.

There has to be some link.

regards

Read only

Former Member
0 Likes
620

hi,

no they should have relation.

if they don't have any relation then we have to search another table using which we can relate these two tables.i.e.if the two tables have relation with another table then using that we can retrieve data.

Read only

Former Member
0 Likes
619

Hi,

On what basis would you like to retrieve the data from different tables?

There should be some link b/w the tables in order to retrieve the data

Regards,

Sankar.

Read only

S0025444845
Active Participant
0 Likes
619

Hi,

We can not retrieve data from two tables without any relation between them,

there should be some link,may be through some different table i.e third table.

for eg

there is no link b/w VBRP table and T001 table

but we have to retrieve WAERs from t001

then You can pass VBELN into VBRK table and GET BUKRS from there and based on VBRK-BUKRS you can retrieve T001-WAERS.

So VBRK table is indirect link bw VBRP and T001

regard ,

Sudha,

Reward points if useful.