2007 Oct 03 5:59 AM
Hello Friends ,
In PA40 we are performing various actions.Whenever we perform certain action it has been set such that mails are generated programitically and sent to the desired mailids. In only action (leaving) its generating mails but for other actions its not generating any mails. I am not able to understand how the program is triggerd when the actions are performed and wats the entire procedure to generate the mails when the desired actions are performed.
Useful Points Rewarded
Regards,
Gopi
Hello Friends ,
In PA40 we are performing various actions.Whenever we perform certain action it has been set such that mails are generated programitically and sent to the desired mailids. In only action (leaving) its generating mails but for other actions its not generating any mails. I am not able to understand how the program is triggerd when the actions are performed and wats the entire procedure to generate the mails when the desired actions are performed.
Useful Points Rewarded
Regards,
Gopi
2007 Oct 03 6:02 AM
Hi gopi,
the user exit - PBAS0001 is used for to code the for mails ,,, depending on the action that is carried out.
regards,
Santosh Thorat
2007 Oct 03 6:23 AM
Hi santosh
I am novice to user exits could you please explain ur answer more elaborately.
Regards,
Gopi.
2007 Oct 03 7:14 AM
Hi Gopi,
Goto Transaction code <b>SMOD</b>
And enter <b>PBAS0001</b> for enhancement and say <b>display</b>
Then click <b>Components</b> on application toolbar
Then double click the function module <b>EXIT_SAPFP50M_002</b>
After having clicked you can see include <b>ZXPADU02</b>
Double click the include and write your code there.
You have to concentrate on import and export parameters of the function module
EXIT_SAPFP50M_002.