‎2008 Sep 16 1:51 PM
Hi,
I have an ALV report. In this report multiple records can be selected. I want to restrict that. I want only one record can be selected and after that if somebody tries to select one more record it should not be allowed. How it can be done?
Regards,
Jeetu
‎2008 Sep 16 2:05 PM
In the user command of the ALV, you can select all the record with the record FLAG = 'X'.
If the n° of the record is > 1 give an error message.
Regards
‎2008 Sep 16 2:14 PM
Hi Anna,
I do not want to display any error message. I want it should not allow to select multiple lines.
Regards,
Jeetu
‎2008 Sep 16 2:22 PM
‎2008 Sep 16 2:25 PM
‎2008 Sep 16 2:32 PM
Try with SEL_MODE = 'B' of Layout. and pass this layout to the method.
Mode B is for Single row selection.