cancel
Showing results for 
Search instead for 
Did you mean: 

Show/Hide elements in the FPM Overview page

Former Member
0 Kudos

Hi All,

I am Isaac and I am new to FPM.

We have a requirement where we will be hiding all the create elements (Spouse, child, stepchild, emergency contact, etc) in the family member page. see screenshot

Are there any ways that we can control these in the feeder class CL_HRESS_PER_OVERVIEW instead of hiding the element through right click hide button?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

J_R
Employee
Employee
0 Kudos

Hi Isaac,

the buttons that you have shown in your screenshots are presumably configured in an FPM OVP application. In the corresponding OVP component configuration you can check whether the button properties 'visible' and 'enabled' are controlled either by

a) the OVP itself, or

b) the feeder class of a UIBB

Case a) is true if there is no 'Component' maintained for the button in the OVP component configuration. In this case, you can change the visibility of the buttons by using the appropriate methods of the OVP runtime API IF_FPM_CNR_OVP or IF_FPM_OVP (the latter requires the implementation of an Application Configuration Controller (AppCC)).

Case b) is true if there is a 'Component' (and probably also 'Configuration ID' and 'Interface View') maintained for the buttons in the OVP component configuration. Then, the UIBB that corresponds to these attributes controls the button properties. You can then control the button properties in your UIBB feeder class, normally in method GET_DATA. There, a variable CT_ACTION_USAGE is passed to your feeder, containing all exposed feeder actions with their properties, including the visibility. If you change action properties in this feeder method, you have to set the exporting parameter EV_FIELD_USAGE_CHANGED of this feeder method to 'X'.

Answers (0)