Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV with select all option

Hi All,

i have written a ALV report program. One of the field in the output is a check box. The progarm has a button in the PF-status to select all the check boxes. I have written the below code to achive this functionality.

CASE u_comm.


LOOP AT gi_postprv INTO gw_postprv.

IF gw_postprv-chk_box NE 'X'.

gw_postprv-chk_box = 'X'.

MODIFY gi_postprv FROM gw_postprv INDEX

sy-tabix TRANSPORTING chk_box .


clear gw_postprv.


where gi_postprv is my output table.

The above is not achieving the desired functionality. I want to know if the above is correct? if not what else modification do i need to make.

Former Member
Former Member replied


You need to re-call the FM that you are using for Display of ALV Grid...



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question