Upload
fahadsap
View
16
Download
2
Embed Size (px)
DESCRIPTION
Payroll Functions
Citation preview
GettingStarted Newsletters Store
Products Services&Support AboutSCN Downloads
Industries Training&Education Partnership DeveloperCenter
LinesofBusiness UniversityAlliances Events&Webinars Innovation
LogOn JoinUsHi,Guest SearchtheCommunity
Activity Communications Actions
Browse
0 Tweet 2
createdbyRameshJakkulaonMar8,201410:14AM,lastmodifiedbyRameshJakkulaonMar8,201411:00AM
UnderstandingfollowingPayrollFunctionswhicharegenericinnatureandmostfrequentlyused.Willbehelpfulinunderstandingpayrollprocessandwritingpersonnelcalculationrules(PCR).S.No Nameof
theFunction
Description Use
1 COM Commentlinesinaschema FunctionCOMcreatescommentlineswhichexplainthemeaningofaschemaandthusthetypeofpayrollgeneratedwiththisschema.
2 COPY CopyingaSubschemaStoredintheSystem ThefunctionCOPYcopiestheschemaspecifiedinPar1dynamicallytothecurrentschema.
3 BLOCK Logstructure TheBLOCKfunctionallowsyoutostructurethepayrollaccountingprocesslog.Bymarkingthebeginningandendthesequenceofpayrollfunctionsaregroupedtogethersemanticallyandtheyappearintheprocesslogunderacommonnode.ParametersBEG/END
4 PGM Identifyingaschemabyprogramtype FunctionPGMprovidesthepayrolldriverwithinformationonthetypeofprogramrepresentedbytheschemainquestion.
5 UPD Performingdatabaseupdates FunctionUPDcontrolswhethertheresultsofapayrollaccountingrunarestoredinthedatabaseorareonlypresentduringaccounting.ParametersYES/NO
6 OPT Options YoucanusetheOPTfunctiontoimportinfotypestopayroll
7 CHECK CheckBefore/AfterSelectingEmployees Checkstheperiodsetaccordingtothetypeofschema,carriesoutageneralcheck:
8 RFRSH Refreshinternaltables FunctionRFRSHallowsyoutodeleteinternaltables.
9 ENAME RetrieveName FunctionENAMEreadsthelastvalidnameoftheemployeeinthepayrollperiod.Theformattingusedforthecountryinquestionisusedwhendisplayingthisname.
10 WPBP ImportWorkCenterandBasicPayData FunctionWPBPtransfersmasterdataontheworkcenterandbasicpayforthepayrollperiodtointernaltableWPBP.ThebasicpaywagetypesarestoredintheinternaltableIT.
11 IF ConditionalExecutionofFunctions ThefunctionsinthepersonnelcalculationschemathatarebetweentheIFfunctionandtheELSE(orENDIF)functionareonlyexecutedifaconditionisfulfilled.Thisconditioncanbespecifiedusingasymbolicnameorapersonnelcalculationschema.ThefunctionsIF,ELSE,andENDIFformafunctionblock.
12 ELSE ConditionalExecutionofFunctions TheELSEfunctionbelongstothefunctionblockformedbyIFandENDIF.
13 ENDIF EndFunctionofaCondition TheENDIFfunctionbelongstothefunctionblockformedbyIFandELSE.
14 GON Checkdataiscomplete FunctionGONcheckswhetherallthemasterdatahasbeenimported.
15 XGP PayrollforGlobalEmployees FunctionXGPperformsallprocessesthatarenecessaryfordataexchangebetweenthesendingandreceivingpayroll.Inthesendingpayroll,thefunctionensuresthattableRT_GP(ResultsTable:PayrollforGlobalEmployees)isfilled.Inthereceivingpayroll,thefunctionprocessesthepayrollresultsthatwereimportedwithtableRT_GPfromthesendingPayroll.
16 LPBEG BeginningaLoopinthePersonnelCalculationSchema
FunctionLPBEGmarksthebeginningofaloopinthepersonnelcalculationschema.
17 LPEND EndingaLoopinthePayrollSchema FunctionLPENDmarkstheendofaloopinthepayrollschema.
18 IMPRT ImportingIntermediateorFinalResults YouusefunctionIMPRTtoimportdatafromthedatabasePCL2andmakeitavailableforprocessing.Youcanimportpayrollresults(clusterRx),timedata(clusterB2),andtimewagetypes(clusterZL)forthecurrentpersonnelnumber.Dependingontheparameters,thedataismadeavailableinasecondrecordoftables.Thisgivesyoutheoptionofprocessingoldandnewresultstogether,forexample,tocompare,calculatedifferences,andsoon.
19 PITAB ProcessingInternalTables PITABmakesitpossibletoreload,delete,andmergeinternaltables.Thepurposeofthisfunctionistosavethecontentsofonetabletoadifferenttableinordertoprocesstheoriginaltablewithadifferentsetofdata.Afterwards,youreloadtheoriginaldatabackthetable.
20 PORT TransferofDatafromthePreviousPayroll ThefunctionPORTinitiatesacalculationrulewhichprocessesthewagetypesoftheoldresultstableORTaccordingtothespecifiedrules.
PayrollFunctions
Share 1Like
Version1
21 SETCU Processpreviouscumulations FunctionSETCUprocessesexistingcumulations(frompreviouspayrollruns)sothattheycanbeusedasthebasisforthecurrentpayrollrun.
22 GENPS Generatingpersonalworkschedule FunctionGENPSgeneratesthepersonalworkscheduleforthepersonnelnumberforwhichpayrollisbeingrun.
23 PARTT ProvideBasesforthePartialPeriodFactors FunctionPARTTmakesdatafromthepersonalshiftschedule(PSP)availableforthecalculationofpartialperiodfactorsinapayrollperiod,andstoresitintheWPBPtable.Thepartialperiodfactorshowstherelationshipbetweentheactualpaidtimeandthetotaltimeinapayrollperiod.
24 PIT ProcessInputTable ThepayrollfunctionPITcallsapersonnelcalculationruleforeachwagetypefromtheinternaltableIT.TheheaderrowoftheinternaltableOTisusedastheworkarea.
25 MOD DetermineModifiers FunctionMODaccessesapersonnelcalculationrulewhichcanbeusedtosetgroupingsfortableaccess.Thedependencyoftheemployeegroupingsonparticularfactorsisnotdeterminedbythesystem.
26 RAB RABimportstheabsencerecordsfromtheAbsencesinfotype(2001)
FunctionRABimportstheabsencerecordsfromtheAbsencesinfotype(2001)totheinternaltableABforuseinpayroll.
27 PRINT PrinttheTableorStructure ThePRINTfunctionlogsthecontentsofaninternaltableordataStructure.
28 DAYPR DayProcessingofTimeData FunctionDAYPRinitiatesthedailyprocessingoftimedata.
29 PAB Valuatingabsences(internationalpart) TodetermineabsencehoursanddaysandevaluatetheabsencesaccordingtotheEvaluationofAbsencestable(T554C).
30 PALP Proocessalternativepayments FunctionPALPloadshourlyratesbasedondatafromthetimeinfotypesonalternativepayments.
31 P2010 ProcessingRequestforEmployeeremunerationInformation
FunctionP2010evaluatestheemployeeremunerationinfoenteredintheinfotypeEmployeeRemunerationInformation(2010).
32 ZLIT ImportingwagetypesfromZLtoIT FunctionZLITisusedtoimportwagetypesfrominternaltableZLtointernaltableIT.
33 P0416 ProcessQuotaCompensation YouusefunctionP0416toprocessthequotacompensationrecordsfromtheTimeQuotaCompensationinfotype(0416).
34 AVERA CalculationofAverages TheAVERAfunctionperformsthecompleteaveragescalculation.Theaveragevalueiscalculatedforeachaveragecalculationrule.
35 P0045 ProvisionofLoanData FunctionP0045processesthemasterdataintheLoansinfotype(0045)thatisvalidforthepayrollperiod.
36 PRT ProcessResultsTable ThepayrollfunctionPRcallsapersonnelcalculationruleforeachwagetypefromtheresultstableRT.TheheaderrowofthetableOTisusedastheworkarea.
37 P0267
38 P0014 ProcessingRequestforRecurringPaymentsandDeductions
FunctionP0014evaluatesthemasterdataintheRecurringPaymentsandDeductionsinfotype(0014).
39 P0015 ProcessingRequestforAdditionalPayments FunctionP0015evaluatesthemasterdataintheAdditionalPaymentsInfotype(0015).
40 P0057 ProcessingRequestforMembershipFees FunctionP0057isusedtoevaluateinfotype0057(MembershipFees).Sinceprocessingtakesplacedirectlyaftereachrecordhasbeenread,therulesinPE02canrefertorecordlayoutfields.
41 GEN/8 Formtechnicalwagetypes/801/8nn FunctionGEN/8generatesupto16secondarywagetypesforthecalculationofpartialperiodfactors.
42 ACTIO Rulecontrolledperformanceofanaction FunctionACTIO,likeFunctionPIT,isaccessedtocallapersonnelcalculationrule.Therulesareprocessedirrespectiveofwhethercertainwagetypesexist.Processingalwaystakesplace.
43 PRART ProcessingTableOARRRS Thefunctiontransfersentriesfromtheoldarrearstableofthepreviousperiod(OARRRSoritscopyAOA)totheinternaltableIT.Sodeductionsthatcouldnotbetakeninthepreviouspayrollperiodcanbeprocessedlikeregulardeductionscreatedinthispayrollrun.Somewagetypesshouldonlybeprocessedinregularpayrollruns,othersonlyinspecialruns,andsomeinbothkindsofpayrollruns.Thisisspecifiedinprocessingclass76.
44 PRDNT Originalpayrollperiod:ThisfunctionprocessesalldeductionsintableDDNTK.Duringthepreviouslooprun,thistablewasfilledwiththedeductionamountthatcannotbedeductedfromtheemainingnetamount.EntriesintheITtablehavetobereducedbythisamount.
Inthestandardsystem,alldeductionsarestoredintableITaftertherecurringpayments/deductions,andoneoffpayments(infotypes0014and0015)areimported.Thisfunctionisthendirectlycalledup,withoutparameters.Retroactiveaccountingrun:Thesystemusesexactlythedeductionamountsthatweredeductedintheoriginalpayrollperiod.ThedeductionwagetypeamountsinthecurrentITarecomparedwiththeamountsfromtheoriginalresultsfortheperiod.
48 PRPRI ProcessingthePrioritiesTable Thisfunctionprocessesalldeductionsaccordingtotheirpriorityandtheirarrearscharacteristics.Iftheretainednetamountisinsufficientforthededuction,thedeductionamountisreducedaccordingly.heamountwhichisnotdeductediseitherstoredintableDDNTK(Deductionsnottaken),orinbothtableDDNTKandtableARRRS(Arrears)andisthenprocessedinthenextpayrollperiodwithfunctionPRART.
49 PREND ProcessingTableDDNTK(DeductionsNotTaken)
Afterthelastlooprunofpriorityprocessing,tableDDNTKDeductionsnottaken)mustbemodified.AtthebeginningoftheloopthewagetypesinthearrearstablefromthepreviousperiodhavebeenplacedintotableITforregularprocessing(FunctionPRART).TableDDNTKattheloopendcontainstheamountsthatcouldnotbetakenfromcurrentdeductionsandamountsthatcomefromthearrearstableofthepreviousperiod.
TableDDNTKshouldonlycontaintheamountswhichcouldnotbetakenfromthecurrentdeductions(IT00014/0015).Theprinciplebehinditisthatfirstlytheoldarrearsamountsofawagetypearetakenandthenthecurrentdeductions.
45 PLRT ProcessingtheLastResultsTable FunctionPLRTaccessesacalculationrulethatprocessesthecontentsofthelastresultstableLRTaccordingtospecifiedrules.
46 PDT ProcessDifferencetable FunctionPDTaccessesapersonnelcalculationrulethatprocessestheontentsofdifferencetableDTaccordingtotherulesspecified.
47 SORT SortingInternalTables YoucanusefunctionSORTtosortinternaltables.
48 DATES ProvidingDateSpecificationsinPayroll FunctionDATESprovidesdatespecificationsfromtheworkcenterforcalculatingspecificdeadlinesinPayroll.
49 BTFIL ReadBankTransfersfromLastPayrollRun FunctionBTFILmovesthebanktransfersfromthelastpayrollruntotableBTforprocessing.
50 XLIDI CostDistributionofLiabilities ThisfunctionexecutespreparatorymeasuresforthepostingtransferofthepayrollresultstoAccountingthatarenecessarywithinthenewgeneralledger.ThefunctiondistributestheliabilitiesaccordingtoexpensesandforthispurposefillsthetablesLIDIandLIFL.Thesetwotablesareonlyforthepurposeofdistributingaccordingtoexpenses.Thefunctiondoesnotinfluenceanyothertablesofthepayrollresults.
51 P0011 ProcessingRequestforExternalTransfers FunctionP0011evaluatesthemasterdataininfotypeP0011Externaltransferfrom.
52 P0009 ProcessingRequestforBankDetails FunctionP0009evaluatesthemasterdatafrominfotype0009BankDetails.
53 XCODI CostDistribution
54 ADDCU UpdateCumulations 1.Updatecumulataionsaccordingtotheprocessingclass2.Createaveragebasesforthefollowingpayrollperiods
55 EXPRT Exportinginterimorfinalresultstodatabases FunctionEXPRTwritesvariousinternaltablesinclustertables,suchasPCL1(RPcluster1)andPCL2(RPcluster2)tothedatabase.Forexample,thefollowingtablesareexportedandstoredunderacountryspecificindicator(forexample,RDforGermany):oInternationalpayrolltables(forexample,WPBP,RT)oCountryspecificpayrolltables(forexample,SV,ST)oTimedatatables(forexample,PSP,ZL)TheinformationcanbeimportedagainusingfunctionIMPRT.
56 BREAK Settingabreakpoint TheBREAKfunctionallowsyoutointerruptprocessingatanypointintheschemaandbranchintothebreakmode.
57 PZL callsarulewhichprocessesthewagetypesintableZL
FunctionPZLcallsarulewhichprocessesthewagetypesintableZLaccordingtospecifiedrules.
58 XDECI ConvertAmountstoStandardDecimals
Dependingonthevalueofthefirstparameter,thisfunctioncanperformoneofthreetasks.Iteitherchecksallcurrenciesintheamountfield,entersastandardcurrencyinablankcurrencyfieldorconvertsamountsinacurrencywithmorethantwodecimalplacestothestandardCurrency.
59 DELZL DeletingwagetypesfromtableZL FunctionDELZLdeleteswagetypesfromthetimewagetypetableZL.
1495Views Tags:payroll,functions,pcrs
FollowSCNSiteIndex ContactUs SAPHelpPortalPrivacy TermsofUse LegalDisclosure Copyright
AverageUserRating
(2ratings)
0 Tweet 2Share 1Like
2Comments
Like(0)
NILADRIBIHARINAYAKMar9,20149:31PM
ThanksRameshforsharingthedocument..
Like(0)
VijayaKrishnaMar10,20146:19PM
ThanksRameshforsharingthedocument!