just create an attribute as gv_btn_id type string in your view.
every button action method will have the ID as import parameter and assign the ID to the View attribute as
wdthis->gv_btn_id = ID.
and in your MODIFYVIEW, wdthis->gv_btn_id cotains the ID of the button pressed.
proceede with your code.
Thanks.
Uma