on 09-19-2013 4:30 AM
Hi Friends
In my requirement I got one change that based on one condition a specific field needs to be read only or write protected. I am new to webdynpro.Can any one help me?
Thanks
Gopal
Hi.
1) just declare one attribute field1 type as WDY_BOOLEAN.
2 Bind the field1 in readonly place in the input field.
3)in the on action write the set_attribute .
lv_read = 'abap_true'.
lo_el_context->set_attribute(
name = `field1`
value = lv_read ).
try this ..
regards
jayaprakash T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
suppose ur column name is A,
create another atribute in your ALV node as A_READ_ONLY
now, when u are creating your ALV,
mention A_READ_ONLY as read only field name as
lr_text_box->set_read_only_fieldname( 'A_READ_ONLY' ).
set attribute A_READ_ONLY as 'X' if u want it as read only,blank if u want it as editable and bind your data table to ALV node
Hi,
Check this document. This might helps u., http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71...
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.