cancel
Showing results for 
Search instead for 
Did you mean: 

Component SALV_WD_TABLE - Read data

Former Member
0 Kudos

Hi all,

i'm using component SALV_WD_TABLE to display data in my web dynpro abap application.

The application implements a search which reads the whole amout of data and displays the entries in the grid. (configuration: about 20 entries are shown)

But now i want to scroll down/push the button to see the next entries.... I can see that the method to catch the data is executed again....?

Because of the huge amount of data i have to wait a long time before i can see the next entries.

Any ideas?

regards

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member515618
Active Participant
0 Kudos

Hi,

I suppose that you are fetching the data and building the context node in WDDOMODIFY of that view. In such a case this selection would get executed every time and therefore a performance issues is comming up.

Instead try doing it in WDDOINIT or the Inbound plug event handler mehtod of the view. So data fetching happend only once.

Hope this helps.

Regards

Sravan Varagani

Former Member
0 Kudos

Hi,

no i don't use WDDOMODIFYVIEW.

I have one screen with search criterias and a button "search".

If i push this button the data will be read via services.

So i put a breakpoint to the read_data method.....

After scrolling with the "scroll buttons" the breakpoint stops again....

Any ideas?

regards

Former Member
0 Kudos

Hi,

How did you fill your context node using methods or using supply function?

I hope that you were used method or Event handler.

So can you try to fill the context node using Supply function.

It will reduce your timings for fetch the data from data base.

Thanks.

Former Member
0 Kudos

Hi,

the button triggers an action -> event handler.

The event handler method calls an method in the component controller.

The component controller instanciate a service handler class.

The service handler class implements the client proxy.

The client proxy invokes the service.

regards

former_member515618
Active Participant
0 Kudos

Hi,

Please check if the component controller method is called else where in the program flow of the event handler.

Regards,

Sravan Varagani