PAYROLL文档Word文档下载推荐.docx

上传人:b****3 文档编号:17859597 上传时间:2022-12-11 格式:DOCX 页数:27 大小:1.08MB
下载 相关 举报
PAYROLL文档Word文档下载推荐.docx_第1页
第1页 / 共27页
PAYROLL文档Word文档下载推荐.docx_第2页
第2页 / 共27页
PAYROLL文档Word文档下载推荐.docx_第3页
第3页 / 共27页
PAYROLL文档Word文档下载推荐.docx_第4页
第4页 / 共27页
PAYROLL文档Word文档下载推荐.docx_第5页
第5页 / 共27页
点击查看更多>>
下载资源
资源描述

PAYROLL文档Word文档下载推荐.docx

《PAYROLL文档Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《PAYROLL文档Word文档下载推荐.docx(27页珍藏版)》请在冰豆网上搜索。

PAYROLL文档Word文档下载推荐.docx

SchemasareeditedwithtransactionPE01,andrules

Figure1–Processingrelationships

withPE02.FunctionsandoperationsaremaintainedwithtransactionPE04.Toviewpayrollresults,

usetransactionpc_payresult(orinearlierR/3releasesgotoTools>

Payrollresult>

DisplayinthePayrollmenu).(SeeFigure1.)Thestandardpayrollschemaforacountrycanbederivedfromtablet500l.Ifthecountryintablet500lhasanXintheOldNamingConvfield,thentheschemaisHRCountryIndicatorplus000.Otherwise,itistheISOCodeplus00.SotheU.S.hasschemaU000andforMexicoitisMX00.

HeaderandTableWageTypeConcept

Whencalculatingpayroll,wagetypesarereadfrominfotypesandtheTimeManagementclusterandstoredinaninternaltablecalledtheInputTable(IT).(SeeTable1.)InABAPterms,thisissimplyaninternaltable.Variouspayrollfunctionsandoperationscanreadandupdatedatainthistable.SimilartoABAPinternaltables,thereisaheaderrow.Thatheaderrowdefineswhichrowofdatacanbeaccessedbythepayrolloperations.Aftermanipulatingthedataintheheaderrow,youcansavetherowbacktotheIT,saveittoanotherpayrolltable,orignoreit.InTable1therearethreewagetypes,andwagetype2100iscurrentlyintheheaderrow.Afteryouaredonewithwagetype2100,wagetype4200ismovedintotheheaderrow.

Table1

Wagetype

Number

Rate

Amount

2100

100.00

4200

20.00

1500

40

10.30

412.00

Table1InputTable

CreatingCustomSchemasandRules

SchemaandRuleNamingConventions

CustomermodifiedschemasandrulesneedtobeginwithZ.ManycustomerssimplyreplacethefirstletterofthestandardschemawithaZ–i.e.,theirmodifiedcopyofUAP0becomesZAP0.Buttherecanbeproblemswiththatconvention.Forexample,youmightlaterimplementCanadianpayrollandneedamodifiedversionofschemaKAP0,butZAP0isalreadyusedfortheU.S.Formanyyears,I’veusedanamingconventionofZplusthecountryidentifierandasequentialnumberformodifiedrulesandschemas.SoamodifiedUAP0wouldbecomeZU01andamodifiedKAP0becomesZK01.

EditorDocumentation

Documentationforthefunction,operation,schema,andruleeditorsisavailableonlineat.ClickonSAPR/3andR/3Enterpriseandthenselectyourreleaselevelandlanguage.ThennavigatetotheHumanResources>

HRToolssection.

F1Help

Intheschemaandruleeditors,placeyourcursoronafunctionoroperationandpressF1togethelptext.Aschemaorarule’sdocumentationisavailableintheeditorviatheGoto>

Documentationmenu.Intheschemaeditor,theF4keyshowspossiblevaluesforeachofthefourparametersforwhateverfunctionisenteredonthatline.Thesamedocumentation–andmore–isavailableviatransactionPDSY.

CreatingaTestSchema

Fortestingpurposes,itisusefultohaveaversionofthepayrollschemathatdoesnotcareaboutthecontrolrecord(transactionPA03)settings.Bypassingthecontrolrecordletsyourunandsavetheresultsforanypayperiodneeded,withouthavingtoupdatethecontrolrecord.There’snoproblemwithhavingsuchaschemaaround,sincethepayrolldriverdoesnotsavepayrollresultsfromaschemathatignoresthecontrolrecordinaproductionsystem.Forexamples,Iwillshowyouhowtocreatetwoschemas–ZUA0,whichwillbeusedinproductionandwillcheckthecontrolrecord,andZUAT,whichignoresthecontrolrecordandisusedfortestingpurposesonly.

First,createacopyofSAP’sschemaUIN0andnameitZUA2.Intheschemaeditor(transactionPE02)enterschemaUIN0,andclickthecopybutton,orSchema>

Copyinthemenu.EnterZUA2fortheToschema.TheneditZUA2andmaketheCHECKABRlineexecutablebyremovingtheasteriskintheDcolumn.(SeeFigure2.)TheCHECKfunctioniscommentedoutbySAPinthestandardschema,soyouuncommentithereforuseinthemainZUA0schema.

Figure2MakingtheCHECKABRlineexecutable

NowcopytheSAP-standardschemaU000toZUA1andcommentouttheinitializationschemaUIN0(Figure3).

