cancel
Showing results for 
Search instead for 
Did you mean: 

Make description field mandatory

Former Member
0 Kudos

Hello

I'm trying to change the field "DESCRIPTION" to mandatory.

In SAP ERP we have screen configuration that we can determine for each field whether it mandatory (error on save).

how can I do that on CRM?

Regards,

Yaki Katz

Accepted Solutions (0)

Answers (3)

Answers (3)

Manish31s
Explorer
0 Kudos

I think as per the standard SAP behavior, collection of error log don't prevent order from being saved. I think for that purpose BADI ORDER_SAVE needs to be implemented with the custom logic to check the description which if not populated - do not save the order.

Hope this help!

Former Member
0 Kudos

Go to Configuration tab, select the "Description" field and click on Show Field Properties and tick the Check box Mandatory. save the configurations.

Former Member
0 Kudos

Hello

I already changed the field "description" to mandatory. however, the error don't prevent the saving.

my question whether there id way to prevent saving, other then development on the "Save" button.

Yaki

VishnAndr
Active Contributor
0 Kudos

What object are you talking about? Where is this 'Description' field?

If it's in a business transaction then default behavior of CRM is: do not prevent saving even with errors. There is a customizing to change this behavior to prevent saving if there are any errors (for instance, mandatory field is not filled).

Former Member
0 Kudos

Hello Andrei

This is exactly what I'm looking for, where i can customize this error?

Thx

Yaki

VishnAndr
Active Contributor
0 Kudos

Table SMOFPARSFA (access it in tx. sm30).

parsfakey = CRMORDER

parname = NO_SAVE_MAND_FIELDS

parval1 = X

Refer note [1353553 - Opportunity: Behavior of mandatory fields in Web UI|https://service.sap.com/sap/support/notes/1353553]

VishnAndr
Active Contributor
0 Kudos

Hello Yaki Katz

You can use configuration of webui to make a field mandatory.