Site icon SAP Human Resources Experts And Solutions

Tutorial to setup SAP Work Schedules in HR module

<p>SAP HR Time Management &lpar;SAP PT module&rpar; starts with work schedule rule configuration&period; You know there are positive and negative accounting rules in SAP&comma; but both rely on work schedules &&num;8211&semi; time intervals when an employee has to work&period; In other HR software&comma; it named shifts&comma; in SAP it is daily work schedules&period; Work Schedule rules are another story&period; These terms mess people&comma; who have just started working with SAP time management&period; I decided to spend some time and explain you in details what is this&period; We will go through main steps in time management configuration one by one&period; And today we start with work schedules&comma; sap time management infotypes&comma; which use work schedules&comma; and how to generate work schedule&period;<&sol;p>&NewLine;<h3>Where to start<&sol;h3>&NewLine;<p>You have three options where to learn time management functionality&colon;<&sol;p>&NewLine;<ol>&NewLine;<li>Go to SAP courses<&sol;li>&NewLine;<li>Read this topic<&sol;li>&NewLine;<li>Take my <a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;need-sap-help&sol;" class&equals;"broken&lowbar;link">personal classes<&sol;a><&sol;li>&NewLine;<li>Watch my youtube channel <a href&equals;"https&colon;&sol;&sol;www&period;youtube&period;com&sol;user&sol;VirVit" target&equals;"&lowbar;blank" rel&equals;"noopener">https&colon;&sol;&sol;www&period;youtube&period;com&sol;user&sol;VirVit<&sol;a><&sol;li>&NewLine;<&sol;ol>&NewLine;<p>Made up your mind and come back&period; Today we talk about work schedules in SAP HCM&period; This is the most descriptive explanation how it should work&comma; real-world examples&period; best practices&period; Just read it&comma; understand it&comma; re-read again&period; Let&&num;8217&semi;s begin&period;<&excl;--more--><&sol;p>&NewLine;<h3>Set up work schedules in SAP<&sol;h3>&NewLine;<h4>The foundation of Time Management &&num;8211&semi; SAP Calendars<&sol;h4>&NewLine;<p>Yes&comma; calendars are system wide setting&comma; which is used in a lot of modules&comma; not only in SAP HR module&period; When you set it initially or change in future always keep in mind integration aspect &&num;8211&semi; don&&num;8217&semi;t hurt any other module data&period;<&sol;p>&NewLine;<h5>Holiday class<&sol;h5>&NewLine;<p>Holiday class is a special delimiter which tells SAP if any special day is a holiday&period; Under holiday we understand not only public holidays but company days&comma; special days for our employees when we track work time or pay differently&period; If your company celebrate company holiday or industry holiday which is usually not a public day off&comma; but you want to motivate people on this specific day&comma; you name it with different Holiday class&period; Further&comma; we&&num;8217&semi;ll see how holiday class affect work schedule generation&comma; absence counting through absence counting rules&comma; payments through wage type generation in Time Evaluation component of Time Management module&period;<&sol;p>&NewLine;<p>To setup Holiday class we need to create Holiday Calendar&period; Open transaction <strong>SCAL<&sol;strong> &&num;8220&semi;Factory calendar&&num;8221&semi;&period; There are three options&colon; Public holidays&comma; Holiday calendar&comma; Factory calendar&period;<&sol;p>&NewLine;<div id&equals;"attachment&lowbar;948" style&equals;"width&colon; 648px" class&equals;"wp-caption alignnone"><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;SCAL&lowbar;01&period;png"><img aria-describedby&equals;"caption-attachment-948" class&equals;"wp-image-948 size-full" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;SCAL&lowbar;01&period;png" alt&equals;"SAP Holiday Calendar" width&equals;"638" height&equals;"319" &sol;><&sol;a><p id&equals;"caption-attachment-948" class&equals;"wp-caption-text">SAP Holiday Calendar<&sol;p><&sol;div>&NewLine;<p>The sequence is simple&period; At first&comma; we create holiday list&comma; where each item is a holiday or special day&period; These holidays could be fixed or flexible what you see in a picture below&period; And on the last screen you define date parameters&comma; name and holiday class&period; We could have values 0 to 9&period; In a standard SAP system it&&num;8217&semi;s a good practice to use 0 for regular days &lpar;or non-holiday day&comma; doesn&&num;8217&semi;t matter workday or weekend&comma; just not a holiday&rpar;&comma; 1 for public or government holidays and 2-9 for customer holidays&period; You&&num;8217&semi;d better stay with these guidelines as many settings in the time management are based on this approach&period;<&sol;p>&NewLine;<div id&equals;"attachment&lowbar;949" style&equals;"width&colon; 650px" class&equals;"wp-caption alignnone"><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;SCAL&lowbar;02&period;png"><img aria-describedby&equals;"caption-attachment-949" class&equals;"wp-image-949 size-large" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;SCAL&lowbar;02-1024x323&period;png" alt&equals;"Create new holiday class in SAP Time Management" width&equals;"640" height&equals;"202" &sol;><&sol;a><p id&equals;"caption-attachment-949" class&equals;"wp-caption-text">Create new holiday class in SAP Time Management<&sol;p><&sol;div>&NewLine;<p>Once we&&num;8217&semi;ve done with holiday classes and holidays let&&num;8217&semi;s switch to Holiday Calendar&period; Go back to <strong>SCAL<&sol;strong> transaction main screen and choose &&num;8216&semi;Holiday Calendar&&num;8217&semi;&period; Holiday Calendar is like a wallpaper calendar&comma; where you place holidays on specific days&period; All you need here is to choose calendar ID &lpar;or use standard one for a country&rpar;&comma; enter its name and add holidays to the list with &&num;8220&semi;Assign Holiday&&num;8221&semi; button&period; It&&num;8217&semi;s a good practice to assign holidays far further 10-30 years forward&period;<&sol;p>&NewLine;<div id&equals;"attachment&lowbar;950" style&equals;"width&colon; 682px" class&equals;"wp-caption alignnone"><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;SCAL&lowbar;03&period;png"><img aria-describedby&equals;"caption-attachment-950" class&equals;"wp-image-950 size-full" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;SCAL&lowbar;03&period;png" alt&equals;"Assign holidays to Holiday Calendar in SAP" width&equals;"672" height&equals;"446" &sol;><&sol;a><p id&equals;"caption-attachment-950" class&equals;"wp-caption-text">Assign holidays to Holiday Calendar in SAP<&sol;p><&sol;div>&NewLine;<p>Now we have one or more holiday calendars &lpar;depends on your business requirements&rpar;&period; Next thing is a Factory calendar&period;<&sol;p>&NewLine;<h5>Factory calendar<&sol;h5>&NewLine;<p>Factory calendar refers to the holiday calendar&period; You can have as many factory calendars as you want&period; What important is this calendar is assigned to personnel areas in SAP IMG and widely used across the ERP system&colon; for job schedules&comma; BW schedules&comma; some planning in Plant Maintenance and other modules&period; You never assign factory calendar directly to an employee&comma; only through administration structures&period;<&sol;p>&NewLine;<p><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;SCAL&lowbar;04&period;png"><img class&equals;"alignnone size-full wp-image-952" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;SCAL&lowbar;04&period;png" alt&equals;"Factory Calendar" width&equals;"634" height&equals;"544" &sol;><&sol;a><&sol;p>&NewLine;<h4>SAP Time Management Work Schedules<&sol;h4>&NewLine;<p>Work schedules are made of Factory Calendar&comma; Daily Work schedule&comma; Break Schedule&comma; Period Work Schedule&comma; Work Schedule Rule&comma; and Variants&period; All settings performed under Time Management -&gt&semi; Work Schedules menu in <strong>SPRO<&sol;strong> transaction&period;<&sol;p>&NewLine;<div id&equals;"attachment&lowbar;955" style&equals;"width&colon; 408px" class&equals;"wp-caption alignnone"><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;img&lowbar;pt&period;png"><img aria-describedby&equals;"caption-attachment-955" class&equals;"size-full wp-image-955" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;img&lowbar;pt&period;png" alt&equals;"SAP Work Schedule Customization Menu" width&equals;"398" height&equals;"183" &sol;><&sol;a><p id&equals;"caption-attachment-955" class&equals;"wp-caption-text">SAP Work Schedule Customization Menu<&sol;p><&sol;div>&NewLine;<h5>Break schedule<&sol;h5>&NewLine;<p>Break schedule is the smallest gear in work schedule engine&period; It has variations of start and end times of time which we normally call breaks&comma; lunch but it could be even paid break time&period; Breaks could be static or dynamic&comma; occurring after a number of hours met&period;<&sol;p>&NewLine;<div id&equals;"attachment&lowbar;957" style&equals;"width&colon; 623px" class&equals;"wp-caption alignnone"><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;break&lowbar;schedule&period;png"><img aria-describedby&equals;"caption-attachment-957" class&equals;"size-full wp-image-957" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;break&lowbar;schedule&period;png" alt&equals;"SAP Break Schedule" width&equals;"613" height&equals;"345" &sol;><&sol;a><p id&equals;"caption-attachment-957" class&equals;"wp-caption-text">SAP Break Schedule<&sol;p><&sol;div>&NewLine;<p>You can see here unpaid and paid columns where we put hours&period; If there is something in after column it means to be dynamic schedule and system will automatically add a break after these hours met starting from daily work schedule start time&period; I&&num;8217&semi;ll show this latter&period;<&sol;p>&NewLine;<h5>Daily work schedule<&sol;h5>&NewLine;<p>There are two main parts&colon; variant and work schedule&period; Variants allow SAP to choose the right work schedule modification&period; Assume we have two variants&colon; normal and reduced shift&period; Both would have the same work schedule code&comma; but different shift length inside&period; How can we say the system to choose the right one&quest; With variant which in turn is based on holiday class&comma; we&&num;8217&semi;ve already taken care of&period;<&sol;p>&NewLine;<p><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;work&lowbar;schedule&lowbar;variant&period;png"><img class&equals;"size-full wp-image-958" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;work&lowbar;schedule&lowbar;variant&period;png" alt&equals;"SAP Daily Work Schedule Variant" width&equals;"632" height&equals;"390" &sol;><&sol;a><&sol;p>&NewLine;<p>SAP Daily Work Schedule VariantNext words would be tough to understand&period; We have 4 columns&colon; Holiday class&comma; Holiday Class next day&comma; Day&comma; Variant&period; Looks strange&comma; doesn&&num;8217&semi;t it&quest; Two fields Holiday class and Holiday Class Next Day have 10 symbols each&period; Each symbol corresponds to holiday class starting 0 to 9&period; If there is X in the first position&comma; it&&num;8217&semi;s a holiday class 0&period; If there is X in the third position&comma; it&&num;8217&semi;s a holiday class 2&period; The same for a day but there are 7 symbols &&num;8211&semi; one for each calendar weekday&period;<&sol;p>&NewLine;<p>Let me read Rule 10&comma; Number 01&period; If today is a holiday class 0 and tomorrow is any holiday class and today is Friday&comma; return an empty variant&period; If we recall&comma; holiday class 0 is a normal workday&comma; so this row in human language sounds like&colon; if today is a normal day&comma; tomorrow I don&&num;8217&semi;t care and it&&num;8217&semi;s Friday&comma; then return an empty variant&period;<&sol;p>&NewLine;<p>Let&&num;8217&semi;s read the second row of Rule 10&period; If today is a normal day and tomorrow is a holiday &lpar;holiday class 1&rpar; and it&&num;8217&semi;s Friday&comma; return an empty variant&period;<&sol;p>&NewLine;<p>Third option&colon; today and tomorrow is any holiday class and it&&num;8217&semi;s Friday&comma; then return variant A&period;<&sol;p>&NewLine;<p>In some countries&comma; we use variants to reduce normal hours by one hour&period; We create one daily work schedule with two variants&period; If it&&num;8217&semi;s empty variant than nothing is reduced as it&&num;8217&semi;s a normal day&period; If variant A&comma; than dayshift&comma; ends earlier by one hour&period; And if today is a holiday&comma; return variant F which is set for 0 hours workday &&num;8211&semi; day off in other words&period; Here is an example for Russia&period;<&sol;p>&NewLine;<div id&equals;"attachment&lowbar;959" style&equals;"width&colon; 399px" class&equals;"wp-caption alignnone"><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;work&lowbar;schedule&lowbar;variant&lowbar;ru&period;png"><img aria-describedby&equals;"caption-attachment-959" class&equals;"size-full wp-image-959" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;work&lowbar;schedule&lowbar;variant&lowbar;ru&period;png" alt&equals;"Work Schedule Variant for Russia" width&equals;"389" height&equals;"50" &sol;><&sol;a><p id&equals;"caption-attachment-959" class&equals;"wp-caption-text">Work Schedule Variant for Russia<&sol;p><&sol;div>&NewLine;<p>It&&num;8217&semi;s daily work schedule turn&period; Have a look at this image&period; There are a lot of fields to discuss&comma; but today we&&num;8217&semi;ll pick the most useful leaving other cases for an advanced level of this topic&period;<&sol;p>&NewLine;<div id&equals;"attachment&lowbar;961" style&equals;"width&colon; 551px" class&equals;"wp-caption alignnone"><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;daily&lowbar;work&lowbar;schedule&period;png"><img aria-describedby&equals;"caption-attachment-961" class&equals;"size-full wp-image-961" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;daily&lowbar;work&lowbar;schedule&period;png" alt&equals;"SAP Daily Work Schedule in Time Management" width&equals;"541" height&equals;"813" &sol;><&sol;a><p id&equals;"caption-attachment-961" class&equals;"wp-caption-text">SAP Daily Work Schedule in Time Management<&sol;p><&sol;div>&NewLine;<p>If we enter planned working times and break schedule and hit enter&comma; the system will calculate planned working hours herself&period; DWS selection rule is that work schedule setting we&&num;8217&semi;ve seen above when talked about variants&period; It allows to chose variants of the same daily work schedule code&period;<&sol;p>&NewLine;<p>If this work schedule reflects day off like weekend day we tick &&num;8216&semi;No planned working hrs&period;&&num;8217&semi; checkbox and the system inserts zero hours into planned working hours&period; Pretty easy&period;<&sol;p>&NewLine;<p>If you don&&num;8217&semi;t work with positive time accounting in SAP there is only one field left &&num;8211&semi; Daily WS &lpar;work schedule&rpar; class&period; This is another grouping feature to allow tracking&comma; account&comma; pay this specific day differently&period; It&&num;8217&semi;s independent of holiday class but can tell the system to pay a premium for planned hours as an example&period; There is no standard value&comma; so you&&num;8217&semi;re free to choose yours&period;<&sol;p>&NewLine;<h5>Period work schedule<&sol;h5>&NewLine;<p>A template of a sequence of daily work schedules named <strong>period work schedule<&sol;strong>&period; The period could be any length and should end with an asterisk&period; We could have a lot of templates for work schedules like 5 workdays &ast; 2 days off&comma; 4&ast;4&comma; 2&ast;1&comma;10&ast;4 &&num;8211&semi; absolutely no limits&period; Once system finds the asterisk or the end of the sequence it rolls it out and starts over with a new copy of the sequence&period; The idea is simple&comma; take a look at standard schedules to see a logic and templates&period;<&sol;p>&NewLine;<p><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;period&lowbar;work&lowbar;schedule&period;png"><img class&equals;"alignnone size-full wp-image-962" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;period&lowbar;work&lowbar;schedule&period;png" alt&equals;"SAP Period Work Schedule in Time Management" width&equals;"628" height&equals;"491" &sol;><&sol;a><&sol;p>&NewLine;<h5>Work schedule Rule<&sol;h5>&NewLine;<p>Work schedule rule is the second part after the variants by its complexity&period; Working time frame in different countries used creatively&period; In some&comma; it takes time for seniority or eligibility calculations&comma; in other for overtime hours&comma; in some for reporting and FTE calculations&period;<&sol;p>&NewLine;<p>Work schedule generation is the key&period; Period work schedule is taken from the previous step&period; Ref date is the first date when our template starts&period; If we have here 01&period;01&period;2018 and P121 period work schedule from the image above&comma; the first workday with PD12 daily work schedule would start on 01&period;01&period;2018&period; On Jan 8th it would be PN12 &lpar;first day in second week&sol;row in the table&rpar;&period;<&sol;p>&NewLine;<p>If we change star point to 8 everything will work the same way except the first day on 01&period;01&period;2018 would be PN12 as system offsets start day for period work schedule by 8&period; If we set here 5 it would be first FREE schedule in the first row on the picture above&period;<&sol;p>&NewLine;<p>Here is the trick&period; If you have teams who work in a 1-2-3 shift rotating the shift every week&comma; it&&num;8217&semi;s a good practice to create one-period work schedule with 3 weeks&colon; the first week with a shift 1&comma; second &&num;8211&semi; shift 2&comma; third &&num;8211&semi; shift 3&period; You&&num;8217&semi;ll have one-period work schedule &lpar;one template&rpar; and three different work schedule rules with the same start point but different offsets &lpar;field start point&rpar;&period; It&&num;8217&semi;s a time saver&period;<&sol;p>&NewLine;<div id&equals;"attachment&lowbar;964" style&equals;"width&colon; 628px" class&equals;"wp-caption alignnone"><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;work&lowbar;schedule&lowbar;rule&period;png"><img aria-describedby&equals;"caption-attachment-964" class&equals;"size-full wp-image-964" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;work&lowbar;schedule&lowbar;rule&period;png" alt&equals;"Work Schedule Rule" width&equals;"618" height&equals;"567" &sol;><&sol;a><p id&equals;"caption-attachment-964" class&equals;"wp-caption-text">Work Schedule Rule<&sol;p><&sol;div>&NewLine;<h4>How to generate Work Schedules<&sol;h4>&NewLine;<p>We&&num;8217&semi;re almost set with the work schedules&period; We have defined work schedules through templates&comma; the system knows how to extract and roll out data at some point in time&period; But we have factory calendar&comma; holiday calendar&period; When we define work schedule rule we specify holiday calendar&comma; so the system understands where to take holidays and apply holiday classes to a variant selection rule&period; When we start generating work schedules in internal tables system applies holiday calendars to work schedules and generates final version per each year&period;<&sol;p>&NewLine;<p>To generate work schedules we can use either manual way or automatic&period; In manual&comma; we can create and adjust work schedules in <strong>PT01&sol;PT02<&sol;strong> transactions&period; They are simple and flexible&period; Usually&comma; we use them we need to move some daily work schedules to another place if variants can&&num;8217&semi;t help&period;<&sol;p>&NewLine;<div id&equals;"attachment&lowbar;966" style&equals;"width&colon; 651px" class&equals;"wp-caption alignnone"><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;pt01&period;png"><img aria-describedby&equals;"caption-attachment-966" class&equals;"size-full wp-image-966" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;pt01&period;png" alt&equals;"PT01 - Create work schedule" width&equals;"641" height&equals;"575" &sol;><&sol;a><p id&equals;"caption-attachment-966" class&equals;"wp-caption-text">PT01 &&num;8211&semi; Create a work schedule<&sol;p><&sol;div>&NewLine;<p>When you have hundreds of work schedules it&&num;8217&semi;s better to use automatic mode&period; Run <strong>OG00<&sol;strong> transaction&comma; feel the selection screen and run&period; The system generates so-called batch input session&comma; which you can find in <strong>SM35<&sol;strong> transaction&period; It&&num;8217&semi;s some sort of imitation of human manual data entry&period; The system repeats each step and fills fields on the screen from the dataset&period; In <strong>SM35<&sol;strong> transaction select your session and run it in the background&period; Once it&&num;8217&semi;s finished you&&num;8217&semi;re all set&period;<&sol;p>&NewLine;<div id&equals;"attachment&lowbar;967" style&equals;"width&colon; 984px" class&equals;"wp-caption alignnone"><a href&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;SM35&period;png"><img aria-describedby&equals;"caption-attachment-967" class&equals;"size-full wp-image-967" src&equals;"https&colon;&sol;&sol;saphcmsolutions&period;com&sol;wp-content&sol;uploads&sol;2018&sol;03&sol;SM35&period;png" alt&equals;"SM35 SAP Batch Input" width&equals;"974" height&equals;"242" &sol;><&sol;a><p id&equals;"caption-attachment-967" class&equals;"wp-caption-text">SM35 SAP Batch Input<&sol;p><&sol;div>&NewLine;<p>The very last step is to transport your transport request to the quality and then to the live systems&period;<&sol;p>&NewLine;<h4>Where to use Work Schedules<&sol;h4>&NewLine;<p>After the transport request is successfully imported to the live system users can use work schedules&period; There are several infotypes and fields where to use work schedules&period;<&sol;p>&NewLine;<p>Infotype 0007 to set work schedule rule&period;<&sol;p>&NewLine;<p>Infotype 2003 to set substitution to an employee for a specific period&period;<&sol;p>&NewLine;

Exit mobile version