Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dynamically setting table properties

Hello everybody,

in an example application im displaying the results of a RFC-FM call in a table. This works fine. Now i want to set the table property 'visibleRowCount' of the table dynamically depending on the amount of entries the RFC call returns.

I know how to set the property during runtime, what i dont know where to place the code, as it has to be done after the results of the RFC call are available (so the wdDoInit Method of the View Context isnt the right place).

I also dont know how to determine the amount of rows.

I appreciate any hints

regards,

Markus

Message was edited by: Markus Klein

Former Member
Former Member replied

You bound the table UI element to a context node (data source), size of this node is the number of rows.

If you always want to display all rows, simply set visibleRowCount = -1.

Armin

Message was edited by: Armin Reichert

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question