<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-GB link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi, </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Have a look at transaction PFOM.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Cheers</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<p><font size=1 color=navy face="Times New Roman"><span style='font-size:7.5pt;
color:navy'>___________________________________________________________________________<br>
</span></font><font size=2 color=navy><span style='font-size:10.0pt;color:navy'>Miguel
Adao-Cruz&nbsp;| <b><span style='font-weight:bold'>Capgemini</span></b> | Woking<br>
</span></font><font size=1 color=navy><span style='font-size:7.5pt;color:navy'>Technology
Services<br>
T.+44-870-238-2927 | Int.700&nbsp;2927 | </span></font><font color=navy><span
style='color:navy'><a
href="file:///C:\Documents%20and%20Settings\madaocru\Application%20Data\Microsoft\Signatures\www.capgemini.com"><font
size=1><span style='font-size:7.5pt'>www.capgemini.com</span></font></a></span></font></p>

<p><font size=1 color=navy face="Times New Roman"><span style='font-size:7.5pt;
color:navy'><br>
Join the Collaborative Business Experience<br>
___________________________________________________________________________</span></font></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>H C<br>
<b><span style='font-weight:bold'>Sent:</span></b> 07 February 2005 14:05<br>
<b><span style='font-weight:bold'>To:</span></b> sap-wug@mit.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> CALL FUNCTION
'RH_GET_ACTORS' . How does it work?</span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I have 2 Qs. I am a NewBe, and I have used a lot of time on this, and I
am giving in...</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>1. I am trying to use this rule for Purchasing group.<br>
<br>
When I try the rule, AC00900010, in transaction PFAC, it returns the<br>
agents set up to for my purhcasing group<br>
<br>
When I run my method (I have added to a object) with the function,<br>
'RH_GET_ACTORS' , it fails, and I get a exeption 3 every time. The error<br>
message saying &quot;Objekttype is not valid as SAP-org.objekttype&quot;.<br>
<br>
I have checed table T7791 and here I do find OBJTYP = T024.<br>
The only thing I send in to the function is the rule and the<br>
(ACTOR_CONTAINER) purchasing group.<br>
&quot;BAM&quot; is one of my purchasing groups)<br>
<br>
<br>
How do I get this to work, what am I missing ???<br>
<br>
************************<br>
swc_set_element ac_container 'T024' 'BAM'.<br>
<br>
CALL FUNCTION 'RH_GET_ACTORS'<br>
&nbsp; EXPORTING<br>
&nbsp;&nbsp;&nbsp; ACT_OBJECT = 'AC00900010'<br>
&nbsp; TABLES<br>
&nbsp;&nbsp;&nbsp; ACTOR_CONTAINER = ac_container<br>
&nbsp;&nbsp;&nbsp; ACTOR_TAB = ac_agent<br>
&nbsp; EXCEPTIONS<br>
&nbsp;&nbsp; NO_ACTIVE_PLVAR = 1<br>
&nbsp;&nbsp; NO_ACTOR_FOUND = 2<br>
&nbsp;&nbsp; EXCEPTION_OF_ROLE_RAISED = 3<br>
&nbsp;&nbsp; NO_VALID_AGENT_DETERMINED = 4<br>
&nbsp;&nbsp; NO_CONTAINER = 5<br>
&nbsp;&nbsp; OTHERS = 6<br>
************</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2. I just want to get agents based on a rule.</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>If I create an activity and use the AC rule 'AC00900010'. How do I get
my agents with this activity in a background job. Is it posible ? How wil the
task look like (containers, object, - method used) ? </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
Please advise, Tom</span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br clear=all>
</span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Skaff deg en e-postkonto <a
href="http://g.msn.com/8HMAENNO/2752??PS=47575" target="_top">MSN Hotmail</a>
Med markedets beste SPAM-filter. Gratis!</span></font></p>

</div>

</body>

</html>

<table><tr><td bgcolor=#ffffff><font color=#000000>This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.<br>
<br>
</font></td></tr></table>