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: 

Regarding the ALV Grid display

Former Member
0 Kudos

Hi All,

I am using 'REUSE_ALV_GRID_DISPLAY' for displaying the output. The report is displaying in the grid format but I am not getting selection tab at the left most for selecting the records.

Please advise me on this.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use the Following code

Data: WA_LAYOUT TYPE SLIS_LAYOUT_ALV.

In the FM pass this IS_LAYOUT = WA_LAYOUT.

Hope this will help you

5 REPLIES 5

Former Member
0 Kudos

in layout give follwing:

internal table with one field char1.

WA_LAYOUT-BOX_FIELDNAME = 'your internal table fieldname with char1'.

former_member188685
Active Contributor
0 Kudos

have one more extra field of char field of length 1. and pass the fieldname to box_fieldname of the layout.

layout-box_fieldname = 'SINGLECHARFIELD'.

one you do that you get that box field infront of each row.

Former Member
0 Kudos

hi..

for selection you will have to create a seperate column..

and you have to acticate the 'SEL' selection in the reuse_alv_grid_display...its only then that your selection tab will become active.

Former Member
0 Kudos

Hi,

Use the Following code

Data: WA_LAYOUT TYPE SLIS_LAYOUT_ALV.

In the FM pass this IS_LAYOUT = WA_LAYOUT.

Hope this will help you

Former Member
0 Kudos

Hi,

in the lay out if you use EDIT = 'X', then it will come.

data: lay type SLIS_LAYOUT_ALV.

lay-edit = 'X'.

Regards,

Venkatesh