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

BSEG BKPF join

Former Member
0 Likes
2,298

I need to join two tables BKPF and BSEG and get some fields .. but my issue is that BSEG is a cluster table and it doesnt allow me to join.

Please give me a way out.

thanks in advance

arshad

I need to join two tables BKPF and BSEG and get some fields .. but my issue is that BSEG is a cluster table and it doesnt allow me to join.

Please give me a way out.

thanks in advance

arshad

4 REPLIES 4
Read only

Former Member
0 Likes
925

Hi arshad,

1. FOR ALL ENTRIES.

2. It is recommended that

first select entries from only one table

(say, BKPF),

3. After that, using the internal table,

FOR ALL ENTRIES, and BSEG table,

select the relevant entries from BSEG table.

4. Performance wise, this will be very fast.

regards,

amit m.

Read only

former_member186741
Active Contributor
0 Likes
925

you can't directly join on BSEG but depending on which data you want to access you might be able to use an alternative table. eg, BSID or BSAD for open or cleared customer items or BSIK/BSAK for open or cleared vendor items.

Read only

Former Member
0 Likes
925

HI

GOOD

No,it is not possile to join cluster table like BSEG

I would suggest you to do a selection from BKPF ( into table t_bkpf ) and then do the second selection on BSEG using "for all entries in t_bkpf" .

THANKS

MRUTYUN

Read only

andreas_mann3
Active Contributor
0 Likes
925

hi,

use bsis/bsas, bsik/bsak, bsid/bsad

-> here're fields of bkpf and bseg for different kinds of accounts

A.