cancel
Showing results for 
Search instead for 
Did you mean: 

Performance Problem

0 Kudos

Hello everybody,

I analyse our application in the SE30 and on top of the netto % of time is spend for the following method calls:

Call M. CL_WD_CONTEXT_SERVICES=>ON_ATTRIBUTE_CHANGE

Call M. CL_SALV_WD_DATA_CHANGE_LOG=>GET_CHANGE_LIST

Call M. CL_WD_CONTEXT_SERVICES=>ON_SELECTION_CHANGE

Call M. CL_WD_CONTEXT_SERVICES=>ON_COLLECTION_CHANGE

Call M. CL_WD_CONTEXT_SERVICES=>ON_LEAD_SELECTION_CHANGE

It's a analyse of closing a tray. With in the action of the tray only the context of the tray header is set to a new value.

So anybody knows why diese Methods a called so often ( 2000 up to 7000 times)?

Thanks and best regards

Christian Beitenbach

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi alex,

yes I have 4 embedded components.

Also we use some ALV Tables maybe this is also one cause of the poor performance.

regards,

Christian

Former Member
0 Kudos

hi christian..........

so only it is getting called so many times.... any way if it is useful then do not mind the performance much becaus when you use an alv too the same thing happens.

---regards,

alex b justin

0 Kudos

Hi alex,

thanks for reply.

So now the question when I only chance maybe 20 elements, why are these methods called a thousandfold?

Thanks

Christian

Former Member
0 Kudos

hi christian.....

all are methodfs and objects..... so it might not affect your performance much.

may be you might be having embedded components.

the web dynpro, for its framework itself might use some of these methods.

it depends.....

--regards,

alex b justin

Former Member
0 Kudos

hi christian.......

these are the actions that take place when the value of the context changes...

whenever a view is changed the view controller and the context are changed.

when a value of an attribute changes then also these things get called.

---regards,

alex b justin