4
Getting Started Newsletters Store Products Services & Support About SCN Downloads Industries Training & Education Partnership Developer Center Lines of Business University Alliances Events & Webinars Innovation Log On Join Us Hi, Guest Search the Community Activity Communications Actions Browse 0 Tweet 2 created by Ramesh Jakkula on Mar 8, 2014 10:14 AM, last modified by Ramesh Jakkula on Mar 8, 2014 11:00 AM Understanding following Payroll Functions which are generic in nature and most frequently used. Will be helpful in understanding payroll process and writing personnel calculation rules (PCR). S.No Name of the Function Description Use 1 COM Comment lines in a schema Function COM creates comment lines which exp and thus the type of payroll generated with this s 2 COPY Copying a Subschema Stored in the System The function COPY copies the schema specified schema. 3 BLOCK Log structure The BLOCK function allows you to structure the marking the beginning and end the sequence o together semantically and they appear in the pro common node.Parameters BEG/END 4 PGM Identifying a schema by program type Function PGM provides the payroll driver with in represented by the schema in question. 5 UPD Performing database updates Function UPD controls whether the results of a p database or are only present during accounting.P 6 OPT Options You can use the OPT function to import infotype 7 CHECK Check Before/After Selecting Employees Checks the period set according to the type of s 8 RFRSH Refresh internal tables Function RFRSH allows you to delete internal ta 9 ENAME Retrieve Name Function ENAME reads the last valid name of th formatting used for the country in question is us 10 WPBP Import Work Center and Basic Pay Data Function WPBP transfers master data on the wo period to internal table WPBP. The basic pay wa IT. 11 IF Conditional Execution of Functions The functions in the personnel calculation sche function and the ELSE (or ENDIF) function are o This condition can be specified using a symboli schema. The functions IF, ELSE, and ENDIF for 12 ELSE Conditional Execution of Functions The ELSE function belongs to the function block 13 ENDIF End Function of a Condition The ENDIF function belongs to the function bloc 14 GON Check data is complete Function GON checks whether all the master d 15 XGP Payroll for Global Employees Function XGP performs all processes that are n the sending and receiving payroll. In the sending RT_GP (Results Table: Payroll for Global Empl is filled. In the receiving payroll, the function pro imported with table RT_GP from the sending Pa 16 LPBEG Beginning a Loop in the Personnel Calculation Schema Function LPBEG marks the beginning of a loop 17 LPEND Ending a Loop in the Payroll Schema Function LPEND marks the end of a loop in the 18 IMPRT Importing Intermediate or Final Results You use function IMPRT to import data from the available for processing. You can import payrol data (cluster B2), and time wage types (cluster Z number. Depending on the parameters, the data is made of tables. This gives you the option of processin together, for example, to compare, calculate diff 19 PITAB Processing Internal Tables PITAB makes it possible to reload, delete, and m this function is to save the contents of one table table in order to process the original table with a reload the original data back the table. 20 PORT Transfer of Data from the Previous Payroll The function PORT initiates a calculation rule w old results table ORT according to the specified Payroll Functions Share 1 Like Version 1

Payroll Functions

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!