cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow for approval Plant/Company code wise

former_member443415
Participant
0 Kudos

Dear Gurus,

I am new to work-flow I want to change my work-flow according to company/plant wise .

Right now we have made a workflow with two release levels one for purchase and second for Finance.

We have got two companies under one client and same controlling area. But both companies have different company codes.

When Po is sent for approval the alert mail is given in SAP-inbox of approving authorities according to category like Spare,Raw material etc.

But due to same workflow the mail goes to both companies authorized persons so what happens person from one company is giving approvals for another company. So we want to sent mails to SAP inbox according to their company codes or if this is not possible than plant wise.

Thanks in advance

Himanshu

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185167
Active Contributor
0 Kudos

Hello,

If you mean mails then you just have to change whatever method is being used for finding the recipients so that it takes company code into account. Same if you mean workitems, but then it's agent assignment that needs to be fixed.

regards

Rick Bakker

hanabi technology

former_member443415
Participant
0 Kudos

Sir,

Thanks for the reply but can you please elaborate about the method to restrict user mails company code wise.

Thanks

Himanshu

raviahuja
Contributor
0 Kudos

Hi,

What Rick means that, whatever method you are using to find position to send email (May be a rule or a method or an FM), make sure it takes into account for Company code so correct position of correct organization is picked up.

Thanks.

Ravi

former_member443415
Participant
0 Kudos

Sir,

I have tried to find it out in SWDD where recipient is decided but cant find to locate company code so can you please eloborate actually where that company or plant code can be given..

Thanks for support...

Former Member
0 Kudos

Hi,

As a simple solution , i would suggest you implementation of this exit..... M06E0005....

Regards

Gautam

Former Member
0 Kudos

Hi,

As per requirement i think your workflow is working fine in particular plant, if yes means in your workflow container is there any company code is available please confirm the company code in workflow container

if company code is available means then you all just want to do is you need to bind the company code to your business rules and your open sql query should be based on company code also, then your agent assignment will automatically work for different plant.

Hope this helps,

Srinivasan.R