Wednesday, 21 May 2014

India Payroll - Programs in SAP HR


HINCALC0 - Payroll Driver, India
HINCEDT0 - HR: India Remuneration Statements
HINUULK0 - INLK Payroll Tables T558B and T558C Upload
HINCF160 - Print program for form 16
PCOIPIN0 - PERFORM INDEX OF for PROCL C and OTYPE OP
HINUCMAP - Challan Mapping Program for Tax Deductions
HINCF161 - Form 16 report
PCTAXIN0 - Include PCTAXIN0
PC2RXIN0 - Include PC2RXIN0
PCRORIN0 - Recovery of rounded off amount
HINCTER0 - Program HINCTER0
HINCEPF0 - HR:India Employees' Provident Fund - Reports
PCASFIN0 - PERFORM INDEX OF for PROCL C and OTYPE FU
HINCF24Q - Print program for form 24q
HINCEPF1 - HR: IN PF Report
PCBURZIN0 - Include PCBURZIN0
HINCANN0 - Payroll Annual Display - India
HINCEPF0_DCF_ANNEX_NEW - Include for MAKE-UP PAY CLAIMS BY RESERVIST
HINCF240 - Print program for form 24
HIN_M40_CALC_SIMU - HINCALC0 execution Program for Payroll menu
PCEPFIN0 - Provident fund contribution
HINU58B0 - Table Insert for T558B- Period
HINCLSTR - Cluster Display IN ( Payroll Results, India )
HINCDTC0 - Data Medium Exchange and Check Printing for India
HINCEPN1 - HR: IN Pension Reports
HINU58C0 - Table Insert for T558C- Wage Type
HINCKTO0 - Payroll Account - India
HINCPTX0 - HR:India Professional Tax reporting
HINCLJN0 - Payroll Journal - India
HINCLWF1 - HR-IN: Labour Welfare Fund legal reports
HINCTO01 - Include HINCTO01
HINCBON0 - India specific Bonus calculation
HINCTF01 - Include HINCTF01
HINCTI01 - Include HINCTI01
HINCTTOP - Include HINCTTOP
HINCDTA0 - Preliminary Program - Data Medium Exchange - Post Payroll - India
HINCESI0 - Form 6 and 7 for Employees State Insurance
PUMAPIN5 - Include PUMAPIN5
HINU_M40_FFOD - Create DME (Print Payment advice note)
HINCLON1 - HR-IN : Loan Report to display Principal, interest and subsidy
HINUUPCF - HR-IN:Claims Balance upload program
PUMAPIN4 - Include PUMAPIN4
HINC2170 - Form 217 (2A)
HINCSAN0 - Superannuation Report
PCSECIN1 - Include PCSECIN1
PCF16IN4 - Standard Tax routines
PCBURIN0 - Include PCBURIN0
HINCALV0 - Common subrotines for ALV grid
HINCGRY0 - Gratuity Listing
HINCPTX1 - HR:India Professional Tax reporting [Annual form for Maharashtra]
HINCREMC - HR-IN: Claims Carry Forward Balance
HINCREMT - HR-IN: Claims Balance Disbursement
HINILON0 - Penal Interest
HINPAYMACRO - Include LHRPAYBR98F07
PCEDBIN0 - Definitions for Payroll Forms - India
PCEDXIN0 - FORMs f
PCIFTIN0 - Include PCIFTIN0
HINCMLI9 - Cash breakdown List (Read IN cluster)
HINCPTX0_REF - Proffessional Tax Refunds
HINCWTR0 - Wage Type Reporter
HINEVAL0 - Evaluation class change for Molga 40
HINIHRA0 - HR-IN: Batch program for Housing (HRA/CLA/COA)
HINPAYDATA - Include LHRPAYBR98F07
HINPAYDATA_O - Include LHRPAYBR98F07
HINPAYTMPMAC - Impuesto sobre N
HINPAYTRANSMAC - Include LHRPAYBR98F07
HINU80U - test program for getting period from date
HINUPTX0 - Conversion report program for Ptax table - T7INP1
HINU_M40_FFOM - Create DME
HINCDTB0 - Preliminary DME Prog. for seperate payment run - India
HINCDTE0 - Prenotification - India
HINCEPN0 - HR: IN Pension Reports
HINCF24C - e-File Consolidation Program for Form 24Q
HINCLGA0 - Wage Type Statement ( Read Cluster IN ) - India
HINCLON0 - Tilgungsplan
PCSAPIN0 - Include ZINESII1
PCPFYIN3 - Include PCEPFIN3
PCF16IN3 - Main processing include
PCFDCIN0 - Include PCFDCIN0
PCBTDIN0 - Include PCBTDIN0
PCF16IN7 - common tax routines
PCPTXIN6_PDF - Include PCPTXIN6_PDF
PCSECIN0 - Include PCSECIN0
PCINIIN0 - Include PCINIIN0
HINUTMSE - Program to display Form 24Q TemSe data
PC24QIN2 - Include PC24QIN2
PCEPFIN3 - Include PCEPFIN3
PCEPFIN4 - Standard routines for displaying results
PCF16IN13 - Include PCF16IN13
PCF16IN17 - Include PCF16IN17
PCPTXIN5 - Generate forms for PTax
PCPFYIN8 - Common routines for EPF
PUMAPIN7 - Include PUMAPIN7
H40PLOG0 - Subroutine pool for payroll log (Indonesia)
PC24QIN0 - Include PC24QIN0
PCPTXIN6 - PTax form for states
PCPTXIN7 - Standard routines for PTax

