Skip to Content

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

Update ALV Report screen by using a check box triggered by push button

Hi experts,

I am writing a ALV report in which i am displaying a check box with input fields corresponding to it.

Actually the usage of the check boxes is, I have a push button on the Application tool bar. If the user check the particular check box and enters the value in input field .After pressing the push-button the value entered in input field should be updated in ALV report.

Please help me in doing so.

Waiting for your replays.

Thanks in advance,


Former Member
Former Member replied


In PAI of this module program, you have a 'USER_COMMAND' module, right?

So in this module, response the function code of 'UPDATE' button.

IF checkbox for material is checked.

    lv_fieldName = 'MATNR'.

    CALL METHOD grid->get_selected_rows


           et_index_rows = i_rowindex.

      LOOP AT i_rowindex.

         ASSIGN COMPONENT lv_fieldName of strucutre wa_itab TO <fs>.

         MODIFY output_itab from wa_itab INDEX i_rowindex-index.


     CALL METHOD grid->refresh_table_display().


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