Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Selection Mode

Former Member
0 Kudos

Hi,

In ALV classes/containers, for layout in order to select a particular row ,we use sel_mode = 'A'so that we can also see a small box at the left side.

Without using classes and just using standard ALV FM's is it possible to do?

2 REPLIES 2

Former Member
0 Kudos

yes, you can.

The solution is add a additional column into the ALV report.

Make it be editable. (it's the critical point)

And hide this column, (you can do it by set its fieldcategory).

Hide it because it's no useful for you

Then you will see the small box at the left of side.

As I know, the small box you mentioned will appear automactically in the FM ALV, when it is editable.

Hope it will be helpful

thanks

Former Member
0 Kudos

Hello,

You can have a look at the sample program BALVST02_GRID. On the selection screen, if you check the option "Checkbox Active" under <i>Interaction</i>, you will be able to see the output in the format you desire.

Pay special attention to the subroutine E05_LAYOUT_BUILD. Notice the parameter BOX_FIELDNAME being filled there.

Regards,

Anand Mandalika.