<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: Problems establishing agents</TITLE>
</HEAD>
<BODY>
 
<P><FONT SIZE=3D2>Hi Kris</FONT>
<BR><FONT SIZE=3D2>I had the same problem and Jocelyn help me out, I =
have attached the prog. just download and create this progrm and test =
online with the any employee, if that work then put the same code in =
your object type.</FONT></P>
 
<P><FONT SIZE=3D2>parametres: otype: input &quot;P&quot; </FONT>
<BR><FONT SIZE=3D2>realo: input employee number</FONT>
<BR><FONT SIZE=3D2>result it should give you the US chief =
userid.</FONT>
</P>
 
<P><FONT SIZE=3D2>this should help...</FONT>
</P>
 
<P><FONT SIZE=3D2>Anees Abbasi</FONT>
<BR><FONT SIZE=3D2>SAP ABAP Analyst</FONT>
<BR><FONT SIZE=3D2>Qatargas IT Department</FONT>
<BR><FONT SIZE=3D2>Tel.: 473-6360</FONT>
</P>
<BR>
 
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Wilson, Kris [<A =
HREF=3D"mailto:wilsonk-csc@kaman.com">mailto:wilsonk-csc@kaman.com</A>]<=
/FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, June 05, 2001 9:08 AM</FONT>
<BR><FONT SIZE=3D2>To: SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT SIZE=3D2>Subject: Re: Problems establishing agents</FONT>
</P>
<BR>
 
<P><FONT SIZE=3D2>Hi Jocelyn,</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; I checked both the plan version being used in our HR Org. =
plan</FONT>
<BR><FONT SIZE=3D2>and all managers have an infotype set up linking =
their userid.&nbsp; I also tried</FONT>
<BR><FONT SIZE=3D2>debugging the function module SWX_GET_MANAGER all to =
no avail.&nbsp; I'm not sure</FONT>
<BR><FONT SIZE=3D2>how to fix this problem, I understand exactly what =
it means but I can't seem</FONT>
<BR><FONT SIZE=3D2>to isolate where the problem could be.&nbsp; The =
workflow checks out fine, it</FONT>
<BR><FONT SIZE=3D2>matches exactly what we have running on our PRD =
server, the Org. Structure</FONT>
<BR><FONT SIZE=3D2>matches as well.&nbsp; What I can't figure out is =
why workflow is telling me that</FONT>
<BR><FONT SIZE=3D2>there is no chief position for US WILSON when in the =
org. plan my manager is</FONT>
<BR><FONT SIZE=3D2>set up as a chief position and I have an infotype =
reflecting this.&nbsp; The</FONT>
<BR><FONT SIZE=3D2>workflow error diagnosis is telling me to either =
change the org. plan so</FONT>
<BR><FONT SIZE=3D2>that standard role AC00000168 provides a number of =
users other than zero, or</FONT>
<BR><FONT SIZE=3D2>to change the agent assignment in the step where the =
manager should review</FONT>
<BR><FONT SIZE=3D2>the employee's purchase request.&nbsp; It works in =
production but not development</FONT>
<BR><FONT SIZE=3D2>which is damn weird.</FONT>
</P>
 
<P><FONT SIZE=3D2>Is there anything you can possibly advise to look at =
here Jocelyn?&nbsp; Sorry to</FONT>
<BR><FONT SIZE=3D2>trouble you with this, but I have heard on the grape =
vine that you are the</FONT>
<BR><FONT SIZE=3D2>top workflower in Australia so maybe you might have =
seen this problem</FONT>
<BR><FONT SIZE=3D2>somewhere.&nbsp; We are running 4.5B =
incidentally.</FONT>
<BR><FONT SIZE=3D2>Regards,</FONT>
</P>
 
<P><FONT SIZE=3D2>Kris Wilson</FONT>
<BR><FONT SIZE=3D2>SAP Workflow Administrator</FONT>
</P>
 
<P><FONT SIZE=3D2>CSC - Defence Operations</FONT>
<BR><FONT SIZE=3D2>SH-2G(A) Super Seasprite Helicoptor Support =
Centre</FONT>
<BR><FONT SIZE=3D2>Tel:&nbsp; +61-2-4429-4667&nbsp;&nbsp;&nbsp;&nbsp; =
Fax:&nbsp; +61-2-4429-4661</FONT>
<BR><FONT SIZE=3D2>Mobile:&nbsp; 0404057781</FONT>
<BR><FONT SIZE=3D2>Email:&nbsp; wilsonk-csc@kaman.com</FONT>
</P>
<BR>
 
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Dart, Jocelyn [<A =
HREF=3D"mailto:jocelyn.dart@sap.com">mailto:jocelyn.dart@sap.com</A>]</F=
ONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, June 05, 2001 11:54 AM</FONT>
<BR><FONT SIZE=3D2>To: SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT SIZE=3D2>Subject: Re: Problems establishing agents</FONT>
</P>
<BR>
 
<P><FONT SIZE=3D2>Kris,</FONT>
<BR><FONT SIZE=3D2>Check the plan version being used for your HR org =
plan -</FONT>
<BR><FONT SIZE=3D2>workflow only works on the current plan version =
but</FONT>
<BR><FONT SIZE=3D2>sometimes HR folk use other plan versions.</FONT>
<BR><FONT SIZE=3D2>Plan version set for workflow can be checked via =
transaction</FONT>
<BR><FONT SIZE=3D2>SWU3.</FONT>
</P>
 
<P><FONT SIZE=3D2>Check all the managers have an infotype 105 set up =
linking to</FONT>
<BR><FONT SIZE=3D2>their userid.</FONT>
</P>
 
