12-13-2006 11:20 AM
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
12-13-2006 11:41 AM
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.
12-13-2006 11:36 AM
When you build your Field Catalog, set parameter CHECKBOX of structure LVC_S_FCAT to 'X' for the field "SEL_FIELD".
R.
12-13-2006 11:41 AM
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.
12-13-2006 11:43 AM
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