Monday, 19 May 2014

A Brief Note on ECM in SAP HCM


ECM :
·         Job pricing
Job Pricing concept is based on market survey / Third party data / Bands and Levels
·         Budgetting
Top down   / Bottm up
BU  - A 300 is financed  by
·         Comapnsation Administration
Eligibility – Length of service   / PMS Score
·         Long term incentives
·         Guideline – Increment % of an employee / Matrix  3 dimensions
·         Transferring the data to payroll
Longterm incetives
·         ESOP
·         0760 – Grants
·         0761 – Exercise
·         0762-Stocks
Switches:
HRECM –ECMON – X
HRECM BDGRA    - X        Reassignment Allowed After Budget Has Been Spent
PCOMP                MGBUD -  X        Budget for line manager
HRECM XEECU                   Save Amounts in Employee Currency
BADIS :
HRECM00_CARGP -
READ_FEATURE_CARGP
HRECM00_BDG0001 -  - No negive amounts
HRECM00_EFFDATE -  Replace determination of effective date
HRECM00_STKUN –
HRECM00_ELIGP : Business Add-In: Determine Eligibility Grouping
 HRECM00_ELIGIBILITY : Business Add-In: Determine Eligibility
  HRECM00_GDEGP :Business Add-In: Determine Guideline Grouping
Business Add-In: Methods for Matrix Dimensions
HRECM00_CALCBASE : Business Add-In: Determine Calculation Base
HRECM00_CP1GP :  Business Add-In: Determine First Compensation Program Grouping
Feature :
CARGP -  To default the compensation area
CELGP - Compensation Eligibility Grouping
CGDGP : Compensation guideline grouping
CP1GP First Compensation Program Grouping
CP2GP Second Compensation Program Grouping
CFORM Compensation Form Grouping
Infotypes :
758 – Compensation Programme
759 - Compensation Process
760 – Compensastion eligibility override
761 – LTI Granting
762 - LTI Exercising
763 – LTI Participant Data
381 – Compensation Eligibility
383 – Compensastion component
384 – compensation package
   
Transaction Codes :

Transaction
Description
Budget

PECM_START_BDG_BSP
Start budget administration
PECM_GENERATE_BUDGET
Generate budget from organizational hierarchy
PECM_INIT_BUDGET
Upload budget values from Personnel cost planning
PECM_DISPLAY_BUDGETS
Display budget
PECM_CHK_BUDGET
Check and release budget
PECM_CONV_BDG_STKUN
Convert budget stock unit
Compensation Administration

PECM_CHANGE_STATUS
Change compensation process status
PECM_CREATE_COMP_PRO
Create compensation process records
PECM_UPD_0008_1005
Update basic pay from planned compensation
PECM_PRINT_CRS
Print compensation review statement
PECM_CREATE_0758
Create compensation program records
PECM_CHANGE_STATUS
To change the status in Infotype 0759
Long Term Incentives

PECM_EVALUATE_GRANT
Evaluate LTI grants
PECM_PROCESS_EVENT
Process event for LTI grants
PECM_CONV_LTI_STKUN
Convert LTI grant stock unit
PECM_PARTICIP_IDOC
Export LTI participant data
PECM_GRANT_IDOC                 
Export LTI grant data
PECM_EXERCISE_IDOC
Import LTI exercising data
Job pricing

PECM_START_JPR_BSP
Start job pricing
PECM_QUERY_SURVEY
Extract data for survey participation




Monday, 12 May 2014

International Payroll - Document

International Payroll :
COM : Function
 Function COM creates comment lines which explain the meaning of a schema
 and thus the type of payroll generated with this schema.
 Lines with the function 'COM' can be located anywhere in a payroll
 This function is used without specifying parameters.
