cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit for Special Personnel Actions

Former Member
0 Kudos

Hello,

I would like to figure out a way to generate an email when HR does a termination action. Can you help?

Can this be done by enhancing the user exit - Please help with the steps!

Here's the - User Exit for Special Personnel Actions:

This step enables you to implement the following user exit for the Customer Enhancement for Special Personnel Actions:

EXIT_SAPLHRBAS00ACTIONS_001

Thanks!

PS

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Do I need to activate the USer exit?

Please help, will be rewarded!!

Former Member
0 Kudos

You need follow the below steps to activate the user exit.

1. Goto Transaction CMOD.

2. Create a new project or select an existing 'Z' project.

3. Click on the Enhacement tab on the application tool bar. Add "HRBAS001" as the enhancement.

4. Save it and click on the componet tab. You will see the exit EXIT_SAPLHRBAS00ACTIONS_001. Double click on this. It will take you the fuction module interface and you see the include zxhrbas00actionsu01 in it. You need to double click and add your custom code there.

5. Activate the code. Come back and active the enhancement and the project.You see the active button on the application tool bar.

Then this gets triggerd from PA40/PA30 and sends the notification as coded in the include program.

Former Member
0 Kudos

Hey Raj,

Thanks!

I would like to figure out a way to generate an email when HR does a termination action. Can you help?

Can this be done by enhancing the user exit - EXIT_SAPLHRBAS00ACTIONS_001. Please help with the steps!

Thanks!

PS

Former Member
0 Kudos

We have a custom function module developed to send email notifications on such events. Try to have a look at SO_DOCUMENT_SEND_API1. We build a wrapper on it for general notifications.

Former Member
0 Kudos

Where can I find documentation on SO_DOCUMENT_SEND_API1? I am a functional consultant, would appreciate if you could help me out!

Thanks!

PS

Former Member
0 Kudos

You may need a developer to help you on implementing this user exit. There is another user exit ZXPADU02 which gets triggered from PA40/30.

Former Member
0 Kudos

which user exit should I implement for this issue?

Former Member
0 Kudos

I know that ZXPADU02 will work. The one you found also appears to work for actions. I will try this first and go the ZXPADU02 later. You need to have the notification part working. Please verify and this should already be there in your implementation. Let me know if you run into any issues in the user exit implementation part. Please award points if this helps.