Regarding schemas and pcrs

Hi gurus,
Though i know about schemas and pcrs..i ahve a small confusion..can anybody clarify me these questions?
1)why we use schema and functionality of the schema?
2)why we use subschema and functionality of subschema?
3)what are the parameters1,2,3,4.
   why do we use these paremters?
   and how it helps... where can we get the documentation for parameters?
4) what an Function does for schema and subschema?
5)what an operation does?
//jack//
Edited by: michael jack on May 22, 2008 8:47 AM
Edited by: michael jack on May 22, 2008 8:57 AM

In simple words schema guides Payroll driver that following path will follow for processing of info types in system. for example if u see the payroll log just think that why infotype 0001 read at start whey system creates bank payment after reading all data? this is all schema
Second part is subschema help schema if you have little know how of programming you can take it as conditional loop sort of things. :).
Technical detail is as under (From sapexpert.com)
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, in Canada RPCALCK0 and for international RPCALCX0. 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 typeu2019s number by a rate to get an amount.
Schemas are edited with transaction PE01, and rules                                                                               
with 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). (See Figure 1.)The standard payroll schema for a country can be derived from table T500L (see the screen blow). 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, for Mexico it is MX00 and for international its X000.
Good Luck
Syed

Similar Messages

  • Schemas and pcr's

    Hello every body,
                      i am little bit confused about  schemas and pcr's could someone tell me a website or any document where i can understand them easily.
      Thanks
    srikanth

    Hi Srikanth,
    Check out this document <a href="http://www.hrexpertonline.com/downloads/08-03.doc">Relationship of Payroll Driver, Schema (Functions), PCR (Operations) on www.hrexpertonline.com</a>
    Also see <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/60/d8d8c7576311d189270000e8322f96/frameset.htm">SAP help on HR Tools</a>
    Regards,
    Ahmad

  • Hoe to create HR Schema and PCR's

    Hi experts,
             I am new to HR-ABAP. and I want to know about HR schema and PCR's and how it can be implemented???Plz. help me

    Hi,
    Generally schemas and PCR's are written by Functinal guys. They are mainly used in payroll processing. Schemas and PCR's are written using T-codes PE01,PE02 and PE03 there you have details explanantion for each step.
    Regards,
    Ramu N.

  • Training on Schema and PCR is required?

    HI All,
    I am Six month old to SAP world, i have learned a lot about SAP-HR module but unable to understand clearly on working, modifying and creation of new SCHEMA and PCR.
    I request you all, if any one know about any institute or a individual who can provide training on Schem and PCR.
    Information provider will be highly appreciated,
    Thanks in Advance,
    rare.prd

    Hi,
    Pls go through the sites.
    http://www.easymarketplace.de/online-pdfs.php?Area=4asu&name=volker&pw=vg&
    http://www.sapbrainsonline.com/TUTORIALS/FUNCTIONAL/HR_tutorial.html
    http://help.sap.com/saphelp_nw04/helpdata/en/bb/bdb000575911d189240000e8323d3a/frameset.htm
    Thanks and Regards,
    Revathi.

  • Schemas and PCRs

    hi, experts.
    i need help in learning schemas and writing PCRs. please suggest me any book or send me any document that will help.
    regards,
    madhu

    hai..
    How to read rules and Schemas
    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.
    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.
    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 for processing.
    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.
    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.

  • Schemas and workspaces in Apex 3.0

    Hi Friends
    We are quite new to HTML DB. We have few queries pertaining to schemas and workspaces.
    We are developing an application in workspaces X which is associated with database user/schema X. We need to give this application for testing to the users. For that we need to have different set of environment so that it does not hamper our development.
    So what should be our plan of action.?
    Currently we have created a different database user/schema in the same database and associated a different workspace Y to it. But we are facing import/export issues across the workspaces. We have already raised this issue in the forum.
    Can we have same workspace associated with 2 different database schemas/users? If yes, then how does HTML DB handle the same?
    Thanks in advance.
    Regards
    Minakshi

    Hi Friends,
    As per Scott's suggestion, we attached our workspace X to 2 schemas A and B. Then we exported the app say 555(here the schema is A) and imported it using the parsing schema B in new application id say 500. But now the real problem starts. If we have added some new functionality in a page in our application 555 and now only that page we want to export and import it in application 500, then it gives error as "This page was exported from a different application or from an application in different workspace. Page cannot be installed in this application." So in the sql file that we exported, we changed few things as follows(marked in bold)
    --application/set_environment
    prompt APPLICATION 500 - Load_Factor_System
    -- Application Export:
    -- Application: 500
    -- Name: Load_Factor_System
    -- Date and Time: 12:01 Monday May 21, 2007
    -- Exported By: ADMIN
    -- Flashback: 0
    -- Export Type: Page Export
    -- Version: 3.0.0.00.20
    -- SET APPLICATION ID
    wwv_flow.g_flow_id := 500;
    wwv_flow_api.g_id_offset := 0;
    After we changed the export file as above and then tried to import it in application 500 it gives error as "ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (FLOWS_030000.WWV_FLOW_PAGE_PLUGS_PK) violated <pre>declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=&gt; 6303905775095939 + wwv_flow_api.g_id_offset, p_flow_id=&gt; wwv_flow.g_flow_id, p_page_id=&gt; 1020, p_plug_name=&gt; 'User Master', p_region_name=&gt;'', p_plug_template="
    Can anybody please help us with this issue? The other solution for this is to delete the complete application 500 and then freshly install the application. But we do not want this since any change in few pages should not result in deletion of complete application.
    Also Scott, thanks a lot for your detailed solution as to how to put an example on apex.oracle.com. We shall definitely put an example and post it.
    Regards
    Minakshi

  • FI-TV Scheme and Field control in Travel Manager

    Hello!
    Question:
    The question is - Is it possible to somehow customize field control for TRIP selective screen by means of SPRO IMG Scheme and field control or transaction FITVFELD (i.e. hide some fields or add new fields)? Or fields can be added or deleted only by ABAP modifications and User-exits?
    Prerequisite: I need to add an additional CHAR or TEXT field "Document number" in TRIP transaction which will allow a manager to manually enter a document number of a trip. Further this field has to be added in reports as well, so that manager could get all the trip details due to this new field "Document number".
    What am I doing wrong?
    Looking forward for your reply!
    Regards,
    Eldar

    Hi..
    how do you define trip provision variant at first?
    did copy standard variant?!
    if you copy from standard variant - such as 01, or 99, then you will find schema under your copy trip variant.
    hope it helps.

  • How Can I obtain the tables of one schema and the record size???

    How Can I obtain the tables of one schema and the record size???
    Example:
    TableName Record Size
    Tabla1 12500
    Tabla2 7800
    Tabla3 2046

    This is not an OWB question, but you can obtain bda-type information on tables by using the system view dba_tables.
    Regards:
    Igor

  • Oracle APPS schema copy with all privileges to new schema and table space

    Hi all,
    Here is scenario:
    I have installed e-business suite in windows 2003 server for training environment using production (prod), single node and without vision (demo).
    i have to create a new table space in e:\oracle\prodmanz with similar content as in proddata and create a new schema called manz with same privileges as APPS.
    Kindly advice.
    Manish Kumar Chudasama
    email: [email protected] cc to [email protected]
    Thanks in advance guys.

    Hi Khalid,
    Ideally when you execute sql 'create schema <schema_name>' then the logged in user is going to default owner of the schema and you should see that under 'object privileges' of that user.
    The user will have 'create any' privileges which means the user has all the privileges on that schema.
    if you want to check who is owner of the schema in the system, please check 'SCHEMAS' under views in SYS.
    Regards,
    Venkat N.

  • Duplicate data in front scheme and back scheme?

    Assume that a near cache has been defined with a front-scheme and a back-scheme. The front-scheme is a local-scheme and the back-scheme is a distributed-scheme.
    Now assume that there is a piece of data for which the current JVM is a master. That is, the data resides in the back cache.
    Assume that the JVM accesses that data.
    Will this populate the front cache even though the master is in the back cache on the same JVM?
    Does Coherence therefore store two copies of the data, one in the front cache, one in the back cache?
    Or does Coherence realize that the requested data is in the back cache on the same JVM, and therefore doesn't make another copy and populate the front cache, but instead simply redirects the get call to it's own back cache?
    This basically has memory implications and I'm trying to configure a cache that works on a single JVM as well as a cluster. I am trying to get away with having just the one configuration file for coherence irrespective of whether the application is on a single storage enabled node, or a cluster.
    I cannot tell from the diagram in the Developer Guide at http://docs.oracle.com/cd/E24290_01/coh.371/e22837/cache_intro.htm#BABCJFHE
    because I'm not sure whether the front/local cache for JVM1 has not been shown as populated with A because it is the master for A, or because JVM 1 never accessed A.

    926349 wrote:
    Assume that a near cache has been defined with a front-scheme and a back-scheme. The front-scheme is a local-scheme and the back-scheme is a distributed-scheme.
    Now assume that there is a piece of data for which the current JVM is a master. That is, the data resides in the back cache.
    Assume that the JVM accesses that data.
    Will this populate the front cache even though the master is in the back cache on the same JVM?
    Yes, it will, if access is via the near cache.
    Does Coherence therefore store two copies of the data, one in the front cache, one in the back cache?
    Yes, but with usual usage patterns the front-map is size limited, so it will hold the just pk-accessed entry in the front map, but it may evict other entries from the front map, so the front-map may not be a full duplicate of the entire data-set.
    Or does Coherence realize that the requested data is in the back cache on the same JVM, and therefore doesn't make another copy and populate the front cache, but instead simply redirects the get call to it's own back cache?
    Nope, no such logic is in place. On the other hand, as I mentioned front-map is usually size-limited, and also the storage nodes don't have to access the cache via the front-map, they can go directly to the distributed cache by getting the back-cache from the near cache instance.
    This basically has memory implications and I'm trying to configure a cache that works on a single JVM as well as a cluster. I am trying to get away with having just the one configuration file for coherence irrespective of whether the application is on a single storage enabled node, or a cluster.
    You should not try to. You should always choose the correct topology and configuration for the actual use case. There is no one-size-optimally-fits-all solution.
    Best regards,
    Robert

  • Schema and Table .. Few doubts.

    Hi ,
    Can you please help me out on following questions.
    1. How to physicalizing the Logical Model into database Schema AND Tables
    2. How to create a Schema and table in oracle 11g. Let me know if scripts are available.
    3. How to create a read only user with different restricted access.
    4. How to deploying the Schema, Tables (and potential scripts) into Exadata.
    Please provide the aboce details.
    Thanks in advance.
    Regards,
    Parag

    You need a Database Designer and a Database Administrator.
    1. With experience of having done so earlier or having learned as an understudy to someone with expertise
    2. Look up the Oracle 11g database SQL documentation. See http://www.oracle.com/pls/db112/homepage
    3. See the Oracle 11g database Administrator's Guide and Security Guide (from the above URL)
    4. Through a proper Change Control procedure. Each organisation has it's own methods of source code control and deployment.
    Hemant K Chitale

  • How to drop a schema and load another one?

    I have an interruption during installing the central instance of a SAP Netweaver 04s System. After I restarted the installation I found this message in the Log file.
    <b>ERROR 2006-08-16 16:17:04</b>
    CJS-30109 The Java load in database PDV/liesc1ddbw01 has already been configured. <p> SOLUTION: Drop the schema and load it with a new load before running this installation.
    <b>ERROR 2006-08-16 16:17:04</b>
    CJS-30109  The Java load in database PDV/liesc1ddbw01 has already been configured. <p> SOLUTION: Drop the schema and load it with a new load before running this installation.
    <b>ERROR 2006-08-16 16:17:04</b>
    FCO-00011  The step getJavaLoadType with step key |NW_Java_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|10|0|getJavaLoadType was executed with status ERROR.
    QUESTION: How to drop a schema and load another one?

    Hello,
    I got the similar error....but i did reinstall from o.s. and done the installation again...it was worked successfully..
    if you find out alternate solution for that ...please let us know..
    Regards,

  • Star Schema and Cubes

    Hi,
    I'm learning the basic concept of data warehousing and I've some question in this regards.
    1) I want to know, are we have to first create star schema and tables according to that star schema in dbms, from that star schema we have to built cubes OR we directly build cubes from extracted data through OLTP systems.
    2) secondly, when we create cubes, in which formate they are store in dbms and are they directly load in the memory at run time?
    Please clarify me in these concepts as new to data warehouse I've certain concept misunderstanding in this regards. Answers will be highly appreciated
    Regards,
    D.Abbasi

    1) I want to know, are we have to first create star schema and tables according to that star schema in dbms, from that star schema we have to built cubes OR we directly build cubes from extracted data through OLTP systems. Star schema is the Dimensional Modeling Technique and that need to considered while creating Dimension and not cubes.
    So you need to create first design your database either in Start schema or Snow flag and then need to create dimension tables and after wards Cubes.
    2) secondly, when we create cubes, in which format they are store in dbms and are they directly load in the memory at run time?Cubes and Dimensions are stored in Database in some different format.
    This is the nice article regarding how the data is store in DB,
    http://www.dba-oracle.com/t_olap_dimensions_cubes.htm
    Cheers
    Nawneet
    Edited by: Nawneet on Mar 29, 2010 5:47 AM
    Edited by: Nawneet on Mar 29, 2010 5:50 AM

  • What are schemas and rules in HR?How it will use in HR?

    Hi HR Proff,
    What are schemas and rules in HR?How it will use in HR?
    Give some documentation on this?
    Early reply is highely appriciable.
    Regards,
    Chow.

    Refer this link -
    http://www.sd-solutions.com/documents/SDS_Payroll_Schemas.html
    Regards,
    Amit

  • HR schema and rule function overview

    Hello, is there any HR schema and rule function overview there ? I mean for example function VARST, ADDDB, HRS, PCY etc., which are under PE01 and PE02 available to use.
    Thanks.

    Schemas can be viewed and modified through pe01.  Schemas use functions and Personnel Calculation Rules (PCR).
    PCRs can be viewed and modified through pe02.  Time Evaluation PCRs use operations such as HRS, VARST, ADDDB and OUTWP.  Payroll Calculation PCRs use operations such as RTE, NUM, AMT, VARGB, ADDWT and OUTWP.
    Functions and Operations can be viewed through pe04, along with their parameters.
    Documentation on Functions and Operations can be viewed either in the schema or rule by selecting the object + F1 (or the ? icon), or through pe04.

Maybe you are looking for