07-14-2008 10:24 AM
how to select multiple values in the generated output list for futher selection criteria in alv's without using oop's concept
basically using " reuse_alv_grid_display" function module
07-14-2008 10:27 AM
Hi
First, are you using the function module 'REUSE_ALV_GRID_DISPLAY'.
If so, MAYBE u can try this.
1. In the internal table for displaying in ALV, u can add a field
say 'SELK'.
2. In the ST_LAYOUT, you assign the name of this field to the field
"BOX_FIELDNAME" in ST_LAYOUT structure.
FORM layout_build USING p_st_layout TYPE slis_layout_alv.
...
p_st_layout-box_fieldname = 'SELK'. " Checkbox
...
ENDFORM. " LAYOUT_BUILD
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
...
is_layout = st_layout
...
IMPORTING
E_EXIT_CAUSED_BY_CALLER* ES_EXIT_CAUSED_BY_USER TABLES
t_outtab = itab.
For further reference
http://www.sapdev.co.uk/reporting/alv/alvgrid_rowsel.htm
Regards
Pavan
07-14-2008 10:27 AM
Hi
First, are you using the function module 'REUSE_ALV_GRID_DISPLAY'.
If so, MAYBE u can try this.
1. In the internal table for displaying in ALV, u can add a field
say 'SELK'.
2. In the ST_LAYOUT, you assign the name of this field to the field
"BOX_FIELDNAME" in ST_LAYOUT structure.
FORM layout_build USING p_st_layout TYPE slis_layout_alv.
...
p_st_layout-box_fieldname = 'SELK'. " Checkbox
...
ENDFORM. " LAYOUT_BUILD
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
...
is_layout = st_layout
...
IMPORTING
E_EXIT_CAUSED_BY_CALLER* ES_EXIT_CAUSED_BY_USER TABLES
t_outtab = itab.
For further reference
http://www.sapdev.co.uk/reporting/alv/alvgrid_rowsel.htm
Regards
Pavan
07-14-2008 10:28 AM
hi,
Plz refer to this link.
http://www.sapdev.co.uk/reporting/alv/alvgrid_rowsel.htm
hope this will hel;p.
Regards
Sumit Agarwal
07-14-2008 10:28 AM
hi,
Display a check box in the report output for multiple selections ....Check out the below links for the same
http://www.sapfans.com/forums/viewtopic.php?t=88376
http://www.sapfans.com/forums/viewtopic.php?t=40968
http://www.sapfans.com/forums/viewtopic.php?t=6919
Regards,
Santosh
07-14-2008 10:30 AM
Hi Ramesh,
Check out this following link, which has the complete code:
http://www.sapfans.com/forums/viewtopic.php?f=13&t=307935
Hope this helps you.
Regards,
Chandra Sekhar
07-14-2008 10:30 AM
Hiii!
Check out this link
http://www.abapprogramming.net/2007/07/alv-documentation-complete.html
Regards
Abhijeet