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

inner join

Former Member
0 Likes
861

select avbeln akunag br_desc bcreate_date c~name1 into corresponding

fields of table itab from vbrk as a inner join zsdinvrej as b on

avbeln = bi_vbeln inner join kna1 as c where akunag in s_kunag and bcreate_date

in s_fkdat.

this statement show me error

i adding three table plsea help me solve the problem

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
797

hi Siva,

Condition missing

select avbeln akunag br_desc bcreate_date c~name1 into corresponding

fields of table itab from vbrk as a inner join zsdinvrej as b on

avbeln = bi_vbeln inner join kna1 as c <b>on<condition></b> where akunag in s_kunag and bcreate_date

in s_fkdat.

6 REPLIES 6
Read only

Former Member
0 Likes
797

Hi Siva,

In the statement for the second inner join

inner join kna1 as c

where is the on condition.

Please specify that also and then check.

Regards

Arun

Read only

Former Member
0 Likes
797

Hi,

the problem is with 'inner join kna1 as c', join contion 'ON' is missing...

Read only

Former Member
0 Likes
798

hi Siva,

Condition missing

select avbeln akunag br_desc bcreate_date c~name1 into corresponding

fields of table itab from vbrk as a inner join zsdinvrej as b on

avbeln = bi_vbeln inner join kna1 as c <b>on<condition></b> where akunag in s_kunag and bcreate_date

in s_fkdat.

Read only

Former Member
0 Likes
797

Hi Siva,

What is the error you are getting ?

Use <b>Inner Join as</b>

INNER JOIN AS a ON <i>conditions</i>

AND <i>conditions</i>

AND <i>conditions</i>)

Regards

Kannaiah

Read only

Former Member
0 Likes
797

Hi

there is no condition for join 3 on KNA1

put some condition

select avbeln akunag br_desc bcreate_date c~name1 into corresponding

fields of table itab from vbrk as a inner join zsdinvrej as b on

avbeln = bi_vbeln inner join kna1 as c on

<b>condition</b>

where akunag in s_kunag and bcreate_date

in s_fkdat

Regards

Shiva

Read only

Former Member
0 Likes
797

try this format....

SELECT <choose entries> INTO CORRESPONDING FIELDS OF TABLE IT FROM <table1> INNER JOIN <table2> ON <join condition> INNER JOIN <table 3> ON <join conditions> WHERE <select conditions>.

with regards

vinayaka