Skip to Content
avatar image
Former Member

Push button in ALV Grid Display

Hi all,

I have a requirement wherin i need to place a button in the ALV Grid Display which should update all the records whatever are displayed in the specified infotype. This is to be done in a report.

Can anybody give me any pointers or sample code for the above query.

Regards,

Amrita

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 20, 2008 at 09:36 AM

    Hi,

    In field catalog you can try with the following.

    it_field-checkbox = 'X'.

    Rajeswar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 20, 2008 at 09:43 AM

    Can you elaborate ur reqmt as wat needs to be updated in ur ALV list? like the fields,etc..

    Add comment
    10|10000 characters needed characters exceeded

    • Simply add a button on your GUI status. Then when pushed, code your logic for update IT0008.

      AT USER-COMMAND event block will be triggered when you press your button.

      AT USER-COMMAND.
        if sy-ucomm = 'PUSHBUTTON'.    "here comes function code of your pushbutton
           "update your diplayed records
        endif.