on 11-06-2007 5:46 AM
hello
guys can any body tell
what is a schema ?
wht are the important schemas in SAP HR
wht is the use of a schema and wht we do with the schema
i know abt zsup,zuoo and inoo so can
Hai...
Describes the sequence and contents of a country-specific payroll program (payroll driver) or time evaluation program (time evaluation driver). The personnel calculation schemas (from this point, abbreviated to schemas) define the basic process of payroll or time evaluation.
Structure
Main schemas and subschemas
A main schema must be executable. It can be used directly as a parameter in the payroll or time evaluation driver.
The payroll driver runs the sequence based on the tasks specified by the schema. The standard system (client 000) includes an international payroll schema (X000) and different international and country-specific schemas. If payroll or evaluation schemas exist for a country, the country-specific indicators are used in the schema names in the standard system.
The standard system includes a predefined international time evaluation schema (TM00) for the time evaluation driver.
Subschemas are schemas accessed by the COPY function within another schema. They can be accessed from a main schema or subschema. Subschemas are used to carry out subtasks for Payroll and Time Evaluation. Subschemas need only be executable for test purposes.
Schema elements
A personnel calculation schema consists of the following elements
Attributes
Source text
Documentation
http://help.sap.com/saphelp_47x200/helpdata/en/4f/d51dd9575e11d189270000e8322f96/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
theja
- there are country specific shemas for payroll eg: U000( US),G000(GB),IN00 (IND)
-but time shemas are aplicable globally eg: TM04( -ve time recording), TM00(+time recording),
go thru the shema in pe01 step by step for every bock wise then u will understand the sequence
and PCR in pe02
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
theja
Shema consists of sequence of functions & operations
- Functions reteive and process the data reqiured for each processing step
- certain fuctions call a PCR ( Personnel Calculation rule), relevent calculation rule process the data retreived by functions
- PCR consists of sepatate operations and always process logical units,
- Operations are arthmetic calculations.
hope this will give u an idea
srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SCHEMAS AND FUNCTIONS
In SAP Payroll, functions provide the high-level logic for payroll calculations. Functions perform general processing such as calculating payroll taxes on a given set of wages, reading wagetypes from specific infotypes, calculating benefits premiums, and storing the results of the payroll calculation. There are dozens of functions in SAP payroll, some are country-specific and others are not. Each function is defined and documented via transaction PE04; you can also view the function documentation via transaction PDSY in releases 4.5 and greater, or with report RPDSYS00 in earlier versions.
In SAP HR terms, a payroll function is not the same as an ABAP function. A payroll function does consist of ABAP code, but it is not executed in the same way an ABAP function would be. Payroll functions are executed within a schema by the payroll driver program (lets assume RPCALCU0).
A schema is just a collection of functions executed in a specific order each one passing its results on to the next. Schemas are always created and edited via transaction PE01, but are actually stored as a collection of rows in tables T52C0 (SAP standard schemas) and T52C1 (customer-created schemas and modified SAP-standard schemas). The payroll driver reads the lines in T52C0/T52C1 and executes the functions one by one.
So how do we make the leap from a payroll function stored in a table to the execution of ABAP code to get the work done? In transaction PE04 you can see the ABAP code associated with every function. The function name in the schema correlates to an ABAP form for example payroll function WPBP maps to the ABAP form fuwpbp; function USTAX maps to form fuustax. So when the payroll driver is executing the schema, it takes the function name from the current row in schema, puts an fu on the beginning of the name, and then does a perform statement on it. Its a very simple and elegant design.
WAGETYPES
In a broad sense, a wagetype simply holds a piece of data a rate, number, and/or amount. But more specifically, a wagetype has dozens of attributes that control how it is manipulated and processed. In the end though, it ends up as an object in the payroll results database that stores a rate, number, and/or amount.
The most typical use of a wagetype is to store the amounts of earnings, deductions and taxes in an employees paycheck. A persons base pay is stored in a wagetype, the amount of their United Way deduction is stored in a wagetype, and their taxable wages & taxes are stored in wagetypes. Wagetypes, as the primary data element for employee paychecks, are also mapped to FI/CO accounts to record the debits and credits resulting from the paycheck and reported on the W-2 and other tax forms.
Wagetypes can also be used to store statistical data such as the number of hours worked in a pay period, the average weekly wages for the past six months, or the amount of wages eligible for a profit sharing calculation. Wagetype attributes are stored in several tables, but the central table is T512W. Much more time will be spent on various aspects of T512W.
There are three categories of wagetypes model, technical, and user. Model wagetypes are delivered by SAP for customers to use as guidelines for creating their own wagetypes. They always start with a letter and SAP may add, delete or update them in system upgrades or HRSPs. Technical wagetypes always start with the / symbol, and are delivered by SAP. They are intended for very specific standard processing in payroll, and while you can modify them, SAP may also update them during upgrades or HRSPs. So if you ever (I mean EVER) change a technical wagetype, check it after each upgrade or HRSP to make sure it still has the attributes you want. And never delete a technical wagetype. User wagetypes always start with a number and these are wagetypes that SAP does not change during upgrades & HRSPs. OK, SAP rarely changes them in upgrades and HRSPs. User wagetypes are for all the company-specific payroll payments and deductions.
RULES AND OPERATIONS
A long-time client of ours once created a screen-saver message that stated Payroll Rules!. Those of us who were experienced SAP Payroll analysts or consultants immediately saw the double meaning, and corny humor, in that message. Rules contain the most basic logic used in SAP Payroll. Where a schema is a collection of functions, a rule is a collection of operations. An operation is a very basic piece of logic that is used, mostly, to manipulate wagetypes. For example, operation MULTI multiplies the number and rate fields of a wagetype to determine the amount to pay an employee. Operation OUTWP retrieves specific data about an employee so that another operation can make a decision on how to process it. For example, if the work contract on infotype 1 is UA then do x, if it is UB then do y, otherwise do z.
Operations can also be viewed in transactions PE04 and PDSY, and are edited with transaction PE02. Where a functions ABAP equivalent form starts with fu, an operations ABAP form starts with op. For example, operation MULTI would have an ABAP form opmulti. Rules, like schemas, are stored in a table rules are stored in T52C5.
The more senior SAP consultants who have been working with computer systems for many years often find similarities between payroll rules and programming mainframe computers in Assembly language. While there is nothing fancy about operations, when used correctly together they can be very powerful.
Hopefully weve presented a good but brief overview that makes sense. In our next SAP Payroll Technical Basics article we will get into more detail on the common functions used in SAPs payroll schema.
Thanks,
Atin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Theja,
This will give u an overview about the same.
http://www.insightcp.com/res_13.htm
Reward if helpful,
Regards,
Tomesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.