<P><FONT SIZE=3D2>If you are on 4.6 you can use the simulate role =
function in</FONT>
<BR><FONT SIZE=3D2>transaction PFAC to check what manager/userids are =
found for the role.</FONT>
</P>
 
<P><FONT SIZE=3D2>Other than that you could try debugging function =
module</FONT>
<BR><FONT SIZE=3D2>SWX_GET_MANAGER using transaction SE37 and feeding =
in the</FONT>
<BR><FONT SIZE=3D2>OTYPE/OBJID parameters via ABAP debug at the =
appropriate point.</FONT>
</P>
 
<P><FONT SIZE=3D2>Regards,</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jocelyn =
Dart</FONT>
<BR><FONT SIZE=3D2>Consultant (BBP, Ecommerce, Internet Transaction =
Server, Workflow)</FONT>
<BR><FONT SIZE=3D2>SAP Australia</FONT>
<BR><FONT SIZE=3D2>Email jocelyn.dart@sap.com &lt;<A =
HREF=3D"mailto:jocelyn.dart@sap.com">mailto:jocelyn.dart@sap.com</A>&gt;=
</FONT>
<BR><FONT SIZE=3D2>Tel: +61 412 390 267</FONT>
<BR><FONT SIZE=3D2>Fax: +61 2 9935 4880</FONT>
</P>
<BR>
 
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Wilson, Kris [<A =
HREF=3D"mailto:wilsonk-csc@kaman.com">mailto:wilsonk-csc@kaman.com</A>]<=
/FONT>
<BR><FONT SIZE=3D2>Sent: Monday, 4 June 2001 12:12 PM</FONT>
<BR><FONT SIZE=3D2>To: SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT SIZE=3D2>Subject: Problems establishing agents</FONT>
</P>
<BR>
 
<P><FONT SIZE=3D2>Hello Workflowers,</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; My name is Kris =
Wilson and I have been into workflow</FONT>
<BR><FONT SIZE=3D2>administration for the last 9 months, the last month =
has seen me get into</FONT>
<BR><FONT SIZE=3D2>workflow development and I have discovered a problem =
with one of the</FONT>
<BR><FONT SIZE=3D2>workflows my company is maintaining for our =
client.&nbsp; The funny thing is, I</FONT>
<BR><FONT SIZE=3D2>have discovered the problem in our development =
client yet the workflow works</FONT>
<BR><FONT SIZE=3D2>fine in production (scary?).</FONT>
</P>
 
<P><FONT SIZE=3D2>The workflow in question is used to request =
non-HP(Helicoptor) parts and</FONT>
<BR><FONT SIZE=3D2>services.&nbsp; It requires the user to provide =
details of the required items</FONT>
<BR><FONT SIZE=3D2>including description, quantity, etc.&nbsp; This =
information will be forwarded</FONT>
<BR><FONT SIZE=3D2>for consideration to the user's manager and then the =
Business Manager.&nbsp; If</FONT>
<BR><FONT SIZE=3D2>it is approved the Purchasing Officer will order the =
goods.&nbsp; The user is</FONT>
<BR><FONT SIZE=3D2>then notified of the outcome via workflow =
messages.</FONT>
</P>
 
<P><FONT SIZE=3D2>The problem is occurring when the workflow is sent to =
the user's manager, it</FONT>
<BR><FONT SIZE=3D2>just isn't reaching them in our development client, =
in production there is</FONT>
<BR><FONT SIZE=3D2>no such problem.&nbsp; The error I keep receiving =
essentially says that there is</FONT>
<BR><FONT SIZE=3D2>an error or exception resolving role =
&quot;AC000000168&quot; Superior (as user) for...</FONT>
<BR><FONT SIZE=3D2>It is telling me that there is no chief position for =
the user who is</FONT>
<BR><FONT SIZE=3D2>starting the workflow, yet we have a cheif position =
in every org. unit in</FONT>
<BR><FONT SIZE=3D2>our organisation.&nbsp; I understand the problem, =
the thing is, I can't isolate</FONT>
<BR><FONT SIZE=3D2>the cause of it.</FONT>
</P>
 
<P><FONT SIZE=3D2>Like I said, the workflow works fine in PRD yet not =
in DV1, we had made a</FONT>
<BR><FONT SIZE=3D2>change to the organisational structure but so far I =
can't fathom why it</FONT>
<BR><FONT SIZE=3D2>can't find an agent when we have cheif positions =
assigned.&nbsp; If anyone out</FONT>
<BR><FONT SIZE=3D2>there has any ideas on what might be causing this =
problem, or how to solve</FONT>
<BR><FONT SIZE=3D2>it, it would be greatly appreciated.&nbsp; =
Thanks.</FONT>
</P>
 
<P><FONT SIZE=3D2>Regards,</FONT>
</P>
 
<P><FONT SIZE=3D2>Kris Wilson</FONT>
<BR><FONT SIZE=3D2>SAP Workflow Administrator</FONT>
</P>
 
<P><FONT SIZE=3D2>CSC Australia - Defence Operations</FONT>
<BR><FONT SIZE=3D2>SH-2G(A) Super Seasprite Helicoptor Support =
Centre</FONT>
<BR><FONT SIZE=3D2>Tel:&nbsp; +61-2-4429-4667&nbsp;&nbsp;&nbsp;&nbsp; =
Fax:&nbsp; +61-2-4429-4661</FONT>
<BR><FONT SIZE=3D2>Mobile:&nbsp; 0404057781</FONT>
<BR><FONT SIZE=3D2>Email:&nbsp; wilsonk-csc@kaman.com</FONT>
</P>
 
</BODY>
</HTML>