cancel
Showing results for 
Search instead for 
Did you mean: 

Set Document Owner as Ad hoc Agent ?

rico_stoll
Explorer
0 Kudos

Hi there,

I have a problem with the process controlled workflow within SRM 7.

The Situation is:

When a purchaser creates a shopping cart it triggers the automatic approvel workflow. Means the shopping cart autimaticaly is approved by the system after ordering.

In some cases the puchaser will add an Ad hoc Agent to approve his shopping cart. When this happens the purchaser have to add himself as last approver because the last approver has to be a purchaser.

The Problem is, the purchaser can't add himself as Ad hoc Agent because the system does not allow when he is the document owner/creator.

Is there any solution in customizing or badi where I can make it happen that the purchaser can add himself as ad hoc agent when he is the document owner?

In SRM 4 I now it is possible to add myself as ad hoc agent when I am the document owner.

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

How about setting "Acceptance by Contact Person" function? The SC owner receives workitem at end of approval process.

Regards,

Masa

rico_stoll
Explorer
0 Kudos

Hello Masa,

yes that's an workaround but not the solution the customer wants.

Thanks for the fast reply.

Is it in sap standard not intended to add myself (document owner) as adhoc approver?

Hope there is another solution for this topic.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

It is basic concept. User should not approve own document.

Former Member
0 Kudos

Hi Masa,

we have changed the "excluded agents" step and have done some coding in the routine "CHECK_ADHOC_AGENTS" so the document owner is not excluded anymore. In debug mode I see that function module /SAPSRM/WF_CORE_ADHOC_SAVE_INT is called with the adhoc agent = document_owner and there is no error message.

When returning to the overview screen I receive message /SAPSRM/PDO_APPRVIEW 080 "strategy &1 did not determine approver". I haven't yet found the coding where this message is generated. Can you give me a hint?

Otherwise we may have to activate the old workflows.

Best Regards

Thorsten

Former Member
0 Kudos

Youu2019re getting this message from standard workflow template coding...

By any case SAP SRM 7.0 will not allow the document owner as approver, unless you do some enhancement in SAP standard coding..

Thanks!!

Bharath

Former Member
0 Kudos

Can you give a hint, where to enhance or where the error message is proceeded?

Thanks

Thorsten

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I think debugging is only way for finding it. I would like to know the business reason why user has to approve own document?

Regards,

Masa

matteo_montalto
Contributor
0 Kudos

Hi all,

we're getting the same error message /SAPSRM/PDO_APPRVIEW 080 in case a data migration to SRM 7.0 . We don't get the point as the approval steps related to the user is correctly determined, so we'd like to understand exactly where that error is generated in order to backtrack and find the causes. Has anyone an idea about where this message is raised in the standard code?

We tried obviously a where-used for the message but there's no explicit reference of it the code...

Thanks in advance.

Former Member
0 Kudos

Hi,

SAP has released the below oss notes to add requestor into approver list..try this out, but I am also having the same concern as Masa. I dont and i didnt suggest this to my customers..

1551561

1534322

Saravanan

former_member578547
Participant
0 Kudos

Iif Approver is Requestor , you can divert the workflow to Administrator/one Person . That is possible .

Think from your end.

Let me know if you require any input.

Balaji.T.

Answers (0)