Figure3CommentouttheinitializationschemaUIN0

Intheschemaeditor,createtheproductionschema(don’tcopyitfromanything)inmyexampleZUA0.BesuretochecktheSchemacanbeexecutedcheckbox.(SeeFigure4.)Onlyexecutableschemascanbeenteredintothepayrolldriverselectionscreen.

Figure4ChecktheSchemacanbeexecutedcheckbox

TheproductionschemaZUA0isasimpleone,justtwolines.(SeeFigure5.)First,youcalltheinitializationschema,andthenyoucallthemaincalculationschemaZUA1.

Figure5SchemaZUAO

CopyschemaZUA0toyourtestschemaZUAT.(SeeFigure6.)YouwantZUATtoignorethecontrolrecord,sohaveituseschemaUIN0forinitialization.RememberthatCHECKABRiscommentedoutinUIN0.Therefore,boththeproductionandtestschemasnowusethesamecalculationlogicinschemaZUA1–whichkeepstheminsync.

Figure6CopyschemaZUA0totestschemaZUAT

YourcustomrulesfortheseexampleswillgoinacopyofschemaUAP0.CopyUAP0toZUA3andaddlinesforeachofthefiveexamples.(SeeFigure7.)EditschemaZUA1toCOPYZUA3insteadofCOPYUAP0(notshown).

Figure7Addlinesforeachofthefiveexamples

SchemaandRuleDocumentation

CreatingDocumentationObjects

ManycustomizingobjectsinPayrollcanbedocumentedonlineinSAP.Thedocumentationisaddedtoatransportsothatitcanbemigratedtoeachclientinthedevelopment,QA,andproductionenvironments.TherearethreewaystodocumentanobjectonlineinSAP.

Whenchangingschemasandrules,youcangodirectlytotheDocumentationsectionatthefirstscreenoftheeditor.Or,whileediting,usetheGoto>

Documentationmenu.Eithermethodtakesyoutoaneditor.TheeditorshowninFigure8isfromtheEnterpriserelease,andtheappearanceandfunctionscanchangefromonereleasetoanother.RuleZUA0hasnodocumentation.

Figure8EditorfromtheEnterpriserelease

TypicaldocumentationmightlooklikewhatisshowninFigure9.AnotherU2headingwasaddedforModificationHistory.

Figure9ModificationHistoryheaderadded

Whenmodifyingwagetypes,constants,andotherdataviaviewsintransactionSM30ortheIMG,clickontheblueiorInfobuttonfordocumentation.Thecurrentdocumentationisbroughtupindisplaymode.ClickontheeditbuttonorpressF5tomaintainit.

TransactionPDSYisauniversalwaytoaccessallthisdocumentation,regardlessofwhereitcomesfrom.ViaPDSY,youcanviewandeditdocumentation,usingthesameeditor,formanydifferentobjects.EarlyreleasesofR/3usedreportRPDSYS00toviewandmaintaindocumentation,butithasbeenreplacedwithtransactionPDSY.WhileRPDSYS00maycontinuetoexist,youcannotbeassureditisshowingyouthemostrecentdocumentation.

Documentthe‘Why’

Eachrule,schema,wagetype,andconstantcanbedocumentedonline.ClickontheGotomenuandselectDocumentation.Fromthere,youcanenterdocumentationonwhyyouaremakingthechanges,referencethetransportitisassignedto,andperhapsenterotherchangemanagementinformation(i.e.issuenumber,ticketnumberandsoon).Thecriticalpartistodefinewhyyouaremakingthechange,notjustsayingwhattheruledoes.Mostpeoplewhohavetocomebehindyoutomodifytherulecanseewhattheruleisdoing,butmaynotknowwhyitwasdoneacertainwayorifthereareotherdependenciesintheschema.Thissortofdocumentationrequiresverylittleeffort,andsavesmuchtimeinthefuture.

ExpandingtheSchemaandRules

ReportRPDASC00canbeusedtopullalltheCOPYschemasandrulesintoonelist.Thisisveryusefulwhenyouarelookingforcertainthingsintheschema–forexample,whereiswagetype0COLused?

RunningthereportasshowninFigure10listsallschemas,sub-schemas,rules,andsub-rulesforthemainschemaZUAT.

Figure10ReportformainschemaZUAT

RunningthePayrollDriver

Thepayrolldrivercanberunanumberofdifferentways.Fromthepayrollmenuforaspecificcountry,selectthePayroll>

Startpayrolloption.OrusetransactionPC00_Mxx_CALC,wherexxisthecountryidentifier(orMOLGA).ThepayrolldrivercanalsobeexecutedfromtransactionsSE38andSA38.Anywayyougo,thisselectionscreencomesup(usingU.S.payrollandthetestemployeeasanexample).(SeeFigure11.)

Figure11PayrolldriverselectionscreenfortheUnitedStates

IfyouareusingtheschemaZUA0forproductionpayroll,thepayrollperiodisalwaysleftatCurrentperiodunlessyouareonlyrunningsimulations,whichtellsthepayrolldrivertogetthecurrentpayperiodfromthepayrollcontrolrecord.IfyouusethetestschemaZUAT,youcouldselectOtherperiodandthenenterwhateverperiodandyearyouwanttorun,andsavethoseresults(onlyinanon-productionsystem).The

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 经管营销 > 生产经营管理

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1