We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-hr] How to Split Overtime Hours into Two Wage Types?

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from JG-SAPHR on Jan 28 at 9:10 AM
Hi,

If you have already determined the OT hours, then you can use a PCR called with ACTIO, before CUMBT - to determine day of week and add the required OT hours to the appropriate w/t.
VARSTWEDAY gives day of week like 1 = Monday, ... 7=Sunday. I think this depends on how the week start/end is defined. You can try VARSTLWDY also.

Regards,
JG

---------------Original Message---------------
From: HR Functional
Sent: Thursday, January 26, 2012 10:59 AM
Subject: How to Split Overtime Hours into Two Wage Types?

Hi Experts,

Kindly help me with below issue. I'm stuck in the middle of the PCR. We are
using TM04 schema.

The issue is , OT hours should be calculated from Mon-Sun. Within this
week, first 7,5hours should goto WT 2020 and the rest of the hours should
go to WT2021. I wrote PCRs as below.
--------
PCR1. (Initialisation)
Varstwdy 1
N
HRS=M0901
ADDDB 0901Z

Y
HRS=0,00
ADDDB0901Z
------
PCR2 : (Evaluate OT - )
OUTOTWGTYP

****
|_
ADDOT *

0300
|_HRS=D0901
HRS?COVERT (Constant stored with 7,5hrs in V_T511K)
*
HRS-COVERT
HRS- *
ADDOT 2020


>
HRS=OVERT
ADDOT 2020
HRS>0
HRS<D0901
GENOWB*
ADDOT 2021
-----
PCR 3:

HRS=D0901
HRS-M0901
ADDDB0901Z

I'm unable to get the result.

When hours are >7,5, how do I check the condition to split the hours and
put them into WT 2021?


Thanks in advance,

G

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
JG-SAPHR  
Senior SAP HR Consultant
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language