cancel
Showing results for 
Search instead for 
Did you mean: 

shopping cart approval workflow

Former Member
0 Kudos

Hi All,

I am new to SRM and trying to configure the one-step SC approval workflow. Basically the approavl should go to the manager[chief position] in the org structure.

I have assigned the org structure to the task TS10008126 and use the rule to 00000157 to identify the chief position. This config is not working. In SWI2_FREQ, it shows that 'no agent assigned'. Then I tried to directly assign the manager user ID instead of rule. Now I get the mail in managers inbox but in SWI2_FREQ, the status is still 'no agent assigned' .

Am I missing something?

-roopesh

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Roopesh,

Please check following:

in PPOMA_BBP find aperson, which will be approver.

Look at 'Basic data' tab and checkbox "head of own organisation unit" (should be enabled).

Look at 'Extendend attributes / PO Value Limits' and fill approval limit.

For all persons fill attribute SLAPPROVER in 'Attributes' tab. Value of SLAPROVER should look like this:

US<login name> e.g. USMANAGER.

Also check if workflow start conditions is fill correctly.

Run transaction SWO1, use object type BUS2121 (shopping cart) and click 'Test'. Click on button 'instance' and enter SC number.

Regards,

Marcin Gajewski

Former Member
0 Kudos

Hi Roopesh,

Please check following:

in PPOMA_BBP find aperson, which will be approver.

Look at 'Basic data' tab and checkbox "head of own organisation unit" (should be enabled).

Look at 'Extendend attributes / PO Value Limits' and fill approval limit.

For all persons fill attribute SLAPPROVER in 'Attributes' tab. Value of SLAPROVER should look like this:

US<login name> e.g. USMANAGER.

Also check if workflow start conditions is fill correctly.

Run transaction SWO1, use object type BUS2121 (shopping cart) and click 'Test'. Click on button 'instance' and enter SC number.

Regards,

Marcin Gajewski

Former Member
0 Kudos

Hi roopesh,

I am also facing the same problem for one step appoval of shopping cart....can u please give me guidelines how to rectify this issue...

Thanks in Advance,

Jagadish.g

Former Member
0 Kudos

Hi Roopesh,

Do not change anything to the standard WF, it works "out of the box".

You just have to manage the starting conditions.

Regards.

Vadim

Former Member
0 Kudos

Hi Vadim,

First, I am using one-step approval.

If I don't change the WF, how can it identify my manager. I need to assign the org structure somewhere.

Regards,

Roopesh

Former Member
0 Kudos

The WF itself contains the approver determination.

It is based on the checkBox 'Manager' assigned to the user in the org structure.

Regards.

Vadim

pvanhoove
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

Agent determination in SRM is made through adhoc agent. This is necessary for the approval preview. The search for the manager is implemented in BOR object ASBMANAGER, you don't have to change this in std workflow.

(Note 391674 can give you more detail on this)

Rgds,

Pierre

Former Member
0 Kudos

Hi Vadim,

What do you mean by the check box 'Manager'????Do u mean to say that we dont eed to do the agent assignment for 1 step WF?

Former Member
0 Kudos

Hello,

can anybody send me the standard start conditions of WS10000060 and WS10000129 which was originally deliverd from SAP?

BR,

Bernd

yann_bouillut
Active Contributor
0 Kudos

Hi Bernd,

Which release ?

Kind regards,

Yann

Former Member
0 Kudos

Hi Roopesh

AFAIK you setup a org structure containing 1-n org units in some kind of hierarchy. Then you assign positions to the org units. To each position you can specify whether or not it is a manager position. In order to have a working approval WF you need a manager and one normal position assigned to each org unit.

Then you assign users to all those positions. At runtime, when a normal user (position) creates a SC the agent determination verifies where in the org structure this user is assigned to and searches upwards in the org structure hierarchy to hopefully find a manager position. If it finds one, then the user assigned to this manager position will be the approver.

Of course you also have to maintain your starting conditions as well. But it is not required to touch the WF itself.

Hope this clarifies it a bit...

Kind regards,

Renaud

Former Member
0 Kudos

Hi Yann,

SRM 4.0 (SRM-Server 5.0), EBP 5.

Maybe you can look over my starting conditions and can tell me what could be wrong.

Best regards,

Bernd

Former Member
0 Kudos

Hi Yann,

WS10000060:

&_EVT_OBJECT.EXISTFOLLOWONRFQ& = X or

