cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Workflows for a Corporation with Different Company Codes

Former Member
0 Kudos

Hi,

We have just done a roll-out for Company A which is part of a big corporation (group of companies).

The system version implemented is ECC 6.0 with modules (HR,MM,FI,DBM)

I have implemented and rolled out several workflows (Leave,PR,PO, Payment approval)for Company A and am now expected to do the same workflows for Company B,the business processes as per flowcharts remain the same as for Company A.

Company A uses company code 1000, while company B will use company code 2000.

Users in Company B will log in to the same PRD servers.

Some approvers of workflow in company A will be responsible for some workflow approvals for staff in company B though HR have completed implementing an org structure for company B.

Is it possible to use the same workflow templates by saving them in a different name and change the agents to reflect company B org,if so how do I go about it?

In future we will also roll-out to Company C.

What is the best way to do it and save time as well.

Thank you.

Missa

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

>s it possible to use the same workflow templates by saving them in a different name and change the agents to reflect company B org,if so how do I go about it?

Try to avoid this. Really.

You don't want to have WF template for every company code. This will increase the work for future development and will cause you problems. WF reporting might get difficult or at least require more work, etc.

I would look to the agent assignment part of the workflow, and try to modify it that it can work in all scenarios (for all companies).

In other words: Make a new agent assignment logic for the existing workflow (or copy the workflow to a new version and then start using it for all companies). In any case you need to do something new for the agent assignment part, so why not to do it by adding the additional logic to the existing solution. If you tell more details about how your agent assignment works in company code A and how you want it to work with B, I am sure that someone here will tell you how to do it.

Regards,

Karri

Answers (1)

Answers (1)

bpawanchand
Active Contributor
0 Kudos

Hi

Consider a scenario like EMPB who belongs to CMP B has applied a leave and EMPA manager of EMPB who belongs to CMP A,

Now in order to send the leave request for approval to EMPA you can define or create a rule from PFAC transaction. in such a way that

1. First try to get the initiator details like his personnel number.

2. Once you have the Employee number , by using it you can read hi Org Assignment details from PA0001 to get employee sepecifc compnay code.

3. BAsed on the employee group and sub group you might have to decide who is manager I hope this would be defined already in the org structure.

4. Once you know who is the manager , get his position details and from it get holder and his communications info from PA0105.

IN this way if you define a rule by calling a function module. You can make use of the same workflow. but based on the initiator details you need to dort out the manager.

The simple way is to define and impement the Rules dynamically to fetch the agents based on the Personel are/sub are and employee group and sub group.

Regards

Pavan