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

query on inner join

Former Member
0 Likes
1,041

Hello experts,

i 'd like to join the tables BKPF and BSEG using the joins concept. let me know the statement for this so that i get the output as desired. USING selection screen concept as well.

BKPF-BELNR,

BKPF-BUKRS

BKPF-GJAHR ( FISCAL YEAR)

BSEG-WRBTR (VOUCHAR AMOUNT)

BSEG-WRBTR( CREDIT )

BSEG-WRBTR( DEBIT)

Regards,

CHK

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,015

Amazing!

Rob

9 REPLIES 9
Read only

Former Member
0 Likes
1,015

<<Incorrect answer removed>>

Edited by: Matt on Dec 3, 2008 3:49 PM

Read only

0 Likes
1,015

just to avoid any misunderstanding: BSEG is cluster table, so it is not possible to JOIN it with other tables. Even if it is rewarded with points, still does not work. To everyone who advised this: Have you ever tried it?

Read only

0 Likes
1,015

>

> just to avoid any misunderstanding...

You'd think that would clear it up, but...

Rob

Read only

matt
Active Contributor
0 Likes
1,015

Incorrect answers removed.

Read only

Former Member
0 Likes
1,015

<<Incorrect answer removed>>

Edited by: Matt on Dec 3, 2008 3:50 PM

Read only

Former Member
0 Likes
1,015

<<Incorrect answer removed>>

Edited by: Matt on Dec 3, 2008 3:50 PM

Read only

Former Member
0 Likes
1,016

Amazing!

Rob

Read only

0 Likes
1,015

I tried using the Same, not working.

ROB: any suggestion.

Code:

select *

INTO TABLE BSEGitab

FROM bkpf AS a

INNER JOIN bseg AS b

ON abelnr= bbelnr

WHERE a~LIFNR IN Vendor

and b~BUDAT LE Ikeydate.

Read only

0 Likes
1,015

Just search the forum on joining BSEG with another table. (But only pay attention to the answers that say you cannot do it.)

Rob