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

selecting document list by gsber

0 Likes
673

I want to display document list from BKPF..but there is not GSBER field..it exists in BSEG table.but the table is not indexed table.when i use it,performance will be horrible.

How can i select data according to GSBER?

Best regards..

I want to display document list from BKPF..but there is not GSBER field..it exists in BSEG table.but the table is not indexed table.when i use it,performance will be horrible.

How can i select data according to GSBER?

Best regards..

3 REPLIES 3
Read only

Former Member
0 Likes
641

Just try... create a secondary index over BSEG table with belnr and gsber fields... Using secondary index will improve performance while fetching data.

Read only

ThomasZloch
Active Contributor
0 Likes
641

not possible to create secondary index on BSEG (cluster table).

Anything else you could narrow down the selection with?

posting date, CPU date, document type? -> use the indexes on BKPF then select BSEG with "for all entries"

account number? -> use the index tables BSIS, BSAS etc.

Company code should always be part of the selection.

Last exit would be to create a secondary index on BUKRS and GSBER on the aforementioned index tables.

Thomas

Read only

0 Likes
641

I deleted your other cross-post of this question. Please read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].

Cheers,

Julius