Skip to Content
avatar image
Former Member

how to make an field editable ?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 15, 2008 at 12:39 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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