cancel
Showing results for 
Search instead for 
Did you mean: 

Mandatory fields in WC 7.0 Ehp1

Former Member
0 Kudos

Hello,

I'm working with activities and sales documents in CRM 7.0 EhP1 WebClient.

If I try to save a document without fill the mandatory fields, the system returns a error message, but even so he allows to save the document.

How can I do to unable to save the document while these fields are not filled?

Thanks,

Susana

Accepted Solutions (1)

Accepted Solutions (1)

VishnAndr
Active Contributor
0 Kudos

Hello Susana.

Try to add a new row into table SMOFPARSFA via tx. SM30. Fill this row according to following:

Key: CRMORDER

Parameter Name: NO_SAVE_MAND_FIELDS

Parameter Value: X

Former Member
0 Kudos

Hi Andrei,

Thank you very much for your help. You solved my problem.

Answers (1)

Answers (1)

joaquin_fornas
Active Contributor
0 Kudos

Hello

Usually, WebUI issues the error message and you must capture message and tell to abort the saving process.

In your case, you should check BADI CRM_ACTIVITY_H_BADI (for activities) or ORDER_SAVE BADI (for sales documents) and trigger your error message from there.

Regards

Joaquin