Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Processing a SAVE event in CL_HRESS_PER_DETAIL

$
0
0

Hi All,

 

Great source of knowledge on here, but was wondering if someone could please help me since I'm fairly new to FPM.   We're implementing ESS/MSS  FPM EHP5.  Currently got a requirement to send an email to an individual when they change their bank details.  Now I can get this to action by creating a post exit on the method IF_FPM_GUIBB_FORM~PROCESS_EVENT as below...

bank.jpg

Screenshot - 19_11_2013 , 15_20_45.jpg

237.jpg

 

The code contained looks for a SAVE event then triggers a bespoke function module which sends the user an email.  All good so far...

 

The only problem is when there is an error with data, the email is still sent because it appears that the validation and save process is triggered after the PROCESS_EVENT event.

 

Was wondering if you guys could please assist me in the best way of getting this exit to trigger after the save, so that when an error occurs no email is sent.  I've read that it is possible to trigger a save within the feeder class, but not entirely sure how or whether this would be good practice.

 

Anyone got a solution, please.


Viewing all articles
Browse latest Browse all 3667

Trending Articles



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