<div>G'day Carol,</div>
<div>&nbsp;</div>
<div>You're a lifesaver! BBP_OM_STRUC_GET_USER_FROM_ORG works a treat!! However it's in function group BBP_OM_STRUCTURE. </div>
<div>&nbsp;</div>
<div>There isn't actually a function group called BBP_ATTR in my system. There are a few prefixed with BBP_ATTR but they mostly seem to contain low level stuff (most functions are described as INTERN) and table maintenance code. The one that I know is useful is BBP_READ_ATTRIBUTES in BBP_ATTR_PDORG although I only know this through stolen code. Even in this case I'm not sure of the full&nbsp;power of it.
</div>
<div>&nbsp;</div>
<div>Are there any other treats in amoungst these BBP_ATTR* groups or is there any good doco on the use of BBP_READ_ATTRIBUTES?</div>
<div>&nbsp;</div>
<div>Many thanks!</div>
<div>&nbsp;</div>
<div>G'day Sue, thanks for testing for me. Dunno what's different here, but since the above works I'm not going to strain my brain any further.</div>
<div>&nbsp;</div>
<div>Have fun,<br>Mark<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 7/27/06, <b class="gmail_sendername">Thomas, Carol</b> &lt;<a href="mailto:carol.thomas@sap.com">carol.thomas@sap.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">SRM has some higher level function modules that do the 'heavy' work for you.&nbsp; Take a look at function group BBP_ATTR specifically for your case BBP_OM_STRUC_GET_USER_FROM_ORG.&nbsp; Try those and see if it does the trick for you
</font></span></div>
<div>&nbsp;</div>
<p><b><font face="Trebuchet MS" color="#0000ff" size="1">Carol Thomas</font></b> <br><br></p>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">
sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Mark Pyc<br><b>Sent:</b> Thursday, Jul 27, 2006 13:38 PM<br><b>To:</b> WUG<br><b>Subject:</b> SRM 4.0 - Determining Agents from Org Data<br></font><br>&nbsp;</div></div>
<div><span class="e" id="q_10cb21764fc16e64_1">
<div></div>
<div>G'day all,</div>
<div>&nbsp;</div>
<div>Normally to determine a user linked to an Org Object I would use RH_STRUC_GET with ACT_WEGID = 'SAP_TAGT' which will return me the US user. Testing this in an SRM 4.0 system it doesn't. All I'm getting are CP Central Person entries. 
</div>
<div>&nbsp;</div>
<div>Do I need a different WEGID in SRM or a subsequent call or a completely different technique??</div>
<div>&nbsp;</div>
<div>Thanks,<br>Mark</div></span></div>
<div></div></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br></blockquote></div><br>