cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to make Custom fields mandatory in S4 Hana Cloud?

anishaikyam
Member
2,842

Hi All,

Good Day!


We have created multiple Custom Fields in the Sales order header level, my Client wants to enable some of the custom fields as mandatory. So we tried to make custom fields mandatory but we weren't able to find the BADI for making custom fields mandatory. Is there any way to make custom fields mandatory?

Thanks in Advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

2233667
Explorer
0 Kudos

Hi,

When you create the custom fields on Sales order header screen, from Tcode 'SE41' , you can change the properties, there you can make the required custom fields as mandatory.

Fancy_Zou
Product and Topic Expert
Product and Topic Expert
0 Kudos
It is a case of Public CLoud, TCode is not accessible.
Suryaprakash13
Active Participant
0 Kudos

Hi anishaikyam,

In the "Custom Logic" app, under the Sales: Sales Document - Business Context we can see the BADI "SD_SLS_FIELDPROP_HEAD - Custom Field Properties in Sales Document Headers" which can be used to changing the Field Parameters can be used to control whether a field is Read-Only, mandatory or Invisible.

Check the above documentation for the above BADI to get more info.

Thanks and Regards,

Suryaprakash.

Fancy_Zou
Product and Topic Expert
Product and Topic Expert
0 Kudos
It does not take effect on the Fiori APP.