Go Back   Wiki NewForum > SAP HR Configuration 6000 Real-time Screen Shots > SAP HR/HCM Forum

SAP HR/HCM Forum 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, 5.00 average.
  #1  
Old ,
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 137,783
Rep Power: 10
welcomewiki has disabled reputation
Default SAP Payroll Schema. Functions , Rules and Operations – An overview

.

How to read rules and Schemas

Download 6000+ SAP Real-time Screen shots & Documents

1.Structure of relationship in Rules and Schemas:

a)Schemas consist of Functions and Sub-schemas
b)Some functions have the rules attached to it as one of its parameter
c)Rules consist of a set of operations to perform some actions
d)Operations and Functions are the executable components





As per the diagram Set of Operations make a Rule which in turn attached to some functions and those functions embedded in Schemas or Sub-schemas (Inside the main schemas) to decide the flow of the payroll program.

Structure of a Schema:





Func: This column is used to give a function name.

Par1, Par2, Par3, Par4:
1. Function has maximum four parameters.
2. The function can have zero to four parameters as per the definition of the function.
3. Pressing F4 we can get the list of all the values which can be used as parameters.
4. For some functions in the first parameter is the name of the rule created.
5. These parameter values are predefined the function is being created.
D:
1. This column is used to comment and uncomment a function.
2. If (*) is being put then the line is commented and will not be executed in Payroll processing.
3. If nothing is given then the line would be executable.
Desc
1. In this column description for the function is being used.




Functions: Functions are used for;
• Performing some payroll computations (E.g. INEPF function calculates the PF amount of an employee during payroll run)
• Calling rules (E.g. P0045 function calls a rule INLN to compute the loan details of a personnel number).
• Getting data from Infotypes (E.g. P0581 will get the data from Infotype-581 for payroll processing).
• For some decisions. (E.g. IF & ENDIF function is used to execute as per the true and false decisions) etc.

Rules:
Rules are used for holding a set of operations for a particular requirement to be accomplished.

Download 6000+ SAP Real-time Screen shots & Documents

Attributes:
1. Program Class.
a. There are two program classes to be assigned to the rule while creating.
i. Payroll (C).
ii. Time (T).
2. Country Grouping.
a. For Payroll program class the country grouping should be mentioned. (E.g. 40 for India).
b. For Time management rule the country grouping should be (*).
3. Employee Sub-grouping.
a. All the wagetypes have an attribute of employee sub-grouping.
b. It varies client to client.
c. Value 3 means EE sub-grouping is 3.
d. Value * means all EE Sun-groupings.
4. Wagetypes.
a. The wagetype in the internal table which is meant to be processed by the rule.
b. If a value for Wagetype is being given then the particular wagetype is being queried for processing.
c. If **** has been given then all the wagetypes present in the particular internal table will be processed.



Structure of the Rule.






Frequently Used Internal Tables in PY Processing:

The Payroll driver uses lots of internal tables used for storing data temporarily in the program for processing. Some of the important internal tables are:




The structure of internal tables:



EE Sub-grouping:

1. The Wagetype is assigned to a particular Employee sub-group.
2. 3 is a particular employee subgroup for basic pay wagetype.
3. * value means for all EE sub-grouping.
Attached Files
File Type: zip Schema & PCR Real time Screen shots .zip (1.20 MB, 97 views)
Reply With Quote
  #2  
Old ,
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 137,783
Rep Power: 10
welcomewiki has disabled reputation
Default

Wagetype Code:
1. The Wagetype code number is the number assigned to a particular pay component.

Wagetype Description:
1. The description for the wagetype code.

NUM:
1. If there is a split for the wagetypes then this NUM field will make them different.
2. If A person’s basic salary is changed in the mid of the month then the wagetype will be split in two amounts with NUM = 01 and NUM = 02.

RTE:
1. The RTE column stores a value for;
a. Rate of interest.
b. Number of leave days.
c. Projection factor. Etc.
2. E.g. In the above diagram /401 wagetype has RTE value 10 which is the projection factor used for different calculations.

AMT:
1. This column possesses the amount of the particular wagetype.

Use of the internal tables:

1. The internal tables are being used for calculations on the NUM, RTE & AMT fields.
2. These internal tables are being read by the rules row by row.
3. The Calculation rule would be only processed for those wagetypes which are specified in the rule’s source code.
4. The row in the internal table containing the wagetype which has been defined in rule attributes will be placed in the header of the internal table forprocessing.
5. The processing would be as per the operations used in the rule.




