cancel
Showing results for 
Search instead for 
Did you mean: 

Auto approval of SC for manager

Former Member
0 Kudos

Hello Friends,

We are on SRM 5.0SP9.

Technical scenario CLASSIC and business scenario is

Self service procurement.

Business requirement is that:

when the employee creates shopping cart it should be submitted to manager through one step approval.

But when Manager creates SC it should not need approval.

The logic which we are using is:

activate both the WF

WS10000060 - Workflow Without Approval Shopping Cart

WS10000129 - One Step approval of shopping cart

and in the start condition of WS10000060 - Workflow Without Approval Shopping Cart-we will put that if the requestor user has manager role then this WF should work.

and in the start condition of WS10000129 - One Step approval of shopping cart-we will write that if requestor does not have manager role then this WF will work.

But we are not able to get the correct objects to define the above mentioned conditions.

Has anybody done this before via this or other way?

BR

Dinesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dinesh,

have you tried some field like ActivityGroup?

BR

Former Member
0 Kudos

Hi Dinesh,

If I understand well, I think &_EVT_OBJECT.REQUISITIONERUSER.ACTIVITYGROUP& = xxxx

condition could help you, if not let me know

BR

Former Member
0 Kudos

Hi,

Sorry Dinesh I was suppossing two different roles ant this is not the case isn't it?

Sorry. I'll think about

Former Member
0 Kudos

Hi Jorge,

There are two seperate roles of stal_manager and stal_employee.

I had tried the field of activity group for the requestor user &_EVT_OBJECT.REQUISITIONERUSER.ACTIVITYGROUP&.

Sorry, forgot to mention that.

But when I select this field, select operator as = and give the role SAP_BBP_STAL_MANAGER or SAP_EC_BBP_MANAGER

i am getting error message that these two can not be compared.

Have you done this before?

BR

Dinesh

Former Member
0 Kudos

Hi again

Please try with CE not =

Let me know

Best Regards

Former Member
0 Kudos

Yes.

CE and NE are the correct operators.

Thanks.

former_member1229370
Participant
0 Kudos

Hi Dinesh,

How are things ?

The simplest option to use n-step workflow using BAdI.

Where you can control any sort of approval.

For example, if Manager is creating a SC, you can always set

NO_FURTHER_APPROVAL_NEEDED = 'X' otherwise go for a single step by appending data into APPROVAL_TABLE.

If you need further details, please let me know.

Thanks and Kind Regards

Pras Durafe

Former Member
0 Kudos

Hi Pras,

Fine. Thanks.

I agree with you and knew the option.

But at this client we have instructions to keep developments (BADIs also) to min possible.

So had to try this route.

We could achieve the functionality with standard WF.

Anyway thanks for help.

BR

Dinesh

Answers (0)