cancel
Showing results for 
Search instead for 
Did you mean: 

How can I access a personalized visibleRowCount ?

Former Member
0 Kudos
242

The property visibleRowCount of a table is set to 10.

A user has personalized this value to 5 (via context menu -> user settings).

At runtime cl_wd_table->get_visible_rowcount returns 10 (instead of 5, although only 5 lines are displayed).

In the debugger I can see the correct information in the if_wd_personalization instance: cl_wdr_pers_manager->m_pers_service->mt_p13n_apply. Unfortunately m_pers_service is private. So I cannot access it...

How can I get the information how many rows are really visible?

View Entire Topic
Former Member
0 Kudos

Nice idea

However, declaring my class as a friend is a modification in cl_wdr_pers_manager. This is not an option for me.

I am quite sure, that there is a 'standard way' to read the user settings. But I cannot find it. Neither in the documentation, nor via debugger...

former_member215843
Active Participant
0 Kudos

There is no chance to read personalized values.

This a design principle for Web Dynpro Java and ABAP.

Please build your application independent of the number of rows in the table.

Ciao, Regina