on 02-08-2012 2:59 PM
Hi Experts,
In SRM7 we have one OIF FPM event, on click of which a popup will appear.I have created the popup on click of that event.
But when click the 'SUBMIT' button, the event is getting triggered after that the popup is coming.
I want that event to be triggered from 'YES' button of the popup.
Any idea will be helpful.
With Regards,
Subhasis
Hi,
Yes there is a way to achieve this.
U must use method 'Needs Confirmation' that u will find in your component controller after implementing "IF_FPM_UI)BUILDING_BLOCK'.
In this method u can display any confirmation text you want.
Only if the user presses 'Yes' on that popup, the processing goes further else the event is not processed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to go through this tutorial, Might be helpfull.
link : http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/706e7dcf-b5a4-2e10-7185-8cfbb1b99901
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are inside a method of the FPM and want to alter the further flow of the method by an action set in the popup you are calling, this is not going to work. When using server side eventing, the phase model will make a complete roundtrip of the method, then render the popup, then user action is taken. The server sided event will not halt and wait for user interactions here.
Example:
What you think happens:
FPM method start.
--> <code>
--><popup>
--><code which execution depends on what was done in the popup>
FMP method end.
What happens in runtime:
FPM method start.
--> <code>
--> <popup is prepared for rendering>
--> <code which execution depends on what was done in the popup is executed with initial dependencies since the popup isn't even rendered yet.
FPM method end.
Server roundtrip.
Popup is rendered.
User takes action in the popup.
--> What you wanted to impact is long since over
Cheers, Lukas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.