Go Back   Wiki NewForum > SAP HR Configuration 6000 Real-time Screen Shots > Download Real-time Configuration Documents with 6000 Screen Shots

Download Real-time Configuration Documents with 6000 Screen Shots SAP HR Configuration 6000 Real-time Screen Shots SAP HR, Configurations, Steps, Online Training, Screen shots, Download, Payroll, Time Management, Time Evaluation, TM, Personnel Administration, PA, Organization Management, OM, Personnel Development, PD, Sample Resumes, Free, Tips, Documents, SAP Help, SAP HR Forum, Discussion Forum, E-recruitment in SAP HR , mySAP, Certification, Interview Questions & Answers, Course Employee Master Data, Work Schedules, Payroll sub modules, Absence, Attendance, Quotas, Gross salary, Tax calculation, Statutory, Legislation, Forms, Reports, Year end Activities, Certification Review, Technical Principles, Third Party Vendors, Testing, UAT, SAP HR FAQ, ESS and MSS, AS-IS, TO-BE, Integration, GL, FICO, SD, MM, Transaction Codes, T-codes, LSO, HR module Tables, Queries, Positive & Negative Time Recording, PCR, Schema, Features, Functions, Operations, SDN SAP, Payroll Driver, Errors, Solutions, Structures in Human Resources, Actions, IMG Steps, Path, Benefits, Info Type, Country Payrolls, India, USA, Canada, Germany, France, Specification, Error Message, HR Sapscripts, HR ABAP Reports, HR Authorizaton, Training and Event Management, SAP Solution Manager, CATS, Wage Types, Free HR eBook (PDF) SAP Reference Books on Human Resources, SAP Certification Exam & More.

Reply
 
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.
  #1  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default Topic 40: Schema in Payroll

Hope You all reading Document for Schema, Sub-Schema's & Functions.

Write a small Note for each Sub-Schema's & Functions.

Now we will see How Schema works in Payroll, how the Master Data reads and processed in Payroll.



Before that have a look at Tables where the Data stores in the payroll process. In the Attachment.

In a short Note:

Input Table - IT: Read the required data from Master Data.

Output Table - OT: Stores the output of one step, it is not the final result and it will go to next step as Input Table IT.

Results Table - RT: Final Results of the PAYROLL, like Net Pay, Gross Pay...
Attached Files
File Type: ppt SAP TABLES.ppt (37.0 KB, 210 views)
Reply With Quote
  #2  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Wage Type Processing Basic Concepts



Relationship of Payroll Driver, Schema (Functions), Rules (Operations)


Each country payroll version supported by SAP has a program called the "payroll driver" that calculates payrolls. For example, in the U.S., the payroll driver is RPCALCU0, in Mexico it is HMXCALC0, and in Canada RPCALCK0. Each one is different, but they share a common core of functionality. The job of the payroll driver is to process payroll functions as specified in a payroll schema. These payroll functions each perform a specific job, for example - reading data from infotypes, calculating taxes, and processing wage types. Some functions process payroll rules. Rules are a collection of payroll operations. Each operation does a small unit of work, such as multiplying a wage type’s number by a rate to get an amount.





Last edited by freesaphr; at .
Reply With Quote
  #3  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default


Schemas are edited with transaction PE01, and rules PE02.
Functions and operations are maintained with transaction PE04.

To view payroll results, use transaction pc_payresult (or in earlier R/3 releases go to Tools>Payroll result>Display in the Payroll menu).

The standard payroll schema for a country can be derived from table t500l. If the country in table t500l has an X in the Old Naming Conv field, then the schema is HR Country Indicator plus 000. Otherwise, it is the ISO Code plus 00. So the U.S. has schema U000 and for Mexico it is MX00.

ffice:smarttags" name="country-region">ffice:smarttags" name="place"> Creating Custom Schemas and Rules

Schema and Rule Naming Conventions

Customer modified schemas and rules need to begin with Z. Many customers simply replace the first letter of the standard schema with a Z – i.e., their modified copy of UAP0 becomes ZAP0. But there can be problems with that convention. For example, you might later implement Canadian payroll and need a modified version of schema KAP0, but ZAP0 is already used for the U.S. For many years, I’ve used a naming convention of Z plus the country identifier and a sequential number for modified rules and schemas. So a modified UAP0 would become ZU01 and a modified KAP0 becomes ZK01.


In the schema and rule editors, place your cursor on a function or operation and press F1 to get help text. A schema or a rule’s documentation is available in the editor via the Goto>Documentation menu. In the schema editor, the F4 key shows possible values for each of the four parameters for whatever function is entered on that line. The same documentation – and more – is available via transaction PDSY.


Creating a Test Schema

