cancel
Showing results for 
Search instead for 
Did you mean: 

SAP EHS: field controls- Need to hide field based risk category

abhi1185
Product and Topic Expert
Product and Topic Expert
0 Kudos
665

Hello All,

I have this requirement SAP EHS of hiding Impacts field in case Chemical type of Risk is identified. I have added field control configuration in SPRO with custom function class. However the method of custom function class is not getting triggered when I am Identifying Risk.

App -> Identify Risk

I have added below configuration in SPECIFY FIELD CONTROL in SPRO

Business Object : EHHSS_RISK

Added a new node for IMPACTS

Created a new profile and added function class there. Function class is created using appropriate interface. But this class method EXECUTE is not getting triggered. Is there anything else we need to do after configuring field controls , or is there anything wrong with configuration.

I tried Configuring Node as ROOT and inside node as impacts . Still its not getting triggered

Accepted Solutions (0)

Answers (3)

Answers (3)

abhi1185
Product and Topic Expert
Product and Topic Expert
0 Kudos

Handled it by Extending the Fiori Application, not by configuration.

0 Kudos

Hi Abhishek,

You need to look at 2 things mainly.

1. Check if there is a "Set Properties" determination for this Node, this determination gets called to execute the field-control configuration

2. Check if the UIBB is built is linked to BO Node/FBI view, if it is built directly using the UI structure then field-control doesnt work and you need to handle it in the feeder class.

Thanks

Sagar Pilli

abhi1185
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Sagar,

I have checked at BO node level EHHSS_RISK BO, and Node impacts, set_properties is there in determination. However this identify risk is a fiori app not FPM app. If I am opening Risk assessment and other apps, debugger is stopping in SET_PROPERTIES as they are FPM applications and concept of UIBB is relevant over there.

But Identify Risk is not a FPM application, its a FIORI application, its not having any UIBBs configured. Please check the first screen.

mzahid0071
Participant
0 Kudos

Dear Abhishek,

It is still a Webdynpro component and now once you have done the backend configuration .

Go to component configuration ( by right click ) - append the structure ( from top menu ) and hide the ID ( field ) .

Thanks and regards,

M.Zahid

abhi1185
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Zahid,

Its not an FPM component , its a Fiori app, also available in Fiori App Library. As as its a fiori app, there is no component configuration for it, right click and technical help wont work here.

mzahid0071
Participant
0 Kudos

In this, connect with Fiori UI5 consultant . or Share me screen , I might help you out .

@abhi1185