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 Join in ABAP Query

Former Member
0 Likes
980

Hi,

I'm new to ABAP Query. I want to include a table and join with an existing table in abap query. how to do this?

Hi,

I'm new to ABAP Query. I want to include a table and join with an existing table in abap query. how to do this?

6 REPLIES 6
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
788

Check for ABAP Documentation for SQL BAsics... Or search it in forums

Read only

Former Member
0 Likes
788

Hi:

[Link|http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp]

Regards

Shashi

Read only

0 Likes
788

Thanks. But Query already exists. I want to add one more table to this. which transaction do I use for that? is it SQ01 ? then how to proceed?

Read only

0 Likes
788

Did you start SQ01? How is it called, does that sound right? Did you try looking at help -> application help?

Even if you're new to it you should do a basic amount of research yourself, then what you found out will stick much better.

Thomas

Read only

Former Member
0 Likes
788

Check SAP F1 Help .....

Type INER JOIN in se38 and press F1 selecting that

Regards,

Prakash

Read only

Former Member
0 Likes
788

Hi

select lipsvbeln lipslfimg likp~wadat

into corresponding fields of table ltab_orders

from lips join likp on ( lipsvbeln = likpvbeln )

join vbfa on ( lipsvbeln = vbfavbelv )

where lips~matnr = matnr

and lips~vbeln in vbeln

and likp~vbeln in vbeln

and vbfa~vbelv in vbeln

and lips~werks in werks

and likp~wadat in datum

and vbfa~vbtyp_n = 'Q'

and vbfa~vbtyp_v = 'J'.

Thanks,

Neelima.