Site icon SAP Human Resources Experts And Solutions

STVARV variables

<p>Here is a deal&period; You can simplify users&&num;8217&semi; life with STVARV transaction&period; You can store variables in STVARV&period; Most developers are aware of this transaction while consultants are not&period; Convenience is in the ability to create variables&comma; define their values and &lpar;bonus&excl;&rpar; assign variables to fields in report variants&period;<&sol;p>&NewLine;<p>Let&&num;8217&semi;s say we create variable &&num;8220&semi;Gross wages&&num;8221&semi; where put all wage types referenced to gross income&period; Than we use this variable in all payroll reports in variants&period; Old style way is to define wage types directly in each variant in each report&period; In case you add even one wage type you need to adjust all variants for all reports&period; Nightmare&excl;<&sol;p>&NewLine;<p>New way is to create one variable&comma; assign wage types and next time you need to add just one wage type to gross income you just do one change in STVARV and it works everywhere&period; Brilliant&excl;<&sol;p>&NewLine;<p>So&&num;8230&semi;<br &sol;>&NewLine;<&excl;--more--><&sol;p>&NewLine;<p>In STVARV transaction create variable ZGROSS&lowbar;WAGES with all wage types set&period;<&sol;p>&NewLine;<p><a href&equals;"http&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;gross&lowbar;wages&period;jpg"><img class&equals;"alignnone size-medium wp-image-1052" src&equals;"http&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;gross&lowbar;wages-300x285&period;jpg" alt&equals;"gross&lowbar;wages" width&equals;"300" height&equals;"285" &sol;><&sol;a><&sol;p>&NewLine;<p>Let&&num;8217&semi;s take S&lowbar;PH9&lowbar;46000172 transaction as a report&period; Create variant where add our variable&period;<&sol;p>&NewLine;<p><a href&equals;"http&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;variant&period;jpg"><img class&equals;"alignnone size-medium wp-image-1053" src&equals;"http&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;variant-300x201&period;jpg" alt&equals;"variant" width&equals;"300" height&equals;"201" &sol;><&sol;a><&sol;p>&NewLine;<p>When we choose variant it automatically inserts our wage types from variable value&period;<&sol;p>&NewLine;<p><a href&equals;"http&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;select&lowbar;screen&period;jpg"><img class&equals;"alignnone size-medium wp-image-1054" src&equals;"http&colon;&sol;&sol;saphr&period;ru&sol;wp-content&sol;uploads&sol;select&lowbar;screen-300x235&period;jpg" alt&equals;"select&lowbar;screen" width&equals;"300" height&equals;"235" &sol;><&sol;a><&sol;p>&NewLine;<p>Just imaging how we can use it&&num;8230&semi;<&sol;p>&NewLine;

Exit mobile version