cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PR Workflow with Position Id

former_member225044
Active Participant
0 Likes
4,881

Hi,

We have Release Procedure for US, Austrelia and UK

Created Three Release groups and Release code with Workflow sign.  Now i want configure Release for PR and PO,

When  US created PO for Value <500$ then Release group E1 Strategy R1(for Value <500) and release code "01" triggers

When  US created PO for Value <500$ then Release group E1 Strategy R2(for Value >500) and release code "01" and "02"triggers.

In work flow i cant enter one Regional Manger name in Workflow configuration , We have 5 Regional Managers are their out of these anyone approved the fine and it goes not next approve and their also same we have more than one Div Managers like this Aus and UK too same issue.

If suppose we enter One Regional Manager and one Divisional Manger name or Id in Workflow above config then the that guy only get " Workflow Task" at his inbox. How to configure this situation.? in SAP

2) If in this situation how to use PPOME t code configuration and how to link with Release codes in Workflow

BR,

sapman man

Accepted Solutions (1)

Accepted Solutions (1)

I042439
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi

If you are using the standard workflow WS20000077 for the PR Approval, it calls task TS20000159 for the approval process.

1) Set this task to general -> PFTC -> enter type as 'TS' and the number 20000159 -> Display ->menu Additional Data -> maintain -> Select the task ->click attributes and set to General ...... now all agents are "Possible Agents" (so that in future if the users assigned to the managers' positions change, you do not have to change the agent assignment in this step)

2) Now set your "Responsible Agents" (Actual agents will be the intersection of the Possible agents from above and the Responsible Agents which you set now..... this is how:

  • There is a default rule for this task AC20000026 which calls FM ME_REL_GET_RESPONSIBLE to get the agents (Positions in your case) set in the Config . This is where the positions which you set in the config are fetched and set as agents.

  • It also calls an enhancement to get agents based on complex calculations - It calls FM EXIT_SAPLEBNF_001 of enhancement M06B0001. We have the Entire PR data from EBAN and the Release code as input parameters to this FM. So we have erything to determine your actual Positions. Refer FM ME_REL_GET_RESPONSIBLE to populate the ACTOR_TAB in EXIT_SAPLEBNF_001

For the emails:

  • use an email step, send the email to Org Object and pass a container variable of table type  TSWHACTOR (table of OTYPE  and OBJID (Positions can be passed here). You can pass multiple postions
  • Workflow will determine the Users assigned to the positions (auto determination) and send the email to SBWP (notifications).
  • If you want the email to go out, say outlook, then maintain the email IDs of the users in User Master (SU01), set the communication Method as INT .....
  • OR maintain the Communication Infotype in HR Master (username + Email).
  • Then Go to SO16-> Tab MaliSys Grp and select "Send to user's home address" and referesh the buffer (in the Addressing tab).
  • Keep the workflow mail step the same - workflow will pickup the users the from positions and then SO16 settings will let the WF know to send the email to the maintained email ID in User/HR Master
  • Note that this is a system wide settings + has to be dine for all systems individually + Buffer has to be refresh each time you change / add the email address to the User Master/HR Master

Regards,

Modak

Message was edited by: Modak Gupta

Answers (4)

Answers (4)

former_member225044
Active Participant
0 Likes

Hello,
Now want assign Release group and Release code to HR Orgnizations where we ceated Positions in that Users. How to assigne that?

If How to assign Release group and Release code to Positions Tcode PPOCW for PR Workflow and how it works.

How these Positions would know these standard workflow WS20000077 for the PR Approval, it calls task TS20000159.

Thanks

sapman man

Former Member
0 Likes

Hi,

Q. Now want assign Release group and Release code to HR Organizations where we created Positions in that Users. How to assign that?


A : You do it via IMG->Purchasing->Purchase Order->Release Procedure for Purchase Order->Define Release Procedure for Purchase Orders and then select "Workflow" link.



Q. If How to assign Release group and Release code to Positions Tcode PPOCW for PR Workflow and how it works.


A. Explained as above and  the Standard Workflow do a look up on this table and get the information.


Q. How these Positions would know these standard workflow WS20000077 for the PR Approval, it calls task TS20000159.


A. Why do positions (Guessing you meant the users ) need to know what workflow template and task is being closed. As long it works who cares 🙂


R

former_member225044
Active Participant
0 Likes

Hello.

Org Position we will create in PPOME (SAP HR) and all Managers assigned here. But how to link these with SAP PR workflow and how to send Workflow mail to particular email Id through Outlook or SBWP?

Thanks

sapman man

anjan_paul
Active Contributor
0 Likes

hI,

  So you try to create one position in organisational level, where you assign all  managers. And use  that position in the configuration in the   screenshot you attached

former_member225044
Active Participant
0 Likes

Hello.

Org Position we will create in PPOME (SAP HR) and all Managers assigned here. But how to link these with SAP PR workflow and how to send Workflow mail to particular email Id through Outlook or SBWP?

Thanks

sapman man

anjan_paul
Active Contributor
0 Likes

Hi,

  Is there any problem to maintain directly the Organisation Position in the screenshot you shared 'Assignment of Roles  to Release'       ?

former_member225044
Active Participant
0 Likes

Hello,

Is their any solution related to PPOME, and how to configure workflow for PR workflow even if Managers are more, How to create Positions and how to assign that