How do you tell Workflow to send an email to the initiator’s manager?

10 pts.
Tags:
Email
SAP portal
SAP Workflow
Workflow
I'm trying to create a workflow that will send an email to an employee's manager when that employee creates an expense report through the Portal. I've got the workflow set up and it currently sends to me when an expense report is created. So that part isn't really an issue. The issue is how do I tell the workflow to send to the employee's manager? I'm not familiar with HR and don't know how to tell it to use the organizational structure to get the manager. HELP!?

Answer Wiki

Thanks. We'll let you know when a new response is added.

You need to use t-code PPOME where you can mainatin org unit structure. In Workflow you can create a rule to read the org unit structure.

Please use RH_STRUC_GET function module and ID MAN_O to read manager.

Pass this data to ACTOR_TAB structure.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: