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 box display in OOALV

Former Member
0 Kudos

Hi ,

I am using OOALV, i am trying to display selection tab in the ALV display. I am able to display the seletion box only in the corner of the layout but I am not able to display the selectionbox for all records. I am using the following code:

form prepare_layout changing p_gW_layout TYPE lvc_s_layo.

P_gw_layout-BOX_FNAME = 'SEL_FIELD'.

endform.

In internal table I have included field SEL_FIELD of type char(1).

Please give me a possible solution.

Regards,

Sankar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi

when you define the <b>layout</b> for the ALV structure LVC_S_LAYO

set the field SEL_MODE = 'A'.

This will allow for all the fields.

3 REPLIES 3

former_member199581
Active Participant
0 Kudos

When you build your Field Catalog, set parameter CHECKBOX of structure LVC_S_FCAT to 'X' for the field "SEL_FIELD".

R.

Former Member
0 Kudos

hi

when you define the <b>layout</b> for the ALV structure LVC_S_LAYO

set the field SEL_MODE = 'A'.

This will allow for all the fields.

Former Member
0 Kudos

1. Box will be displayed at the left hand corner only

2. Automatically it should be displayed for all records

3.in the fieldcatalog if u add wa_fieldcat-checkbox = 'X'. it will be displayed as checkbox