COPY:
The function COPY copies the schema specified in Par1 dynamically to the
current schema.
This allows partial processing sequences to be put together to an
effective schema.
This facilitates maintenance. Take into account that the COPY function
works only for initialization of the schema. A subsequent change during
during simulation is ineffective.
The function COPY copies the schema specified in Par1 dynamically to the
current schema.
You want to insert subschema ABCD into the current schema.
Access
Fct   Par1  Par2  Par3  Par4
 COPY  ABDC
  
XIN0:
Personnel calculation schema
Use :
 Important information/actions (switches), which are relevant to the
 further course of payroll, are specified/carried out in this subschema
 at the start of the payroll run.
Structure
 The subschema comprises the following main steps:
 1.  Specify program type (payroll or evaluation)
 2.  Set switch for database updates (YES/NO) All database updates are
     controlled via this switch (otherwise simulation)
 3.  Only infotypes from the HR master record which apply to the selected
     personnel number are read.
 4.  All Time Management infotypes are imported.
 5.  Specify check against control record PA03 (test or live).
XBD0 :
The subschema reads the basic data (master data) required for
International gross wage calculation. The basic data is then printed in
the payroll log (if program option = ON).
Structure
The subschema comprises the following main steps:
1.  Read name of employee (P0001-ENAME)
2.  Read relevant work centre and basic pay data from the following
    infotypes:
    a)  Personnel Actions P0000,
    b)  Organizational Assignment P0001,
    c)  Planned Working Time P0007,
    d)  Basic Pay P0008,
    e)  Wage Maintenance P0052 and
   f)  Cost Distribution P0027
Check that all necessary master data is accessible to the payroll
driver (otherwise program is cancelled)
Print the above basic data in the payroll log 
RFRSH :
This allows you to delete internal table
You specify the internal table you want to delete in the second
 parameter of the function (see Par2).
Syntax
 Par2                    Internal table
             AIT         Alternative input table
             ALL         All internal tables
             BT          Bank transfer table
             CRT         Cumulated results table
             GRT         Gross results table
             HZ          Gross results table
             INS         Bank transfer table
             IT          Input table
             NT          Nandemo Table (Jpn)
             NZRE        Nandemo Table (Jpn)
             OEPF        Nandemo Table (Jpn)
             OLD         All 0 tables
             ORT         Old results table

OSOC        Old results table
OSRT        Old results table
OTAX        Old results table
Q3          Old results table
RI          Old results table
RO          Old results table
RQ          Old results table
RRT         Old results table
RT          Results table
SRT         Results table
ST          Tax table
SV          SI table (NL)
TAX         Tax table
TT          Tax Table (Jpn)
TWOT        Tax Table (Jpn)
V0$         V0 table
VAR         Variable table

WPBP        Table WPBP
XIT         Table XIT
YTT         YEA Tax Table (Jpn)
ZL          Time wage types
ZTBA        Time table construction industry
ZVBA        Supplementary pension construction industry
XPRO:  Import previous result current period
Personnel calculation schema
During a retroactive accounting run, the system transfers the previous
results from table OV0 to table V0. To do this the previous result is
imported to this subschema.
Subschema XPR0 comprises the following steps:
1.  Import previous result (function IMPRT)
2.  Add table OV0 to table V0 of the current payroll result (function
    PITAB)
XLR0 :            Import last payroll result
  Payroll calculation schema
Use
  The last payroll result (can be from previous period) is read in this
  subschema, and made accessible to the current payroll run (for the
  current period).

  The imported last payroll results, or the values transferred, are then
  printed in the payroll log (if program option = ON).
Structure
  The subschema comprises the following main steps:
  1.  Import last payroll results (result table ORT)
  2.  Print results table (ORT) after import
  3.  Transfer relevant values to current payroll (LRT) Control is
      effected via processing class 06 in table T512W
  4.  Print transferred values from LRT after import
XT00 : -Gross remuneration (Time Management)
Personnel calculation schema

All the information from Time Management, included in the working time
calculation and the monetary valuation, is processed in the XTOO schema.

Structure
The schema is made up of the following main steps:
o   Structuring the personal schedule and retrieval of the partial
    period parameter.
