Ad-hoc agent not found error in approval preview applet

Dart, Jocelyn jocelyn.dart at sap.com
Thu Sep 30 21:39:53 EDT 2004


Yes that makes sense - you have to follow the patterns *very* closely in SRM to
avoid strife.
Jocelyn
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]
Sent: Thursday,30 September 2004 10:27 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Ad-hoc agent not found error in approval preview applet
 
Thanks Jocelyn...we have found our issue....it seems you have to fill the
'Agents' container element if the l_nosave variable is initial or not
initial !! We copied the l_nosave logic from the ASBMANAGER Create method
and that only sets the 'Agents' container element when l_nosave is not
initial...which I guess is the default situation.
 
Anyway thanks again.
 
Dave
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of Dart,
Jocelyn
Sent: 30 September 2004 04:50
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Ad-hoc agent not found error in approval preview applet
 
 
Keep checking  your logic.  Is everything you need to find the agent known
*prior* to the shopping cart being saved?  Have you made sure any virtual
attributes you are using do not rely on any particular order in which they
are filled?
 
 
Regards,
Jocelyn
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of David
Weston
Sent: Wednesday,29 September 2004 10:26 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Ad-hoc agent not found error in approval preview applet
 
Hi Jocelyn, thanks for the help. We have coded the Create method just as in
the Create method for ASBMANAGER using the l_nosave variable.
 
We have a role attached to the task, which has the user attached to
it....and the excluded agents doesn't match either.
 
We'll keep looking and work with OSS. But if you have any other ideas just
let me know.
 
Cheers
Dave
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of Dart,
Jocelyn
Sent: 28 September 2004 22:42
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Ad-hoc agent not found error in approval preview applet
 
 
Dave,
You have not most likely not coded your adhoc agent correctly for the
approval preview. Make sure you follow the pattern in ASBMANAGER and the
other examples for when the "save" flag is off.
 
Also check ... you have assigned a user id as agent, that user is a possible
agent of the relevant task, that user is not an excluded agent. Regards,
Jocelyn
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of David
Weston
Sent: Wednesday,29 September 2004 8:19 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: SRM: Ad-hoc agent not found error in approval preview applet
 
Hi folks,
 
We are using the ad-hoc agent functionality using a copy of the ASBMANAGER
business object, recreating the 'Create' method to fill the Agents
attribute. We have a 2 step workflow approval process and when  we create a
shopping cart and select 'Approval Preview' the first approval step
(TS10008069) displays 'no approval available' and the 'Ad-hoc agent not
found' error message in red. The second approval step displays our users
correctly, which also uses an adhoc agent object.
 
If we then select 'Order' or 'Hold' and go to Check Status for our shopping
cart and look at the applet via approval preview both approval steps are
displayed correctly !!
 
Anyone seen this type of behaviour before ?
 
Thanks for any help or tips to solve this one. By the way we have created an
OSS message as well to keep things official !!
 
Dave
 


More information about the SAP-WUG mailing list