cancel
Showing results for 
Search instead for 
Did you mean: 

Standard configuration for graying out fields in UI is not reflecting

0 Kudos

Hi ,

We have a requirement of graying out fields in UI. We have used process change request and set the fields to not relevant for the required CR type.

But it is not reflected in UI. I have also used BADI . Still the same issue persist.

Can anyone help on this ?

Regards,

Divyapriya . P

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Divyapriya,

Try setting "Field Properties" as "Standard" only both at "Entity Types per Change Request Step" and "Attributes per Change Request Step" for your Change Request Step at config level.

After that, please try implementing the BADI USMD_ACC_FLD_PROP_CUST_DEP_SET

and use MODIFY_FLD_PROP_ATTR to set out the attributes as Read only.

benjamin_allsopp
Active Participant
0 Kudos

Have you tried enhancing the relevant feeder class under the get_data method?

This is how we are controlling our UI.

Alos please note that if the field is in a feeder list then the get_definition method will also need to be enhanced to take effect.

former_member196830
Active Participant
0 Kudos

I also control that in class CL_USMD_ENTITY_VALUE2_PROXY and its method IF_FPM_GUIBB_FORM~GET_DATA as an enhancement.

Hope that helps...