cancel
Showing results for 
Search instead for 
Did you mean: 

Same number of work flow entries under "Approval" link for each user

former_member184111
Active Contributor
0 Kudos

Hi All,

We are implementing SRM 5.0 .

The problem we are facing is that when we test the service BBPSTART , the number of work flow entries in the inbox for all users is same .

We created a new user on SRM and tested BBPSTART with this user...it shows the same number of work flow entries in the inbox..

What is the problem?

Thanks & Regards,

Anubhav

Accepted Solutions (0)

Answers (2)

Answers (2)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

It looks system works correct. What kind of workitem user has in inbox?

I think agent determination has been failed in some workflow and all users have received workitems.

You have to set agent determination correctly. Next step is finding workitem and workflow template.

Regards,

Masa

former_member184111
Active Contributor
0 Kudos

Hi Masa,

The user hs Shopping Carts for approval in the inbox.

The entries are visible in inboxes of all users but only the agents who should be able to approve (as per the code in workflow BADI) are able to do so...if some other user tries to approve the SC it gives the error You are not authorised to release or Document Contains Errors-> Approval Not Possible

Next step is finding workitem and workflow template.

How to go about this?

Thanks a lot for your time,

Anubhav

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Go to transaction BBP_PD and open a SC. Find the Workflow item ID. Copy the Workflow item ID and go to transaction SWI1. Paste the ID. You see workflow log. Check the Actual Agent and Possible Agent. If you see many actual agents, please check your BADI program code for setting approvers.

Regards,

Masa

former_member184111
Active Contributor
0 Kudos

Hi Masa,

In the txn SWI1 under the tab View Workflow Agents

there are follwoing cloumns:

1)Agent for tsak

2)Executed Action

3)Date

4)Time

5)Relevant Object

6)Object Name

But theres no information about the Actual Agent and Possible Agent .

Where to check it?

Thanks a lot,

Anubhav

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Tab "View: WF Chronicle"

Column: "Agent", Status "Ready"

Select "Agent" button

You will get small popup window which has Agents and Possible agents.

Regards,

Masa

former_member184111
Active Contributor
0 Kudos

Hi Masa,

In the popup window when i click the button Agents i get the message All users can process this task and the same message is displayed for the button Possible agents

Is this the real issue? How to solve this?

Thanks,

Anubhav

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I think problem is your BADI code. Can you confirm standard 1 step approval workflow template does not have this issue?

Regards,

Masa

former_member184111
Active Contributor
0 Kudos

Hi Masa,

On the information popup that says All users can process this task if i click the question mark icon ,

i get the following text in the perfromance assistance window.

All users can process this task
Message no. WL230

Diagnosis
The task is defined as a general task.

All users can execute this task and a work item for this task may be forwarded to every user.

I can not confirm the 1 step approval as we are using the N step approval process.

Thanks,

Anubhav

former_member184111
Active Contributor
0 Kudos

Hi Masa,

SPRO->SAP Reference IMG->Supplier Relationship Management->SRM Server->Cross-Application Basic Settings->SAP Business Workflow->Activate Standard Taks

Activate Standard Tasks
In this activity, you start a background report that defines certain tasks within the workflows of Enterprise Buyer as standard tasks. Any user can perform standard tasks, such as "Approve User Master Record". You use the workflow definition to narrow down who can actually perform the task. For example, in the case of approval of user master records, this depends on the organizational unit to which the new user master record belongs.

You must perform this activity during the initialization of the Enterprise Buyer system, otherwise the SAP Business Workflow cannot determine who the approver should be.

Is it somehow related to my problem?

Regards,

Anubhav

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

That is part of standard workflow customizing. If you have not executed it please execute.

Regards,

Masa

former_member184111
Active Contributor
0 Kudos

Hi Masa,

I will confirm with my functional team if this IMG activity is executed and keep the thread updated accordingly if the issue is resolved or not.

Thanks a lot ,

Anubhav

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Does user see same number of workitem in his/her inbox?

Is total workitem count in logon page and workitem number in inbox different?

Regards,

Masa

former_member184111
Active Contributor
0 Kudos

Hi Masa,

Does user see same number of workitem in his/her inbox?

Yes .

Is total workitem count in logon page and workitem number in inbox different?

No .

Thanks,

Anubhav