cancel
Showing results for 
Search instead for 
Did you mean: 

Employee Timesheet - Send Notifications as E-Mail

babicblax
Explorer
0 Kudos

Hi SAP Community

My customer has the SAP MyTimesheet App on S/4 HANA. They have the requirement or would like to implement the function that the user receives a notification e-mail if his times are rejected by the project manager. Currently there is only a notification that is displayed on the portal. Is that possible and can anyone give me a rough idea of how this can be implemented? Is there any documentation or instructions in this regard?

Best regards,

Blazenko

View Entire Topic
former_member370623
Active Participant

Hi Blazenko ,

where are you approving / rejecting timesheet if in My Inbox App you can implement your logic in

/iwwrk/badi_wf_before_upd_ib badi for its workitem.

babicblax
Explorer
0 Kudos

Hi Ibrahim

Thank you for your fast response! The times are approved/rejected in MyInbox App by the project manager. Do you have an example or do you know a documentation/tutorial/walkthrough where I can go through in order to implement the mail notification service?

Best regards,

Blazenko

former_member370623
Active Participant
0 Kudos

Balzenko,

if its approved in My Inbox they made an implemenatation /iwwrk/badi_wf_before_upd_ib badi.check .

go to se18 -> badi -> /iwwrk/badi_wf_before_upd_ib badi.check-> implementation -> and you will see on the right ehancenment implementations for approval scenarios. find your enhancement for timesheet and go to enhancement and in /IWWRK/IF_WF_WI_BEFORE_UPD_IB~BEFORE_UPDATE method you can write your mail. according to decision key