Hi gurus,
a "simple" requirement: I have to open a confirmation popup ("Are you sure?" with yes/no buttons) on some FPM buttons for a standard application (view/edit of an RFx).
I've seen that FPM Dialog Boxes are often suggested as solution that meets my desiderata, but I have some doubts.
First of all: following this tutorial:
http://scn.sap.com/docs/DOC-2322
I created an enhancement over the proper configuration for FPM_OIF_COMPONENT, in which i created a Dialog Box referring to a custom (and empty, for now) WD Component.
The problem is: how to associate this Dialog box to existing, standard FPM buttons?
In the tutorial a custom button has been created and an FPM Event ID called "FPM_OPEN_DIALOG" has been set for this button; as parameter, an entry with:
Parameter name: DIALOG_BOX_ID
value: <mycustomDialogBoxID>
has been created.
The problem is that each standard FPM button has its own FPM Event ID, so the first question is: should I override that event with FPM_OPEN_DIALOG?
And then, how can the Dialog Box know what's the correct FPM Event ID that should be triggered by the pressure of the OK button?
Could anyone suggest me the best approach to this task? I'm kinda confused, I guess there should be a kind of parameter's passing system, probably my custom WD Component which is used as UIBB for the popup has to implement a specific interface.
Any help will be appreciated, thanks