Some important Operations & Functions:

  • The editor for Operations and Functions is PE04.
• While the payroll driver encounters a function and operation it would call a subroutine written in the payroll driver.
• The subroutine name for the operation will be OP****, Where **** will be the name of the operation.
  • For E.g. for Operation AMT the subroutine name would be OPAMT.
• The code written for the function will be found as a subroutine in payroll driver as FU****, where **** will be the name of the function.
  • For E.g. for function INEPF the subroutine name would be FUINEPF.

Operations:

AMT:
1. This Operation would fetch the Amount of the wagetype queried in the rule, in the Variable AMT for processing.
2. The Syntax of the Operation is ZZZOVVVV.
3. ZZZ -> AMT.
4. O -> Operand.
5. VVV -> Value or Variable.
6. For E.g. (AMT= 1000) will fetch the Amount of Wagetype 1000 into AMT.
7. Pressing F1 on the AMT Operation will provide the documentation.




RTE:
1. This Operation would fetch the Rate of the wagetype queried in the rule, in the Variable RTE for processing.
2. The Syntax of the Operation is ZZZOVVVV.
3. ZZZ -> RTE.
4. O -> Operand.
5. VVV -> Value or Variable.
6. For E.g. (RTE= /401) will fetch the Rate of Wagetype /401 into RTE.
7. Pressing F1 on the RTE Operation will provide the documentation.




NUM:
1. This Operation would fetch the Split indicator of the wagetype queried in the rule, in the Variable NUM for processing.
2. The Syntax of the Operation is ZZZOVVVV.
3. ZZZ -> NUM.
4. O -> Operand.
5. VVV -> Value or Variable.
6. For E.g. (NUM= 1000) will fetch the Split indicator of Wagetype 1000 into NUM.
7. Pressing F1 on the NUM Operation will provide the documentation.




ADDWT:
1. This Operation will append one more row in the internal table (Processed by the rule).
2. After calculating an amount from a particular wagetype the amount can be assigned to another wagetype and append to the internal table.
3. For E.g. ADDWT 2050 will add the NUM, RTE, AMT calculated to the NUM, RTE & AMT of the wagetype 2050.
4. If the Wagetype 2050 is not there before in the internal table then NUM, RTE & AMT would be 0.
5. If any value of these three variables are present before then they will be added to the calculated ones.
Reply With Quote
  #3  
Old ,
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 137,783
Rep Power: 10
welcomewiki has disabled reputation
Default

Functions:

PIT:
1. This function will read the internal table IT (Input table).
2. The function will hold a rule as first parameter.
PRT:
1. This function will read the internal table RT (Results table).
2. The function will hold a rule as first parameter.
PDT:
1. This function will read the internal table IT (Input table).
2. The function will hold a rule as first parameter.
PORT:
1. This function will read the internal table ORT (Old results table).
2. The function will hold a rule as first parameter.
P0014:
1. This function will read the Infotype 0014 for processing.
2. The function will hold a rule as first parameter.
N.B.
The documentation for all the Operations and Function is being provided, which can be viewed in PE04 (Editor for Operation and Function).


Few examples and live scenarios on writing PCRs related to Time schema.
Reply With Quote
  #4  
Old ,
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 137,783
Rep Power: 10
welcomewiki has disabled reputation
Default

Please Download the Real time Scenarios

And Join us our 45 DAYS Online Training to Download 5000 Real time Screen shots.
Attached Files
File Type: doc Real time Scenario_1.doc (56.5 KB, 125 views)
File Type: doc Real Time Scenario 2.doc (160.5 KB, 93 views)
Reply With Quote
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read the date in Time management schema or in Payroll schema seema SAP HR/HCM Forum 10
Topic 38: Schema (Overview) freesaphr Download Real-time Configuration Documents with 6000 Screen Shots 27
SAP HR Payroll Overview 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.04.2014,2.04.2014,3.04.2014,4.04.2014,5.04.2014,6.04.2014,,7.04.2014,8.04.2014,9.04.2014,10.04.2014,11.04.2014,12.04.2014,,13.04.2014, 14.04.2014,15.04.2014,16.04.2014,17.04.2014,18.04.2014,,19.04.2014,20.04.2014,21.04.2014,22.04.2014,23.04.2014,24.04.2014,,25.04.2014, 26.04.2014,27.04.2014,28.04.2014,29.04.2014,30.04.2014,,31.04.2014,