on 10-15-2008 10:25 AM
hi all,
i have to make an field editable, how to do it ?
while creating an opportunity when i select an prospect then after selecting i show an error message on some condition, now after displaying the message i have to make the field prospect editable.
please suggest how to do it ? ?
regards.
raman khurana
Hi,
You can make field editable by writing rv_disable= 'FALSE' in your field get_I_field name method.
Sample code:
IF your condition
IF current->is_property_readonly( 'Your Attribute' ) = abap_false.
rv_disabled = 'FALSE'.
ENDIF.
Best regards
Pankaj Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have tryed making a field editable and i was succesful in it. But i am not able to change its value,I mean after i change value manually its again showing me the same value.
For example : before the value of division was PS, not after making field editable i changed it to SM, but the value is not changed,it again becomes PS.
Will it be possible for you to suggest something on this. It will be a great help by u all.
Thanks,
SA
Hi,
I went through your problem. Instead of making the field editabel in the context code i suggest you to debug and see that the respective table have that feild maintained in it in t-code sm30.
In SM30 give the table or view name and click on find maintenance dialog and select the view accordingly. and thn check if the values are maintained there.
If not add it and see.
Hope it helps
Thanks
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.