Skip to Content
0
Jul 01, 2009 at 09:31 AM

Grey Out a Field only when Creating a New Campaign

31 Views

Hi ,

I Have a requirement to Grey out the Language Field when Creating a new Campaign.

The same field should be in editable mode when we go and edit an existing Campaign.

Method GET_I_LANGU.

 if parent_entity->is_changeable( ) = abap_true.
    rv_disabled = 'FALSE'.
  else.
    rv_disabled = 'TRUE'.
  endif.

endmethod.

I tried changing the rv_disabled = 'TRUE'.

But it will grey out the field even when editing an existing Campaign also.

Any Suggestions.

Regards,

sijo