Skip to Content

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

Activating/deactivating buttons at runtime

Hi,

I need to activate/deactivate buttons at runtime in method WDDOMODIFYVIEW.

I have tried the following:

DATA:

lr_button TYPE REF TO cl_wd_button.

lr_button ?= view->get_element( id = 'APPROVE' ).

lr_button->set_enabled( value = abap_false ).

I get the following error message: "Dynamic type conflict when assigning references"

Thanks,

Morten

Former Member
Not what you were looking for? View more on this topic or Ask a question