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

fetching data from a big database view

Former Member
0 Likes
659

I have a database view of four tables viz.,EKKO ,EKPO, EKBE, LFA1.So, when I retrieve the data from this view the application hangs or stops responding means this particular query which is fetching the data from this big view gets stuck somewhere.How to get around this problem?

Thanks and regards

Mr.Sonal Sharma

4 REPLIES 4
Read only

ritesh_dugad2
Active Participant
0 Likes
586

Pls. check your Join conditions in the view, hope they are correct. Other way is to write select statements using Joins/for all entries/into table etc.

Read only

Former Member
0 Likes
586

hi

yes it will take time if data retrived for selection will be high in volume.

insted of that u can start ur selection from EKKO , and can use SELECT FOR ALL ENTRIES to select data form other tables .

INNER JOIN or VIEW's for big selection condition (WHERE condition decrease performance of report)

reward if helpful.

Read only

Former Member
0 Likes
586

hai,

send the piece of code you are using for data access.

check out for performance in sap hel also.

regards

jase

Read only

Former Member
0 Likes
586

Hi,

Try to use criteria with key field,

If program return a huge data, Try to run in background!

More info about performance tuning http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm

Cheers

Wiparat