Adding a custom button to FPM - how to manage the custom event
I'm dealing with a simple task, that is, adding a custom button to FPM (OIF) in a standard application.
So; I found that the standard application (RFx process in SRM) uses FPM_OIF_COMPONENT with the configuration /SAPSRM/WDCC_FPM_OIF_RFQ_PR_PU.
I then used the Component Configurator on /SAPSRM/WDCC_FPM_OIF_RFQ_PR_PU , enhancing that in order to add a custom button, say FOO.
The element ID is the set to "FOO" while FPM Event ID is set to "FOO_BAR" (I have to implement this, right?).
Now, starting from the point that the button is visible thru the application but obviously, it doesn't work...Searching in SDN I found that I should write my own code into the PROCESS_EVENT of ComponentController... but which ComponentController?
As the application uses FPM_OIF_COMPONENT, it has a lot a subordered MainView, and each one of these contains a WD Component. Each one has its own ComponentController.
This makes me thinking that once I add to identify what's called "appCC" for a certain configuration. I used to do it via Configurator on a SAP SRM 700.
Is this the right direction or I'm missing something?
If I'm following the right path... there's a problem. I'm now dealing with a SAP SRM 702 and the Component Configurator layout has been modified a bit; I cannot locate the option to see what's the appCC reference for that configuration.
Could you please help me? Thanks!