03-11-2010 11:29 AM
Hi all,
Can anyone help me how can i get the ALV with check boxes when user selects particular records and selection process further will happen for that records.
Thanks in advance,
03-11-2010 11:42 AM
hiii....
for doing furthur selection to alv list display ..
go through the following link ..were code snippet is given /..
if you want check boxes
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/adding-checkboxes-to-alv-530043
the extra peice of code that you have to add to fieldcat ...is given
and the sap help link for check boxes in alv ....is
http://help.sap.com/saphelp_sm32/helpdata/EN/26/46fb40f17af66fe10000000a1550b0/content.htm
he used radio buttons ...
http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-RadioButtonsinALVGRIDREPORT
I think the above information will do the job for you
03-11-2010 11:34 AM
Hi,
in field catalog there is field CHECKBOX - set it to 'X'.
Regards,
--
Przemysław
03-11-2010 11:36 AM
hi,
see the following standard program
BCALV_TEST_GRID_EDITABLE
hope this helps
regards
Ritesh
03-11-2010 11:39 AM
THanks for the inputs ,i also want to further process with the selected data how can i process the selected records
03-11-2010 11:42 AM
Hi,
field connected with checkbox will be set to X for selected rows.
LOOP AT itab.
IF itab-field_with_checkbox IS NOT INITIAL.
" processing...
Regards,
--
Przemysław
03-11-2010 11:42 AM
Hi Eric,
Please refer to Standard Program BCALV_EDIT_05.
Hope this helps.
Regards,
Chandravadan
03-11-2010 11:42 AM
hiii....
for doing furthur selection to alv list display ..
go through the following link ..were code snippet is given /..
if you want check boxes
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/adding-checkboxes-to-alv-530043
the extra peice of code that you have to add to fieldcat ...is given
and the sap help link for check boxes in alv ....is
http://help.sap.com/saphelp_sm32/helpdata/EN/26/46fb40f17af66fe10000000a1550b0/content.htm
he used radio buttons ...
http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-RadioButtonsinALVGRIDREPORT
I think the above information will do the job for you
03-11-2010 11:43 AM
hi,
sort the table by which you fill the ALV in DESCENDING order
and loop on the table where check_box = 'X'.
you find the desired row
hope this helps
Regards
Ritesh