For testing purposes, it is useful to have a version of the payroll schema that does not care about the control record (transaction PA03) settings. Bypassing the control record lets you run and save the results for any pay period needed, without having to update the control record. There’s no problem with having such a schema around, since the payroll driver does not save payroll results from a schema that ignores the control record in a production system. For examples, I will show you how to create two schemas – ZUA0, which will be used in production and will check the control record, and ZUAT, which ignores the control record and is used for testing purposes only.


First, create a copy of SAP’s schema UIN0 and name it ZUA2. In the schema editor (transaction PE02) enter schema UIN0, and click the copy ****on, or Schema>Copy in the menu. Enter ZUA2 for the To schema. Then edit ZUA2 and make the CHECK ABR line executable by removing the asterisk in the D column. (See Figure 2.) The CHECK function is commented out by SAP in the standard schema, so you uncomment it here for use in the main ZUA0 schema.

Last edited by freesaphr; at .
Reply With Quote
  #4  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Now We will see how the Schema works in Payroll

Take an Example US00 Schema

Reply With Quote
  #5  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Have a look at Sub-Schema UBD0 - Basic Data.

As we know that BASIC DATA is reads the required Data from Master Data.

Reply With Quote
  #6  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

After Double Clicking you will find the Full Sub-Schema UBD0


Reply With Quote
  #7  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Here the Full Details of Sub-Schema with Sequence, the same sequence will process in Payroll.

Reply With Quote
  #8  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Lets Run the Payroll using SAME SCHEMA

Reply With Quote
  #9  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Here the Schema with all the steps (Sub-Schemas)

Reply With Quote
  #10  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Lets have a look at Basic Data

Reply With Quote
  #11  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Look at the same sequence which followed in Schema.

Means you can add new RULE as per your client requirement.

I.e., called Personnel Calculation Rules (PCR) will teach later.


Reply With Quote
  #12  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Lets see ENAME - Retrieve Employee Name.

This is a Function, use F1 to read doc.

Use

Function ENAME reads the last valid name of the employee in the payroll
period. The formatting used for the country in question is used when
displaying this name.

In German payroll, Function P0002 is used to read the name of the
employee.

Input

This function has no parameters. Means Par 1, Par 2, Par 3 & Par 4 are empty.


We will see how this reading in Payroll

Reply With Quote
  #13  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Look at the same ENAME function in PAYROLL log.

Reply With Quote
  #14  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Reply With Quote
  #15  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default


In Payroll Log each step you will find.

Input
Processing
Output


Here no output because this Sub-Schema tells only Reads, we will not Process.


This Basic Data Processing provides inputs to next steps (Sub-Schemas)

Reply With Quote
  #16  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Input Table Reads Data from Master Data and here ENAME reads from P0001 & P0002

P0001 : Table contains Data in Master Data

Reply With Quote
  #17  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Click on P0001 to see the Data


Reply With Quote
  #18  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Always reads according to dates because if more than 1 record like Mid-month change....

Reply With Quote
  #19  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Continue to the above table

Reply With Quote
  #20  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default Important

Now we will see WPBP - Reads org. Assigment/Basic Pay

Reply With Quote
  #21  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

WPBP split
Payroll (PY)

A division of the payroll period due to changes to entries in the following infotypes:
  • Actions (000)
  • Organizational Assignment (0001)
  • Planned Working Time (0007)
  • Basic Pay
  • Cost Distribution (0027)
A WPBP enables a calculation of remuneration that is accurate to the day.
If an employee receives a pay increase within a payroll period, the Basic Pay infotype (0008) is changed and delimited as of a specific date.


During payroll, the system writes the Basic Pay wage type to the results table with two different indicators. These split indicators are a link to the WPBP table that contains the relevant values. The system takes into consideration both data records for the corresponding partial periods when calculating remuneration.
Reply With Quote
  #22  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Use

Function WPBP transfers master data on the work center and basic pay for the payroll period to internal table WPBP. The basic pay wage types are stored in the internal table IT.

Procedure

This data usually remains the same for the entire period. However, in certain cases different data may exist for different partial periods. If
this is the case, the entries are identified in internal tables WPBP and IT by means of split indicators.


Syntax (Tells more in Details of the Function)

Par2 Different pay-scale type
No check.
All entered values are valid.

Par3 rel. time unit
X WPBP for each time unit

For comparison calculations, the alternative pay scale type can be used to override the pay scale type from infotype 0008, (Basic Pay). This
parameter setting is used to convert the collective agreement for the metal industry of June 01, 1994. If you specify a pay scale type which
has not been maintained correctly in the indirect valuation tables, the personnel number is rejected during indirect valuation.

If you set a third parameter for the function, WPBP is split in greater detail, in other words, if the time unit for the pay scale does not
correspond to the time unit for the payroll area.

Example

An employee belongs to a payroll area for which payroll is run on a monthly basis and his basic pay data states that he or she receives a
weekly wage. When parameter 3 is set, a WPBP split is created for each week.
Reply With Quote
  #23  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default



