<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi Swathi,<br></div>The position ID and org ID would be same across all the system.Logic goes in this way -<br>  0             -  5000$ --                                                      - Manager<br>


                 &gt;5000$ -10000$ -                                           - Director<br>
                &gt;10000$             -                                           -Senior Director<br><br></div>Now when you create a ORG structure for 3 different positions Manager,Director,Senior Director the system generates 3 different unique position ID say for manager Pos id 1,director Pos id 2 etc..<br>

</div>Logic-<br></div>if amount = 5000.<br></div>Call RH get struct FM and pass the position id.<br></div>Constant:lc_manager type char10 value &#39;1&#39;.&quot;manager position id<br></div><div>*same declare for other positions<br>

</div><div>*******Call FM to get the user id****************<br></div>CALL FM RH_GET_STRUCT.<br></div>Pass lc_manager.<br></div>else if amount &gt;5000 or &lt;10000<br></div>pass lc_director.<br></div>endif.<br>****************************************************<br>

</div>Regards,<br></div>Priyank Patil<br>9620372300<br><div><div><div><div><div><div><div><div><div><div><div><div><br><div><br><br><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Feb 27, 2014 at 12:05 AM, Swathi Devireddy <span dir="ltr">&lt;<a href="mailto:Swathi_Devireddy@infosys.com" target="_blank">Swathi_Devireddy@infosys.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
We have a simple Purchase Order Approval Scenario. We have different Business Units (E.g Manufacturing/Finance).<br>
Based on the Amount of the PO it should goto the person for approval.<br>
E,g                     0             -  5000$ --                           - Manager<br>
                 &gt;5000$          -10000$ -                             - Director<br>
                &gt;10000$             -                                           -Senior Director<br>
<br>
If amount is greater than 5000$ its 2 level approval<br>
<br>
We want to maintain an Org Unit for this approval process. How can we maintain the amounts in Org Units.<br>
Suppose amount is 6000$ it will go directly to Director.Also want to avoid Z table creation as much as possible.<br>
<br>
I have created Org Units for Each Business Unit and defined the hierarchy. Any idea where I can maintain this amounts also to control the flow.<br>
<br>
<br>
Regards,<br>
Swathi<br>
<br>
**************** CAUTION - Disclaimer *****************<br>
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely<br>
for the use of the addressee(s). If you are not the intended recipient, please<br>
notify the sender by e-mail and delete the original message. Further, you are not<br>
to copy, disclose, or distribute this e-mail or its contents to any other person and<br>
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken<br>
every reasonable precaution to minimize this risk, but is not liable for any damage<br>
you may sustain as a result of any virus in this e-mail. You should carry out your<br>
own virus checks before opening the e-mail or attachment. Infosys reserves the<br>
right to monitor and review the content of all messages sent to or from this e-mail<br>
address. Messages sent to or from this e-mail address may be stored on the<br>
Infosys e-mail system.<br>
***INFOSYS******** End of Disclaimer ********INFOSYS***<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
</blockquote></div><br></div>