on 06-10-2009 11:55 AM
Hi,
I want to know when the ON_LEAD_SELECTION event will be called for a ALV, i guess it must be called only on when the entry in the ALV selected and the correspoding index will be passed to ALV ON_LEAD_SELECTION event.
but i have a problem like the ON_LEAD_SELECTION event is getting called with index = 0 on when i select the option SELECT_ALL or DESELCT_ALL from the ALV. is it the correct behaviour to call the event in these cases.
Can anyone give me a clear picture of when exactly and what cases the ON_LEAD_SELECTION will be called with index = 0.
Regards,
Anil kumar G
Hi,
As per the ALV Events documentation 'The event ON_LEAD_SELECT is triggered when the user changes the lead selection in an ALV output'.
According to this statement, SELECT ALL option will not trigger any LEAD_SELECTION event as there will not be any change in lead selection index(assuming something was already selected before). But DESELECT ALL will definately trigger this event as there is a change in lead selection index from n(some number) to ZERO. If nothing was selected already, then even DESELECT ALL will not trigger this event.
Regard,
Manne.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.