What are you trying to do? FPM methods are mainly for controlling the UI. For any application-specific logic, there are different places where you can write enhancements.
You can find most enhancement scenarios in this document: Configuration and Enhancement of SAP Master Data Governance. Most probably something similar to what you are trying to do is detailed there.