cancel
Showing results for 
Search instead for 
Did you mean: 

SAP EHS Field Control - Person Group

gcounsell
Explorer
0 Kudos
552

Hello,

we currently have a requirement that reports on incidents by 'Person Group' within the people tab on an incident, therefore we would like to make this a mandatory field.

I have tried the following in field control but the field still isn't mandatory

Any help would be much appreciated.

Thanks

Gerard

Accepted Solutions (1)

Accepted Solutions (1)

scott_barber
Explorer
0 Kudos

Hi Gerard,

You can't repurpose the standard IS_COMPANY_IND Profile for this purpose. That Profile has a very specific use use. If you look at the Profile details, you will see that the Function Class is CL_EHFND_CHK_CHILD _FILED is used. This Profile rule is being enforced based on the "child" Node of PERSON_INVOLVED which is PERSON_DETIAL and only when the IS_COMPANY_IND field = X. It's is best practice to create a new Profile when you want to introduce a new Field Control rule. And most importantly, you need to know which Function Class to assignperson-group-fc.jpg. In this case use CL_EHFND_ALWAYS_TRUE_FUNC. It is common for a field to exist in multiple Profiles and there are parameters such as the Merge Strategy field to help the system know which Profile to enforce if there are conflicting rules in different Profiles. See the example Field Control Profile attached.

gcounsell
Explorer
0 Kudos

Hi Scott, apologies for the late reply. Thanks for your suggestion, I will take a look and let you know how I get on.

Thanks,

Gerard

gcounsell
Explorer
0 Kudos

Hi Scott, just configured what you suggested and its now a mandatory field.

thanks for you help!

Gerard

Answers (0)