on 09-18-2007 3:08 PM
Hello, do anybody know if I can do that and how does it work?!
here i've got a little code:
* ALV: create button
DATA:
lr_create_function TYPE REF TO cl_salv_wd_function,
lr_create_button TYPE REF TO cl_salv_wd_fe_button.
lr_create_function = lr_config->if_salv_wd_function_settings~create_function('PHIN_CREATE_NOTIF').
CREATE OBJECT lr_create_button.
lr_create_button->set_text( stru_texts-t204 ).
lr_create_button->set_tooltip( stru_texts-t204 ).
* lr_create_button->set_enabled( 'BODY.DISABLE_BUTTONS' ).
elem_body->bind_enable( ).
lr_create_button->set_enabled( ).
lr_create_function->set_editor( lr_create_button ).
I try to bind the enable property to the context of cc
best regards
Christian
hi,
why dont try to use :
lr_create_button type ref to cl_salv_wd_uie_button.
lr_create_button->set_enabled_fieldname( 'CONTEXT_ATTRIBUTE' ).
Regards,
Mayaa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.