Nothing Special   »   [go: up one dir, main page]

Over Time Schema

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 27

Scenario: Overtime Calculation

Employee’s overtime, which is entered in employee remuneration info should be paid


correctly in his payroll.

OT Rate has to be calculated as per the below logic.

OT Rate = (Basic * 12) / 2496.

Using standard schema, we cannot achieve this.

We will create a custom rule and add that rule in custom schema.
Copying Standard Schema:

TCODE: PE01.

Enter Schema name and click on Copy button. Enter TO Schema.

Copy SAP Standard Schema (XT00) to Z Schema (Z003).

Rule Creation:

TCODE: PE02.
Enter Rule name and click on Create button. In Attributes, enter Program Class ‘C’ (Payroll).

Create a Rule (Z002) for calculating OT Rate.

Each rule contains operations to process payroll data in internal tables. In the below rule we
have used AMT, ADDWT and FILLF operations.

AMT*12: Amount of the current wagetype is multiplied with 12.

ADDWT 9010: The Current wagetype values are added to wagetype 9010 into OT table.

FILLF: This will reset the value of current wagetype.

ADDWT *: Adding current wagetype to OT table.

Create another rule(Z004) to send amount of wagetype 9010 to wagetype 9020.


Create a rule(Z005) to multiply Rate with Number to get Amount.

Insert the newly created rules into schema Z003.

Data Maintenance:

Now enter wagetype 9020(Overtime) and number of hours in Employee Remuneration Info
(2011) infotype.
Executing Payroll:

Check Payroll Results:


 SAP Managed Tags:
 SAP ERP,

 HCM (Human Capital Management)

 enterprise resource planning

 sap erp human capital management

20 Comments
Binu
Participant
07-07-2013 12:28 PM
0 Kudos

Hi Pradeep,

Keep up the good work. This is an amazing document. However the screenshots are not clear.
Is there any way you could update the same??

Regards,

Binu

Former Member
07-07-2013 1:11 PM
0 Kudos

Hi Binu,

You can click on the screen shots then they will pop up in larger image and will be clear.

Regards

Upen
Former Member
07-07-2013 2:49 PM
0 Kudos

HI wen clik on scren shots they are not opening ..........

Binu
Participant
07-08-2013 6:45 AM
0 Kudos

Hi Upendra,

I have tried several methods to chk the screen shot, the issue is, the moment u enlarge the
size, the content gets blurred and become unreadable.

Was hoping to read the functions used in the rule...

Former Member
07-08-2013 1:19 PM
0 Kudos

Hi,

i done according to document stepwise only


but if i give OT hours in IT 2010 as 5 in salary also it is 5 only not multiplying with hour rate
* 5 (OT hours)

what is the issue can anyone please clarify.

thanks and regards,

praneeth kumar

Former Member
07-08-2013 1:28 PM
0 Kudos

Hi Binu,

Then I would not be of any help here, because I have suggested what I have done, may be it
is something with your OS, I am not sure.

former_member182306
Active Contributor
10-17-2013 10:21 AM
0 Kudos

Good Document
leelamohan_kavali
Active Contributor
02-28-2014 1:01 PM
0 Kudos

Good document,

Ur's

Mohan

former_member199214
Participant
04-21-2014 11:56 AM
0 Kudos

Hi ,
Your document is easily understandable.

Thanks for such a good one.

Regards,

Sindhuja.

former_member182306
Active Contributor
04-21-2014 11:59 AM
0 Kudos

Have you tried Sindhuja Above scenario...

former_member199214
Participant
04-21-2014 12:00 PM
0 Kudos
Hi rajesh,

Ya going to start after finishing my work.,

Regards,

Sindhuja

Former Member
01-20-2016 8:54 PM
0 Kudos

HI pradeep,

Good job.

A Good document and simple way of explanation.

Thank you,

smk

former_member621026
Member
10-09-2019 11:52 AM
0 Kudos
Hello,

I'm very new to HCM and i have no idea about PCR's and Schemas.

Can anyone please tell me what are 9010, 9020, 2496 are? and if those are wage types, where
do we have to create them?

Thank you.

former_member193210
Active Contributor
10-09-2019 1:15 PM
1 Kudo

Hello Mohamed,

This is an old discussion thread, by a "Former member".

In the example given, 2496 is a number used in the formula, while 9010 and 9020 are Wage
Types.

Please look at the documentation on help.sap.com and the HCM/Payroll wiki page on this site
for documentation on "How to create a WT", or do a search on this site or on the web.
Iskra
Explorer
10-27-2021 8:45 AM
0 Kudos

Hi Remi,

As the author of the article seems inactive anymore, can you may be help me understand why
PCR rule Z002 doesn't call Z004 and Z004 to call Z005 - this way only Z002 rule can be
added to scheme. Or my assumption is wrong?

Thanks, Iskra

A_Gamaleldin
Explorer
01-10-2022 10:35 AM
0 Kudos

Hi iskra

Your assumption is wrong.


The PCR rule doesn't call PCRs but Sub-schema like Z003 in the above example can be used
to call PCRs.

Best Regards,

Ahmed Gamaleldin

