Application Development 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: 

Relationship between unknown SAP-TABLES

Former Member
0 Kudos

Hi Folks,

Lets take a scenario of populating an ouput internal table with fields from 4 unknown sap tables(relation between the tables is unknown). How can we check the relationship between those tables to populate the internal table..? What are the possible ways to check the relationship between tables..?

Can u please help me on this.

Thanks n regards,

ram.

4 REPLIES 4

Former Member
0 Kudos

Hi

you can check the relationship between those tables using abapquery

t code SQ02. crete a new one and enter the tables from that u can find the realtion ships.

M Kalpana

Former Member
0 Kudos

hi,

go to sqvi ,in creation mode, in table join area if u enter all four tables system would suggest what is the relationship between all the tables and fields

reward if this helps !!!!!

Former Member
0 Kudos

Hi <b>Ram</b>,

I tried the following method to find relation between tables and i think it is quite useful. I hope this will be of some use to you.

-> Goto SE11 and display one of the tables.

-> Click on the <b>Graphic</b> icon on the toolbar or use shortcut ctrlshiftF11

-> It displays all the related tables by foreign key and even gives you all check tables involved. If the list is a long one, you can even use <u>Find</u> option to check if the other tables you are trying to find relation with, exist in the screen.

Hope this Helps!! Do get back!!

Regards,

<b>Naveenan</b>.

0 Kudos

Hi Naveen ,

Tried in your way , it helps !!

Thanks

Rgds

Ganesh