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

SQL Query on BSEG

adnanmaqbool
Contributor
0 Likes
1,554

Dear Guys

I have to pick documents from BSEG on the basis of VALUT.

Its taking too much time, is there any way to improve the query access on BSEG.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
842

You can first use your query conditon to get key value of BSEG table from index table. Like company code,document No. and fiscal year. Index table like BSIS,BSAS and so on. You can search such tables in SE11 with search term BS*.

Regards

Chris.Xu

3 REPLIES 3
Read only

Former Member
0 Likes
842

Hi,

BSEG is cluster table. So dont use that in any case.

Regards

Sandipan

Read only

Former Member
0 Likes
842

Hi,

As BSEG is a cluster table,u will definitely get performance issue.

So u get the field VALUT(Value Date) from the table BSIS.

Hope this will resolve your issue.

Please reward points if useful.

Regards

Rose

Read only

Former Member
0 Likes
843

You can first use your query conditon to get key value of BSEG table from index table. Like company code,document No. and fiscal year. Index table like BSIS,BSAS and so on. You can search such tables in SE11 with search term BS*.

Regards

Chris.Xu