Skip to Content
avatar image
Former Member

Show/Hide elements in the FPM Overview page

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! 😀

family members.jpg (13.7 kB)
hide spouse.jpg (13.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 14, 2016 at 04:49 PM

    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'.

    Add comment
    10|10000 characters needed characters exceeded