I have an FPM (OVP) application with a side panel containing multiple CHIPs. My requirement is to be able to hide one of these CHIPs at runtime depending on a condition.
I have tried calling the method below in method IF_FPM_CHIP_FEEDER~CHIP_INIT of the feeder class associated with the CHIP:
io_chip_api->set_panel_visibility( exporting visible = abap_false ).
however, that command sets both the CHIP and the top bar of the side panel (which contains the X to close out the panel) to invisible, and I can't have that (the users need to be able to close the side panel).
I then tried getting an instance of the chip and assign it to a reference of if_chip_instance then calling its method set_chip_visibility, but that didn't have any effect.
data lo_instance type ref to if_chip_instance.
lo_instance ?= io_chip_api.
lo_instance->set_chip_visibility( exporting visible = abap_false ).
Has anybody had the same issue that could share a possible solution?
Thanks,
Gabriela