on 12-05-2008 2:05 PM
Hi ALL,
i have a two buttons in my view ......initially one button must be enable,depending on some condition i want to disable one button on the same view .........in which i am displaying my alv data ........(in the same view).
check the properties with property name Visible.
Take one attribute with name as visibile and Type ( WDUI_VISIBILITY-Data Type for "visible" Properties)
then bind this attribute with property visible.
then in run time according to the condition pass value '01'-for no visibility and '02' for visible.
Hope this helps you.
Regards,
sarath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
you can bind the context attribute of type WDY_BOOLEAN with the associated button .
as a eg suppose that attribute name is CA_FREEZE , then in whatever method you have to disable that button , u can use set attribute
like this
// set single attribute
lo_el_context->set_attribute(
EXPORTING
name = `CA_FREEZE`
value = ' ' ).
\
this would diable the button
hope this would serve the purpose
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
got solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.