on 10-27-2015 6:56 AM
Automatic Mail to Be triggered
Hello Experts,
Please help me!!
Scenario: Employee Joined on 01.01.2015
6 months’ Probation period, so IT-0019 is been set accordingly
Reminder date is set to 10 days prior to completion of probation period
10 days before completing probation period(reminder date), automatically mail has to be triggered to manager, reminding for the completion of probation period.
Please advise the best solutions for the same.
Regards,
Dhiren
Hi Dhiren,
Write one report program, for the same...
Steps :-
1. Select all the records from pa0019 where remider date eq sy-datum
2.Loop the selected records , and pass it to the mail sending FM ( Send email from ABAP with class CL_BCS - Code Gallery - SCN Wiki or using fm SO_NEW_DOCUMENT_ATT_SEND_API1)
3.Put that report program as background job , everyday by morning 3 A.M
So for daily basis it will read the reminder date from pa0019, by sy-datum
Sure it will work
Thanks,
Vijay SR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhiren,
use the FM's
RH_GET_LEADING_POSITION
RH_STRUC_GET
for get managers for the employees, then pass the employee manager number to Infotype 0185 subty 0010 for get email id for the manager
or
Ask you Functional consultant how to find supervisor for the employee . from hrp1001 tbale, they will guide you, write a simple selecty query for the same
For getting Mail id , pass the employee number to IT0185 , and corresponding Email subtype, you will get
Thanks,
Vijay SR
This issue is resolved,
Opted for ABAP Development
Thanks for support friends
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check S_PH0_48000450 - Date Monitoring (under HR-> Pers.Mgt-> Admin-> InfoSystem-> Reports-> Employee). Though it says date monitoring, it is described as Task monitoring. The output can be sent to the employee's manager.
Alternatively, you can copy the related program as a Z- pgm and modify as required. It is also possible to use ABAP Enhancement to modify a SAP standard program.
Custom development should be resorted to only when you can not use nor adopt existing programs.
Hi Dhiren,
I also got the same object,
could you please upload some sample code for the same.
(Notification mail trigger before 15 days for probation period.)
Thanks,
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhiren Chheda,
Did you got the Employees Manager by above said....
????
Thanks,
Vijay SR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhiren
Please see the following links:
Regards,
Shirin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.