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

difference between joins &for all entries

Former Member
0 Likes
854

difference between joins &for all entries

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
810

Hi,

Joins are used to fetch data from two database table based on certain joining condition.But for all entries is used to fetch data from database table based on the data present in the internal table.

Hope this will help

Regards

Shibin

difference between joins &for all entries

4 REPLIES 4
Read only

Former Member
0 Likes
810

Reward points..

Read only

Former Member
0 Likes
810

hi,

Join statement is used to create a view on two or more tables that is we can select the enetries from two or more tables simultaneously.. Like if we want VBAK( SO header tab) and VBAP(SO item tab) details in single work area we go for join statement .

For all enetries option is used when we want to select data intio the table on the basis of already existing internal table data. Like we have SO header deatils in vbak_itab internal table and now we want SO item deatails in separate vbap_itab then we will go for this option..

Check the syntax that will help in understanding..

Reward points!!!!!!!!!!!

Read only

Former Member
0 Likes
811

Hi,

Joins are used to fetch data from two database table based on certain joining condition.But for all entries is used to fetch data from database table based on the data present in the internal table.

Hope this will help

Regards

Shibin

Read only

chandra_sekhar3
Explorer
0 Likes
810

Hi,

FOR ALL ENTRIES retrieves all the table entries depending on another table.

joins: To select the data from more than one database table with atleast one field

at once in to these same internal table.