Look at here Input, Processing & Output
Reply With Quote
  #24  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Similar way have a look at P0000, P0001.

Look at P0007

Reply With Quote
  #25  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

P0007 Reads Daily, Weekly & Monthly Working hours

Reply With Quote
  #26  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Reply With Quote
  #27  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Input

P0008 - Pay Scale Type, Area, Group & Level

Reply With Quote
  #28  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Processing


Reply With Quote
  #29  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Click on that you will find

Reply With Quote
  #30  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default


Output

Reply With Quote
  #31  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

P0008 Basic Pay so contains Wage types right, here they are...

Reply With Quote
  #32  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

With Amount

Reply With Quote
  #33  
Old ,
freesaphr freesaphr is offline
Administrator
 
Join Date: Jan 2009
Posts: 1,172
Rep Power: 10
freesaphr is on a distinguished road
Default

Hi

In the same way compare full Schema with Payroll Log and understand well.

And Where ever you finds PIT Function after that in Par 1 will have PCR, Means some Personal Calculation Rule.

ANY QUESTIONS?


Thanks


Reply With Quote
  #34  
Old ,
hrtraining2009 hrtraining2009 is offline
Junior Member
 
Join Date: Apr 2009
Posts: 4
Rep Power: 0
hrtraining2009 is on a distinguished road
Default Control Record

Quote:
Originally Posted by freesaphr View Post
Hi

In the same way compare full Schema with Payroll Log and understand well.

And Where ever you finds PIT Function after that in Par 1 will have PCR, Means some Personal Calculation Rule.

ANY QUESTIONS?


Thanks


I got a problem in control record topic. I am getting an error 'Field value nodes must have dependent nodes' in process feature ABKRS : decision tree. Check out the attached screen shot . Thanks
Reply With Quote
  #35  
Old ,
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 137,934
Rep Power: 10
welcomewiki has disabled reputation
Default

Hi

This is becasue after your MOLGA you must go either Company Code or Personnel Area/Subarea or directly Employee Groups/Subgroups, BUT YOU CANT GIVE COMPANY CODE AND IN THE SAME LEVEL PERSONNEL AREA.

In the error screen after MOLGA you given COMPANY CODE and in the same line PERSONNEL AREA.

Give like MOLGA next Company Code then Personnel area...

Thanks

Quote:
Originally Posted by hrtraining2009 View Post
I got a problem in control record topic. I am getting an error 'Field value nodes must have dependent nodes' in process feature ABKRS : decision tree. Check out the attached screen shot . Thanks
Reply With Quote
  #36  
Old ,
johny.thin johny.thin is offline
Junior Member
 
Join Date: Jan 2010
Posts: 1
Rep Power: 0
johny.thin is on a distinguished road
Default

Please put the screen shot of F1 wherever applicable...



Quote:
Originally Posted by freesaphr View Post
Lets see ENAME - Retrieve Employee Name.

This is a Function, use F1 to read doc.

Use

Function ENAME reads the last valid name of the employee in the payroll
period. The formatting used for the country in question is used when
displaying this name.

In German payroll, Function P0002 is used to read the name of the
employee.

Input

This function has no parameters. Means Par 1, Par 2, Par 3 & Par 4 are empty.


We will see how this reading in Payroll

Reply With Quote
  #37  
Old ,
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 137,934
Rep Power: 10
welcomewiki has disabled reputation
Default

Hi

Sure, almost you can read the context same as F1 only.

For more info you can use F1
Quote:
Originally Posted by johny.thin View Post
Please put the screen shot of F1 wherever applicable...
Reply With Quote
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Topic 12: Payroll Strutures freesaphr Download Real-time Configuration Documents with 6000 Screen Shots 92
Topic 39 : Schema Process welcomewiki Download Real-time Configuration Documents with 6000 Screen Shots 24
Schema & PCR Full Details saphr Career Forum 0


hit counter code
All times are GMT. The time now is .


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
January, February, March, April, May, June, July, August, September, October, November, December 1st, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th, 9th, 10th, 03th, 12th, 13th, 14th, 15th, 16th, 17th, 18th, 19th, 20th, 21th, 22nd, 23rd, 24th, 25th, 26th, 27th, 28th, 29th, 30th, 31st.1.08.2014,2.08.2014,3.08.2014,4.08.2014,5.08.2014,6.08.2014,7.08.2014,8.08.2014,9.08.2014,10.08.2014,11.08.2014,12.08.2014,,13.08.2014, 14.08.2014,15.08.2014,16.08.2014,17.08.2014,18.08.2014,,19.08.2014,20.08.2014,21.08.2014,22.08.2014,23.08.2014,24.08.2014,,25.08.2014, 26.08.2014,27.08.2014,28.08.2014,29.08.2014,30.08.2014,,31.08.2014,