Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PA40

Former Member
0 Likes
514

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

3 REPLIES 3
Read only

Former Member
0 Likes
496

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

Read only

0 Likes
496

Hi santosh

I am novice to user exits could you please explain ur answer more elaborately.

Regards,

Gopi.

Read only

Former Member
0 Likes
496

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.