o   Calculating the valuation bases.
o   Valuating the absences.
o   Time wage types selection rule.
o   Processing remuneration statements.
o   Processing the differing payments.
·        Valuating time wage types.
·          Taking time tickets from incentive wages into consideration.
XLON : LOAN
Loan Accounting
   Object
     Personnel calculation schema
   Use
     In the XLON schema, accounting is performed for the company loans listed
     in the Loans infotype (0045).

   Structure

     In the first step, the last payroll results are imported. The P0045
     function is then called twice:

     o   If this function is accessed using the GRSS parameter, all
         calculations are made.
     o   If the NET parameter is used for access, the values are stored.
         As in previous releases, you can still perform your own processing
         by calling a personnel calculation rule after the P0045 function
         (  >XLON)
         SAP does not recommend this option!
     o   If you want to store additional values, after calling the function,
         you should call the PRT function with a calculation rule (for
         example, XLOZ)
XAP0: Import additional payments/deductions
Import Additional Payments/Deductions (INTERNATIONAL)
  Object
    Payroll subschema
  Use
    This subschema adds recurring payments/deductions or additional payments
    to the basic pay. These payments/deductions are processed separately in
    greater detail in the personnel calculation rule X011.
  Note
   If you want to process other payments and deductions apart from those
    from infotypes 0014 and 0015, you can use subschema XAP9.
  Structure

    The subschema comprises the following main steps:

    o   Import and process recurring payments/deductions from infotype 0014

·        Import and process additional payments from infotype 0015
XAP9: Import Additional Payments/Deductions (INTERNATIONAL)

Import Additional Payments/Deductions (INTERNATIONAL)

  Object

    Personnel calculation schema

  Use

    This subschema adds recurring payments/deductions or additional payments
    to the basic pay. These payments/deductions are processed separately in
    greater detail (in personnel calculation rule X011) for infotypes 0014,
    0015, and 0267.
  Note
    This schema is a copy of schema XAP0 which has been enhanced to include
    other functions in addition to payments/deductions from infotypes 0014
    and 0015, for example, external wage components or awards. If you do not
    require these functions, use subschema XAP0.

  Structure

    The subschema comprises the following main steps:

    1.  Importing and processing recurring payments/deductions from infotype
        0014

    2.  Importing and processing additional payments from infotype 0015

    3.  Importing and processing external wage components from infotype 0579

