cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make a field not modifiable?

elio
Explorer
0 Kudos

Hello experts!

Create a new field

Custom field for campaigns, it is a check box.

The field may not be modifiable once the campaign is activated

BR

Elio

View Entire Topic
isathore
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Elio,

BAdI CUAN_FC_EXTFIELD_CAMPAIGN_UI can be used to control some of the fields property but it is not depending on the state of the campaigns. To achieve what you want, being able to edit the field based on a context, you need to use the BAdI Check Attributes of Campaign Header CUAN_CAMPAIGN_CHECK where you canimplement custom checks before a campaign is saved and specify a corresponding error message to be shown to the user when a save is prevented. This is the only way to control the editability based on context. Otherwise, if it is always set, you use BAdI CUAN_FC_EXTFIELD_CAMPAIGN_UI.

Best Regards

Isabelle