karpagam_rajbabu
Participant
06-16-2023 2:33 PM
0 Kudos

Hi Pradep,

Thank you for the document. Very helpful

karpagam_rajbabu
Participant
07-10-2023 8:42 AM
0 Kudos
Hi Pradeep,

I replicated the configuration and see that even when the overtime hours is not maintained,
the overtime wage types appear in the payslip. How to resolve

Thanks / Karpagam Rajbabu

karpagam_rajbabu
Participant
07-10-2023 4:36 PM
0 Kudos

Modified Z005 PCR and resolved


karpagam_rajbabu
Participant
07-18-2023 7:53 AM
0 Kudos

I'm facing another scenario here. When I do cost assignment in Infotype 2010 and do the
payroll run, the calculation is not happening. For One Overtime entry of 2 hours I maintained
cost assignment and that entry shows in payroll log without the Amount as per screenshot.
How to resolve?
You must be a registered user to add a comment. If you've already registered, sign in.
Otherwise, register and sign in.

 Comment

Labels In This Area

 "mm02"1
 A_PurchaseOrderItem additional fields1
 ABAP3
 abap cds1
 ABAP CDS Views2
 ABAP CDS Views - BW Extraction1
 ABAP CDS Views - CDC (Change Data Capture)1
 ABAP Development1
 ABAP Extensibility1
 ABAP Programming1
 abapGit1
 ACCOSTRATE1
 ACDOCP1
 Adding your country in SPRO - Project Administration1
 Advance Return Management1
 Advanced Intercompany Sales (5D2)1
 Advanced Variant Configuration1
 AI and RPA in SAP Upgrades1
 API and Integration1
 Approval Workflows1
 Ariba1
 ARM1
 Artificial Intelligence (AI)1
 ASN1
 ASSET MANAGEMENT1
 Assigned budget1
 Associations in CDS Views1
 auditlog1
 Authorization1
 Auto PO from GR1
 Availability date1
 Azure Center for SAP Solutions1
 AzureSentinel2
 Bank1
 BAPI_SALESORDER_CREATEFROMDAT21
 Billing1
 BRF+1
 BRFPLUS1
 Budget for PRs1
 Bundled Cloud Services1
 business participation1
 Business Processes1
 Capacity Planning1
 CAPM1
 Carbon1
 CDS Annotations1
 Cental Finance1
 CFIN1
 CFIN Document Splitting1
 Cloud ALM1
 Cloud Integration1
 COGS SPLIT1
 Commitment Cost1
 Commitments by Cost Center1
 condition contract management1
 Connection - The default connection string cannot be used.1
 Consignment Process using MRP Area1
 Cost plan1
 Custom Table Creation1
 Customer Screen in Production Order1
 Customizing1
 Data Analytics1
 Data Analytics & AI1
 Data Quality Management1
 Date required1
 Decisions1
 desafios4hana1
 Developing with SAP Integration Suite3
 Direct Outbound Delivery1
 DMEEX1
 DMOVE2S41
 DTW1
 EAM1
 EDI3
 EDI 8501
 EDI 8561
 edocument1
 EHS Product Structure1
 Emergency Access Management1
 Employee Central Integration (Inc. EC APIs)1
 Energy1
 EPC1
 FINANCE1
 Financial Operations1
 Find1
 FINSSKF1
 Fiori1
 FIORI MY-INBOX1
 Flexible Workflow1
 Gas1
 Gen AI enabled SAP Upgrades1
 General1
 generate_xlsx_file1
 Getting Started1
 HomogeneousDMO1
 How to add new Fields in the Selection Screen Parameter in FBL1H Tcode1
 IDOC2
 Incompletion Log in Sales Order1
 Integration1
 Intercompany1

Related Content
 Navigating Regulatory Changes with Joulein Enterprise Resource Planning Blogs by
SAP Friday
 SAP Fiori for SAP S/4HANA – Upgrade Faster - More use cases for Launchpad
Content Aggregatorin Enterprise Resource Planning Blogs by SAP Thursday
 Using Responsibility Rules in Situation Handling (2/2)in Enterprise Resource Planning
Blogs by SAP Thursday
 Posting Vendor doc with BAPI_ACC_DOCUMENT_POSTin Enterprise Resource
Planning Q&A Thursday
 Inquiry About Cockpit Skinin Enterprise Resource Planning Q&A Thursday

Popular Blog Posts


IDoc Basics For Functional Consultants

by former_member213836 Active Participant


 1007691 Views

 318 comments

 660 kudos
LSMW for Functional Consultants in simple step-by-step way

by former_member182098 Active Contributor


 592960 Views

 294 comments

 388 kudos
Pricing procedure Steps and Details in SAP MM

by former_member183424 Active Contributor


 716050 Views

 161 comments

 321 kudos

Top Kudoed Authors


2

Ayman

former_member13912

-Mustafa_Onur-

2
Ravimm

jogeswararao_kavala

Ritz

1
DenizZilyas

yogen_patil

Reza

View all

Follow



 Privacy
 Terms of Use
 Copyright
 Legal Disclosure
 Trademark
 Suppo

You might also like