Skip to Content
avatar image
Former Member

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,

Se38

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Dec 26, 2014 at 03:54 AM

    Hey, Its will be more understandable if you could specify your requirement a bit more clearer.

    What actually you are trying to achieve ? 

    - Pavan Golesar

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 26, 2014 at 04:32 AM

    OK,

    Its quite fishy as why you are taking checkbox for this event. If i was to advice you, i suggest you to try to check if the textbox field is empty(is initial) or not.

    Logic:

    Its and interactive ALV program logic as user interacts with the report.Firstly, if you have a function code assigned to the 'Update Grid' button on the application tool bar then use the 'i_callback_user_command' parameter of the FM 'Reuse_alv_grid_display' to make it an interactive report.


    user command eg.JPG (137.2 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Dec 26, 2014 at 05:48 AM

    Hi,

    I think you are using module pool programming.

    And CL_GUI_ALV_GRID class to display the information in ALV grid.

    You can use the below code to update the information in ALV grid.

    In PAI

    If usr_alv object is not initial.

         call method usr_alv_obj->refresh_table_display

         importing

         soft* = 'X'

    endif.

    In PBO

    Update your Internal table information as per your logic based on the Selected Check Boxes.

    Regards.

    Praveer.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 26, 2014 at 05:33 AM

    hey if i had answer the question satisfactorily you may choose as correct answer & close the thread.. :-)

    Thanks & Regards: Pavan Golesar

    Add comment
    10|10000 characters needed characters exceeded