<p>Hi.</p>
<p>I hope most of you have heard about PUST transaction. This is convinient tool to build payroll close process. It&#8217;s idea is a chain of steps build from programms that we use in payroll close procedure. We can set variants for each program, build them in a sequence and run all at once (or step by step autmatically). User all needs is to hit Run button and watch it. While it&#8217;s running it will show logs for each step/programm and user will understand possible issues with easy.</p>
<p>There is no need to explain all customizing in detail as it&#8217;s pretty simple. At first setup Workflow as some particular elements use it for notifications. To do this run though SAP Note 133182 &#8211; Process Manager: No process is started. Program starts &#8211; event fires. Program stops &#8211; event fires. It allows to run several programms in parallel and use workflows for example to payroll agreements.</p>
<p>For a user it will look like.</p>
<p><a href="http://saphr.ru/wp-content/uploads/pust_2.jpg"><img class="alignnone size-medium wp-image-1126" src="http://saphr.ru/wp-content/uploads/pust_2-300x222.jpg" alt="pust_2" width="300" height="222" /></a></p>
<p><!--more--></p>
<p>Consultant sets process model in PEST transaction. Model is a set of steps, which system runs. Step is an ABAP program or breakpoint to make a decision. Breakpoints could be conditional or unconditional. Conditional breakpoint &#8211; time evaluation was performed for all employees. Unconditional &#8211; just stop process for user to make a decision.</p>
<p>Container is used to transfer status data between programs in steps. It&#8217;s an internal structure in memory which is filled on a first model run with period and personnel numbers. Then this info is transferred to all other programs in a model.</p>
<p>For correct run it&#8217;s a good idea to use system variants in all steps. In a model we set program and variant. I usually user CUS&; variants so user won&#8217;t change them.</p>
<p>This is an example of a model for US company.</p>
<p><a href="http://saphr.ru/wp-content/uploads/pust.jpg"><img class="alignnone size-medium wp-image-1125" src="http://saphr.ru/wp-content/uploads/pust-300x100.jpg" alt="pust" width="300" height="100" /></a></p>
<p> ;</p>