XAL0:

 Monthly Factoring and Storage (Cumul.of Gross Amount) INTERNATIONAL

   Object

     Personnel calculation schema

   Use

     After all the remuneration elements from master data and Time
     Management, and the bases for factoring (proportional reduction of
     remuneration by multiplying with a factoring parameter (number between
     zero and one) have been generated from the personal work schedule
     (including absences), you can use this subschema to perform the
     valuation. The proportional remuneration elements that accrue, for
     example, due to an employee's unpaid absence, are finally cumulated in
     gross buckets for further processing. As well as the "reduction" of
     remuneration in the case of partial periods, factoring is also used to
     distribute monthly lump sums and hourly rates to Cost Accounting (CO).

   Structure

     The schema comprises the following main steps:

     o   Generation of secondary wage types /801 to /8nn for partial period
         factors

     o   Creating partial period factors in line with specific regulations

     As different remuneration elements are subject to different reduction
     regulations, there must be different monthly factors.
  o   Calculating monthly lump-sums for cost accounting, that means,
      evaluating remuneration elements (multiplication of an amount by a
      factor).
  o   Calculating hourly rates for Cost Accounting
  o   Processing standard wage maintenance (Schema XWM0)
  o   Gross feeding and storage of the wage types no longer required
      during the course of further processing
  o   Calculation of gross amount and cost distribution for Cost
      Accounting (CO). Cost Accounting needs to know which part of the
      wage/salary was for "non-work" (paid leave, paid sickness, other
      paid absences, public holidays) so that redistribution to other cost
      centers can be effected where necessary (social cost center,
      overheads cost center).
XAL9:
XTBS :            Save tables before iteration
Save Tables before Iteration
  Object
    Personnel calculation schema
  Use
    Several tables must be saved before the arrears iteration for the
    deduction and tax functions. These are then reloaded in each iteration.
    Function PITAB is used for this purpose.
XTBL : Reload saved tables
 Reload Tables for Every Iteration
   Object
     Personnel calculation schema
   Use
     After the loop begin all of the saved tables have to be reloaded.
     Function PITAB is used for this purpose.
XDD9 : Processing deductions and storage
Monthly Factoring and Storage (Cumul.of Gross Amount) INTERNATIONAL
  Object
    Personnel calculation schema
  Use
    This subschema contains the functions for the deduction function:
    o   Benefits

    o   Balances and Totals

    o   Limits

·        Arrears
XNA0 :
Cumulation of net amount/payment amount
XNA9 :
Cumulation of net amount/payment amount
Cumulate Net Amount and Form Payment Amount (International)

   Object

     Personnel calculation schema

   Use

     All influencing factors from gross wage calculation are incorporated on
     a 1:1 basis in a non-country-specific net wage. Net elements are not
     taken into account in schema X000 (net = gross). The generated payment
     amount may be subsequently manipulated using payments/deductions. The
     payment amount is generated, if necessary taking account of claims from
     previous periods.

   Note

     This schema is a copy of schema XNA0 which has been enhanced to include
     the arrears processing functions. If you do not require these functions,
     use subschema XNA0.

   Structure

     The subschema comprises the following main steps:

     o   International cumulation of payment amount (net=gross)

     o   Arrears processing of deduction wage types

     o   Generation of the net pay prior to transfer

     o   Allowance for claims from previous periods during generation of the
         net pay.


XDNT – All deductions made ?


 Decision on Deductions Not Made (Loop End)

   Object

     Personnel calculation schema

   Use Function PRPRI checks all arrears deductions to determine whether or
   not the net amount is sufficient to cover them. If the function determines
   that at least one deduction cannot be made in full, iteration must be
   repeated.

XRR0 : Retroactive accounting

 Retroactive Accounting INTERNATIONAL

   Object

     Personnel calculation schema

   Use

     This subschema is used to calculate any differences which may exist if
     payroll takes place in a period for which retroactive accounting has
     been performed so that remuneration is no longer consistent with the
     original payroll run. The differences calculated are then taken into
     account in the same subschema in the original payroll run for the
     current period.

   Structure

     The subschema comprises the following main steps:

     o   Query whether original or retroactive run

     Original payroll run:

     o   Read differences calculated

     Retroactive accounting run:

     o   Read last payroll result (original payroll or old retroactive
         accounting run)

·        Print the values read (internal table ORT)
·        o   Calculate differences and transfer non-revisable wage types
·         
·         o   Derive new payment amount
·         
·         o   Store the difference between the new and old payment amount in
·             difference table (internal table DT)
·         
·         o   Transfer bank transfer(s) (from internal table BT) from last payroll
·             Result
XNN0: Net payments / deductions and transfer
 Net Payments/Deductions and Transfers (INTERNATIONAL)
   Object
     Personnel calculation schema

   Use
     The composition of the payment amount is carried out in this schema. The
     net payments/deductions are also taken into account. Following this, the
     transfers are performed - either external transfers and/or pay
     emittances. If advance payments from previous payment runs have already
     been made, they are checked and taken into account.

   Structure

     The subschema comprises the following main steps:

     o   Query original payroll run
         Original payroll run:
         -   Take external transfers from infotype P0011 into account
         -   Import net payments/deductions and store in results table
             (internal table RT)
         -   Process transfers from previous payment runs (advance payments)
         -   Form payment amount
         -   Read the bank details from infotype P0009 for wage and salary transfer
 Always takes place:
·        Storage of payment amount/claim
XAC0 : Month end accruals
Personnel calculation schema for Month End Accruals

   Schema Type
     This is a schema for month end accruals computations.
   Use
     In schema XAC0, month end accruals calculations are performed in a
     regular payroll run.
     The accruals are calculated using the function Function UACGF if the
     accruals switch Operation ACCMO is on. The results are stored in table
     ACCR, which is also printed in the payroll log.

   Structure

     Schema XAC0 consists of the following main steps:

     o   Determine if in a regular payroll run

     o   Accruals switch on or off

     o   Calculate accruals

   See also

     PC Rule XAC0

     More information about month end accruals can be found in the R/3
     library.
     Specific information about setting up month end accruals can be found in
     the implementation guide.’
XEND :
Final Processing INTERNATIONAL
  Object
    Personnel calculation schema
  Use
    At the end of the payroll process, this subschema performs a check to
    determine whether the internal processing table has finished processing.
    The cumulation is then recorded at wage type level, provided that this
    is programmed for the respective wage type. At the end of this
    subschema, the last act in the payroll process is the export of the
    payroll results to the payroll account. The results of payroll are
    printed in the payroll log (with program option = ON). Processing of the
    payroll results using Report RPCEDTX0 can be effected via the "Payroll
    form" parameter.
  Structure
    The subschema comprises the following main steps:
    1.  Printing of the processing table (internal table IT)
    2.  Break of payroll if the processing table has not been fully executed
    3.  Sort result table (internal table RT)
    4.  Printing of the result table (RT)
    5.  Printing of the transfer assignments (internal table BT)
6.  Updating the cumulation wage types (acc. to internal table CRT)
 7.  Printing of the cumulative values (from CRT)
 8.  Export of results from the payroll function to the payroll account
     (databank: PCL2 / cluster: RX non-country-specific)
 9.  Processing of payroll results (RPCEDTX0) can be selected via the

     "Payroll form" parameter.