Friday, 5 June 2015

Default lead selection in ALV in ABAP webdynpro

When we create a ABAP WD application and try to display an ALV, one thing we most commonly see is at the time of display, the first row of ALV comes as selected. This is what we called Default Lead Selection. How we can avoid it ? There can be customer requirement where customer doesn't want to have a default row selected. Below is the answer.

We create nodes in context of Webdynpro component. The properties of that nodes has one attribute named "Initialization Lead selection". That property is responsible for the behaviour explained above. One can check that property and can have default lead selection in ALV/Table or can uncheck it and can avoid the default lead selection. Find below the example.




When we check the “Initialization Lead Selection”



No comments:

Post a Comment