Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 1726

How to get the FPM Events in WDDOBEFOREACTION method?

$
0
0

Hi Experts,

 

I have a custom WD popup screen for Veteran status, which is called from a FPM page in HCM ESS. The popup is having FPM OK and CANCEL buttons. I need to validate some fields and have to show an error popup message, if the user clicks the 'OK' button. I have to do this in the WDDOBEFOREACTION method of the webdynpro view. So i need to know whether the user has selected 'OK' and not 'Cancel'.

 

I know the event will be available in PROCESS_EVENT method of Component Controller, but it is triggered after the WDDOBEFOREACTION method of the view. I tried writing the code in WDDOAFTERACTION and WDDOMODIFYVIEW(since it is triggered after PROCESS_EVENT) based on the FPM 'OK' event, and it is showing the error popup. But when user clicks OK button in error message popup, it will be navigated to the initial screen(the screen from where the user called the Veteran status popup). I want to make sure that the user has maintained some fields, before leaving the Veteran popup. 

 

Please tell me how we can read the  FPM Events in WDDOBEFOREACTION method? Or is there any alternate solution for my scenario?

 

Regards,

Johan


Viewing all articles
Browse latest Browse all 1726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>