<div>Jocelyn, Thanks for your email. </div>
<div>&nbsp;</div>
<div>Actually in this case the position is active and&nbsp;occupied by a valid manager. However not all users have SAP access, hence I want check&nbsp;if the&nbsp;CP entry ( Infotype 105 equivalent) exists in EBP.&nbsp;</div>
<div>&nbsp;</div>
<div>As a business rule if the immediate Manager does not have SAP Access we can skip that level and send the WI to the next level. </div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">On 2/23/06, <b class="gmail_sendername">Dart, Jocelyn</b> &lt;<a href="mailto:jocelyn.dart@sap.com">jocelyn.dart@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 dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Wrong way go back....</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">If you want to skip empty manager positions you need to adjust/modify the code in the Create method of the underlying ad hoc agent object,</font>
</span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">e.g. ASBMANAGER. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">You can use function module RH_GET_STRUCTURE and evaluation path SAP_TAGT to check if found positions are </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">assigned to actual user ids. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">No point looking at 105 or 0001 or anything - you need to work with the SRM entities not R/3 HR stuff. </font></span></div>
<div>&nbsp;</div>
<p><span lang="en-us"><font face="Arial" size="1">Regards,</font></span> <br><span lang="en-us"><b><font face="Arial" color="#000080" size="1">Jocelyn Dart</font></b></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">
Senior Consultant</font></span> <br><span lang="en-us"><b><font face="Arial" color="#808080" size="1">SAP Australia Pty Ltd.</font></b></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">Level 1/168 Walker St.
</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">North Sydney </font></span><br><span lang="en-us"><font face="Arial" color="#808080" size="1">NSW, 2060</font></span> <br><span lang="en-us">
<font face="Arial" color="#808080" size="1">Australia</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">T&nbsp;&nbsp; +61 412 390 267</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">
M&nbsp;&nbsp; + 61 412 390 267</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">E&nbsp;&nbsp; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jocelyn.dart@sap.com" target="_blank">jocelyn.dart@sap.com
</a></font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.sap.com/" target="_blank">http://www.sap.com</a></font></span>
 </p>
<p><span lang="en-au"><font face="Times New Roman" color="#ff0000" size="1">The information contained in or attached to this electronic transmission is confidential and may be legally privileged. It is intended only for the person or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any distribution, copying, review, retransmission, dissemination or other use of this electronic transmission or the information contained in it is strictly prohibited. If you have received this electronic transmission in error, please immediately contact the sender to arrange for the return of the original documents. 
</font></span></p>
<p><span lang="en-au"><font face="Times New Roman" color="#ff0000" size="1">Electronic transmission cannot be guaranteed to be secure and accordingly, the sender does not accept liability for any such data corruption, interception, unauthorized amendment, viruses, delays or the consequences thereof.
</font></span></p>
<p><span lang="en-au"><font face="Times New Roman" color="#ff0000" size="1">Any views expressed in this electronic transmission are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of SAP AG or any of its subsidiaries. SAP AG, its subsidiaries, and their directors, officers and employees make no representation nor accept any liability for the accuracy or completeness of the views or information contained herein. Please be aware that the furnishing of any pricing information/ business proposal herein is indicative only, is subject to change and shall not be construed as an offer or as constituting a binding agreement on the part of SAP AG or any of its subsidiaries to enter into any relationship, unless otherwise expressly stated. 
</font></span></p>
<div>&nbsp;</div><br>
<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>Dave Weston<br><b>Sent:</b> Friday, 24 February 2006 2:54 AM<br><b>To:</b> SAP Workflow Users' Group<br><b>Subject:</b> RE: CP check in EBP<br></font><br>&nbsp;</div>
<div><span class="e" id="q_10999e21dfa90576_1">
<div></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Hi Shalini,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Hope all is well with you. Just checking .... which subtype for infotype 105 are you referring to ? Userids are subtype 0001......</font></span>
</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Dave</font></span></div><br>
<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>Shalini Sabnani<br><b>Sent:</b> Wednesday, February 22, 2006 11:03 PM<br><b>To:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug@mit.edu" target="_blank">
sap-wug@mit.edu</a><br><b>Subject:</b> CP check in EBP<br></font><br>&nbsp;</div>
<div></div>
<div>Hello&nbsp; </div>
<div>I would like to modify the&nbsp;Role Resolution function&nbsp;in EBP to skip a manager's position&nbsp;infotype 105 (CP record) does not exist. </div>
<div>How/What tables can I check in EBP to find the CP record.</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>SNS<br>-- <br>~~Necessity is the Mother of Invention.. </div></span></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><br clear="all"><br>-- <br>~~Necessity is the Mother of Invention..