( Einkaufen von Employee

&_EVT_OBJECT.TOTALVALUE& < 1.000,00 and

&_EVT_OBJECT.NOLIMIT& <> X and

&_EVT_OBJECT.USERBUDGETDEFINED& NX and

&_EVT_OBJECT.SPENDINGLIMITOFREQUESTER& NX and

&_EVT_OBJECT.EXISTNOPRICELINEITEM& <> X

) Einkaufen von Employee or

( Einkaufen von Manager

&_EVT_OBJECT.REQUISITIONERUSER.ACTIVITYGROUP& CE SAP_BBP_STAL_MANAGER and

&_EVT_OBJECT.TOTALVALUE& < 500.000,00 and

&_EVT_OBJECT.NOLIMIT& <> X and

&_EVT_OBJECT.USERBUDGETDEFINED& NX and

&_EVT_OBJECT.EXISTNOPRICELINEITEM& <> X

) Einkaufen von Manager or

( Einkaufsbudget Scenario

&_EVT_OBJECT.USERBUDGETDEFINED& EX and

&_EVT_OBJECT.USERBUDGETSPENT& <= &_EVT_OBJECT.USERBUDGETDEFINED& and

&_EVT_OBJECT.NOLIMIT& <> X and

&_EVT_OBJECT.EXISTNOPRICELINEITEM& <> X

) Einkaufsbudget Scenario or

( Ausgabelimit Scenario

&_EVT_OBJECT.SPENDINGLIMITOFREQUESTER& EX and

&_EVT_OBJECT.TOTALVALUE& <= &_EVT_OBJECT.SPENDINGLIMITOFREQUESTER& and

&_EVT_OBJECT.NOLIMIT& <> X and

&_EVT_OBJECT.USERBUDGETSPENT& NX and

&_EVT_OBJECT.SLMANAGERUSERLIST& EX and

&_EVT_OBJECT.EXISTNOPRICELINEITEM& <> X

) Ausgabelimit Scenario

WS10000129:

( Einkaufen von Employee

&_EVT_OBJECT.TOTALVALUE& < 100.000,00 and

&_EVT_OBJECT.EXISTFOLLOWONRFQ& <> X and

&_EVT_OBJECT.TOTALVALUE& >= 1.000,00 and

&_EVT_OBJECT.REQUISITIONERUSER.ACTIVITYGROUP& NE SAP_BBP_STAL_MANAGER and

&_EVT_OBJECT.NOLIMIT& <> X and

&_EVT_OBJECT.SPENDINGLIMITOFREQUESTER& NX and

&_EVT_OBJECT.USERBUDGETDEFINED& NX and

&_EVT_OBJECT.EXISTNOPRICELINEITEM& <> X

) Einkaufen von Employee or

( Einkaufen von Manager

&_EVT_OBJECT.REQUISITIONERUSER.ACTIVITYGROUP& CE SAP_BBP_STAL_MANAGER and

&_EVT_OBJECT.EXISTFOLLOWONRFQ& <> X and

&_EVT_OBJECT.TOTALVALUE& >= 500.000,00 and

&_EVT_OBJECT.NOLIMIT& <> X and

&_EVT_OBJECT.SPENDINGLIMITOFREQUESTER& NX and

&_EVT_OBJECT.USERBUDGETDEFINED& NX and

&_EVT_OBJECT.EXISTNOPRICELINEITEM& <> X

) Einkaufen von Manager or

&_EVT_OBJECT.EXISTFOLLOWONRFQ& <> X and

&_EVT_OBJECT.NOLIMIT& = X or

( Einkaufsbudget Scenario

&_EVT_OBJECT.USERBUDGETDEFINED& EX and

&_EVT_OBJECT.EXISTFOLLOWONRFQ& <> X and

&_EVT_OBJECT.USERBUDGETSPENT& > &_EVT_OBJECT.USERBUDGETDEFINED& and

&_EVT_OBJECT.NOLIMIT& <> X and

&_EVT_OBJECT.EXISTNOPRICELINEITEM& <> X

) Einkaufsbudget Scenario

In fact I wanted originally run self-created workflows (with budget-limit and value-approval) but now I want to run the standard workflows because i think there are too many errors in it.

Best regards,

Bernd

_________________________ ___________________________________________________________________________________________________________ ____ ____________________________________________________________________________________________________________________________________ ___