Upload
fahadsap
View
6
Download
1
Embed Size (px)
DESCRIPTION
Payroll Processing - Calculate Average 6 Month ..
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 5
createdbyWoodyNguyenonMay18,20139:34AM,lastmodifiedbyWoodyNguyenonDec2,20132:40AM
I.RequirementThereisaquitecomplicatedrequirement:calculateaverage6monthBasicSalaryforemployee.Forexample:inJun,averagebasicsalarywillbecomputedfromJan,Feb,Mar,Apr,MayandJun.butinJul:startmonthfromFebuntilJul.Themostdifficulthere:howcansystemcanstorevaluefromperiodtoperiod,movecorrespondingtocurrentperiodandnoissuewhenhavinganyretroactiveaccounting.
II.SolutionInordertoresolvetherequest,youhavetobeclearhowpayrollprocessingwithsometable:IT,OT,etcandFunctionsandOperationsaswell.It'squitetaketimetoexplainverydetailaboutit.SopleaseinvestigateSAPdocumentsforsomeFunctions:PIT,operationsADDWT,AMT,etcinTcodePDSY.It'snottoomuchdifficultbutaloteffortstocontrolit.Iassumethatyouunderstandtheprerequisitesabove.Mysolutionasbelow:1.Create6wagetype(indexfrom00,01,02,03,04,05)tostorebasicsalary.2.Keepinmindtheselogicwt00onlycontainscurrentbasicsalarywt01onlycontainsLastvalueofwt00(ifit'sNULL,ONLYingoliveperiodor1stperiodrunningpayroll,usingcurrentbasicsalaryorAvg6monBasicGoliveinputtedmanually)thesamelogicwillbeappliedforothersfromwt03,wt04andwt05.3.Afterhavingvalueinthesewagetypes,youjustsimplytotalanddivide6.It'sveryeasysoIdon'tcareaboutit.Iwillfocusonlythestep2.1.ConfigurationWagetype:Create6wagetypes(sharingsameconfigurationsinV_512W_D)andpleasenoteprocessingclass6:
PayrollprocessingCalculateaverage6monthBasicSalary
Share 1 3Like
Version6
http://scn.sap.com/login.jspahttp://scn.sap.com/servlet/JiveServlet/showImage/102-41643-6-218792/00-06.pnghttp://scn.sap.com/community/getting-startedhttp://scn.sap.com/community/uachttp://scn.sap.com/actionshttp://scn.sap.com/people/woody.nguyenhttp://scn.sap.com/communicationshttp://scn.sap.com/contenthttp://scn.sap.com/docs/login.jspajavascript:void(0);http://scn.sap.com/people/woody.nguyenhttp://scn.sap.com/community/downloadshttp://scn.sap.com/welcomehttp://scn.sap.com/community/developer-centerhttp://store.sap.com/http://scn.sap.com/activityhttp://scn.sap.com/community/newsletters
2.PCRTherearesomePCRwillreproducesolutionstepsmentionedinstep2:
Therearetotal5PCR(fromZV20toZV24).BasicSalaryiswt1000andAvg6monBasicGoliveiswt5901.
InthefirstPCR,therearesomestepsIwouldliketoexplaininordertobeeasiertounderstandOutputwt1000frominternaltableITtooutputtableOTtoprocess.InsertcurrentAMTintowt00(wt8000).(100%fitswith1ststepaboveKeepinmindtheselogic)Getlastvalueofwt00(wt8000),ifit's>0,assigntowt01(wt8001).Otherwise(Onlyingoliveperiodor1stperiodrunningpayroll),checkAvg6monBasicGolive.IfAvg6monBasicGolive=0,getBasicSalaryandassigntowt01(wt8001).Elsewt01(wt8001)equalsAvg6monBasicGolive.3.SchemaShouldincludeyourPCRbeforeprocessingclass10insubschemaXAL9Factoringandstorage.WithmycaseIinsertitintosubschemaXAP9Importadditionalpayments/deductions.Icapturedpayrollschemawhenrunning
displaymode,asit'sveryimportantwaytodeeplyandfastcontrolandunderstandPayrollSchema
http://scn.sap.com/servlet/JiveServlet/showImage/102-41643-6-218794/ZV20.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-41643-6-218793/00.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-41643-6-218795/ZV21.png
III.TestingLookatemployeewhohasacomplicatedbasicsalary.
AndAvg6monBasicGolive(ifyoudon'tinputthewt,systemwillgetfromcurrentbasicsalaryin1stperiodrunning
payroll )
NowrunningPayrollin1stperiodJanandJun.InJANUARY:(6wt(00>05)containcorrectlyvalues:wt00(wt8000)currentbasic300,otherAvg6monBasicGolive150.
InJUNE:(6wt(00>05)areexactly:wt00(wt8000)currentbasicJun400,wt01(wt8001)basicinMay:400,wt02(wt8002)basicinApr:350,wt03(wt8003)basicinMar:400,wt04andwt05(wt8004&wt8005)bothbasein
http://scn.sap.com/servlet/JiveServlet/showImage/102-41643-6-218799/Jan.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-41643-6-218801/Basic.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-41643-6-218796/schema.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-41643-6-218798/Golive+average.png
AverageUserRating
(2ratings)
0 Tweet 5
JanandFeb300).
2315Views Tags:hcm,human_capital_management,payroll
Share 1 3Like
7Comments
Like(0)
ChinnaSAPHRMay19,20131:41PM
HiWoody,Goodwork.IfIamworkingforIndiacanicopythosewagetypefromMB10whiachismodelwagetypeforbasicpay?Thnxinadvance
Like(0)
ChinnaSAPHRMay19,20131:47PM
HiWoody,Couldyoupleasetellmetherequiremntclearlywhyweneedtocalculateaverage6monthsbasicsalary?
Like(0)
WoodyNguyenMay19,20134:29PM(inresponsetoChinnaSAPHR)
Ihaveimplemented1projectwithspecialrequirementasbelow(basingonLaborlaw ),whenemployeeretires,employeewillget1monthsalaryfor1workingyear.Salaryistheaveragesalaryunderthelaborcontractofthepreceding06monthsbeforetheemployeeisdismissed.AndwheneveremployeeraisesLeaveRequest(sickormaternityleave),employee'sallowancesarebaseonAverage6monthBasicSalary.Actuallytherearealot
ofrequirementsinvolvingaverageSalary,soIwouldliketosharesolutionwithyouguysRegards!Woody
Like(0)
SwapnilTakteMay20,20136:12AM(inresponsetoWoodyNguyen)
HiVerygoodexample,bcozinIndiamanycompany'sarefollowingsameruleforleaveencasement.RegardsSwapnil
WoodyNguyenMay22,20134:53AM(inresponsetoSwapnilTakte)
ThanksSwapnil Actuallyit'squitedifficult,ittookalongtimeformetofindthesolution,soIwouldliketocontributetoourSCN,hopeit'shelpful
Regards!
http://scn.sap.com/people/woody.nguyenhttp://scn.sap.com/people/rajsaphrjavascript:void(0);http://scn.sap.com/community/erp/hcm/tags#/?tags=payrollhttp://scn.sap.com/people/woody.nguyenhttp://scn.sap.com/people/rajsaphrhttp://scn.sap.com/community/erp/hcm/tags#/?tags=human_capital_managementhttp://scn.sap.com/servlet/JiveServlet/showImage/102-41643-6-218802/Jun.pnghttp://scn.sap.com/community/erp/hcm/tags#/?tags=hcmhttp://scn.sap.com/people/swapnil.takte
FollowSCNSiteIndex ContactUs SAPHelpPortalPrivacy TermsofUse LegalDisclosure Copyright
Like(1)
Woody
Like(0)
GirieshChakaravarthyMamuruganDec9,20145:51PM
HiWoody,NiceDocument.Ihavetriedtodothesamebutgotstruckatapoint.ItriedtoreadtheLRTof1001WT.IamgettingtheWT8000valueforcurrentvalueofWT1001butthe8001forthepastLRTi.e,.WT8001,02,03,04,05itisnotshowingthePastLRTresults.IhavecheckedyourdocumentaswellandmyWTPC6isin1.Anyfurtherchangestobedone?IfIamusingAMT=O1001itgetsthevaluefromVORTtablebutAMT=L1001doesn't.WithRegards,GirieshM
Like(0)
WoodyNguyenDec17,20149:34AM(inresponsetoGirieshChakaravarthyMamurugan)
HiGirieshM,Youhaveyourownsolutionalreadythroughyournewblog,congratulation.Regardingyourquery,LRTisstandardtableprovidedbySAP,canyoudoublecheckagainwhetheryourPCRisputtingcorrectlyinschema?Youmayputinawrongpart.InstandardX000,SAPusesubschemaXLR0toimportlastpayrollresultbycheckingPC06PORTX006P06NOAB TransferrelevantdatatoLRTHopeyoucanhandleitsoon.BestRegards,Woody
http://bit.ly/SCNTwRhttp://www.sap.com/corporate-en/our-company/legal/impressum.epxhttp://scn.sap.com/docs/DOC-18476http://scn.sap.com/docs/DOC-19361http://scn.sap.com/people/woody.nguyenhttp://bit.ly/SCNFBhttp://www.sap.com/corporate-en/our-company/legal/copyright/index.epxhttp://help.sap.com/http://spr.ly/SCNgoogleplushttp://www.sdn.sap.com/irj/scn/policyhttp://scn.sap.com/people/giriesh.mamuruganhttp://bit.ly/SCNyouThttp://www.sdn.sap.com/irj/scn/policy?view=PP