cancel
Showing results for 
Search instead for 
Did you mean: 

Approve/Reject Working Time through the Enterprise Portal Workflow

former_member443899
Participant
0 Kudos

Hey Everyone,

We are currently working on a project to rollout a number new portal services. I was wondering if anyone in ECC or Portal has experience with enhancing the Time Entry Approval process. Is it possible to trigger an email notification when a manager rejects an employees time for any of the configured reasons. I would like an email back to the email to let them know they should change their hours or that their overtime was rejected. I have been spoiled by the deeper config options available for Leave Request.

In the standard workflow task the Item does turn red when rejected, but if employees aren't reviewing their entries they may never know it was rejected before they check their pay stubs.

I would be pretty surprised if the BADI or workflow task would be unable to know there was a rejection because it clearly asks you for a rejection reason and changes the colour of the request in the Record Working Time screen.

Thank you in advance,

Doug

Accepted Solutions (0)

Answers (1)

Answers (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

The IMG configuration for the web

dynpro-based Approve Working Time is

configured to generate a rejection

message in configuration.

SPRO > Cross-Application Components >

Time Sheet > Settings for All User

Interfaces > Approval Procedure >

Approve Working Times > Define Profiles

and Assign to Views > 'Rejection'

checkbox field

(V_CATS_APPR_CUST-SEND_MAIl) is active

Send Notification of Rejection

Definition

Determines that the system sends a notification of rejection if you withhold approval for a data record.

Use

The system sends the notification of rejection to the user who created the record. The user receives the notification of rejection in his or her office inbox. The user can execute the notification of rejection to access the time sheet, where he or she can postprocess the records.

check the SBWP for the user!

The Times which are rejected are shown as red in CALENDAR for the ess user!

check BADI_CATS_APPROVAL too?

3) Free text of rejection reason is available only with Transaction

CATS_APPR_LITE.

With Transaction CATS_APPR_LITE

> Possibility to fill up free text.

> Possibility to send Notification mail.

With application MSScatapproval~CatManagerApprove :

> No possibility to fill up free text.

> Notification mail is sent to backend inbox. But it is not visible

in UWL.

former_member443899
Participant
0 Kudos

I should have noticed that check box wasn't turned on. Corrected that. Now just waiting on security to test if the user is getting the notifications. Then we will look at sending an email instead of internal message because users won't have access to the SAP Office Inbox.

Thanks this is a good start for sure.

Doug

former_member443899
Participant
0 Kudos

Sid,

We were able to trigger record and release working time that triggered the workflow. Once the manager rejects the request(s) they receive an email in the SAP Office Inbox. The next question is how can we now get this to 1) email the employee based on their IT0105 record 2) format the email. From what we can see there doesn't seem to be a lot of config options available.

Any input you have would be appreciated. I've continued my GOOGLE searching, but nothing has come up other than this post.

[http://sap.ittoolbox.com/groups/technical-functional/sap-hr/cats-rejection-mail-text-2403921|http://sap.ittoolbox.com/groups/technical-functional/sap-hr/cats-rejection-mail-text-2403921]

Thanks,

Doug

siddharthrajora
Product and Topic Expert
0 Kudos

RCATS_APPROVE_ACTIVITIES (Transaction: CATS_APPR_LITE).

With Transaction CATS_APPR_LITE

> Possibility to fill up free text.

> Possibility to send Notification mail.

With MSS approval in portal, you can send notification to their sap inbox only , there is no other possibilty except to use

cats_appr_lite as a transactional iview

or enhance the badi as above, but not sure this can done with badi.

former_member443899
Participant
0 Kudos

Siddharth,

Oh ok I misunderstood that section in your last email. So if I want to use the approval screen either no rejection reasons can be sent or they must go to SBWP (SAP Office). However, if we use CATS_APPR_LITE through a transaction Iview they can generate the email, but its not pretty or ideal.

I assume this isn't improved in newer enhancement packs at all?

Thanks again,

Doug

former_member443899
Participant
0 Kudos

We are also looking at 2 additional options. 1) Using a custom task that has a custom step at the end of the workflow that will hopefully trigger the email or 2) Show the notification (SAP Office) information through the portal.

If anyone knows of other options let me know.

Doug

siddharthrajora
Product and Topic Expert
0 Kudos

We have POWL in MSS in EHP5, with newer functionality in that this is possible to have mails in POWL

You need to modify the Tasks to do so, it should be doable.

check RSWUWFML and RSWUWFML2.

if you want SAP office mails in UWL, you need to use add on called SONIC connector

http://help.sap.com/saphelp_nw73/helpdata/en/0b/fbcf8a4e7c4839b31ce5ddbd

293f61/content.htm

https://www.sdn.sap.com/irj/scn/wiki?path=/display/BPX/UWL+FAQ

Standard SAP version of SOMProviderConnect for 7.02 provides items from

SAP Office Mail. However, they are displayed in the SAPOfficeMailView.

There is a separate tab in standard UWL view, labeled "SAP Office

Mails".

The SAPOfficeMailView is defined in the standard UWL configuration

Edited by: Siddharth Rajora on Nov 30, 2011 9:02 PM

former_member443899
Participant
0 Kudos

Sid,

I believe we are or have looked into RSWUWFML2, but I will confirm.

After trying a number of different options we are currently looking at using the Rejection check-box and determine if BASIS can redirect the messages to the employee's IT0105 subtype 0010 email address.

Here are some of the notes we have looked at.

http://forums.sdn.sap.com/thread.jspa?threadID=1725144 (Email Forwarding)

http://forums.sdn.sap.com/thread.jspa?threadID=1397351 (SO16 Forwarding)

http://forums.sdn.sap.com/thread.jspa?threadID=2084622 (SO16 Forwarding)

http://forums.sdn.sap.com/thread.jspa?threadID=1947223 (SO16 Forwarding)

http://forums.sdn.sap.com/thread.jspa?threadID=1686788 (SO16 Forwarding)

http://forums.sdn.sap.com/thread.jspa?threadID=2093332 (Rejection to External Email - opened by our team)

http://help.sap.com/saphelp_nw70/helpdata/en/6c/69c30f418d11d1896e0000e8322d00/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/2b/d926324b8a11d1894c0000e8323c4f/frameset.htm

Our Version: EP 7 EHP 3

I wish Record Working Time had similar config to Leave Request. If you have additional input please let me know.

Doug

Edited by: Doug Robbins on Dec 7, 2011 5:30 PM

siddharthrajora
Product and Topic Expert
0 Kudos

unfortunately it doesnt work Like Leave request.

But you can use sonic connector as i indicated.

mails will be available in his SBWP

former_member443899
Participant
0 Kudos

Sid,

And we do have the SAP Office notifications working. So now we are looking at either having Basis forward these messages if they can or open up the notification view in the UWL for employees.

Doug

siddharthrajora
Product and Topic Expert
0 Kudos

for open up the notification view in the UWL for employees.

use SONIC!

former_member443899
Participant
0 Kudos

Hi Everyone,

We were able to copy the standard workflow task and modify it to send the email notifications as needed. So we did not use the check box that enabled standard rejection emails.

Thank you to everyone that responded.

Doug

Note.. any one wondering what sonic is you can do a google search but this may help.

http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/8525afd0-0d01-0010-aaa0-ac6b9e3a2907

Edited by: Doug Robbins on Feb 23, 2012 1:51 PM