Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Hi Candy To find the interval between a date type value in IT 41, following example shows the use:the operation in the format NUM=Faaesb NUM=FZ1JB - from the date type Z1 obtain the date value, then from that date calculate the number of years till the start of the current WPBP split. The operation has a good amt of help info, if you care to look. You would need to experiment a little to get what you need. To compare with a fixed date say 01.01.2000, you can do the following: Configure a constant ZSTRT with start date as 01.01.2000 and end 31.12.9999 value say 1. Create a PCR as below: TABLET511KNUM=KZSTRTNUM=BBEGDANEXTR 1 ZERO=&STRTADDWT&STRTNEXTR 2 TABLEPN NUM=BBEGDANEXTR 3 NUM-& STRT First line gets the start date of 01.01.2000 of the constant ZSTRT in T511K into NUM field. Line 2 saves it in var STRT. Line 3 gets the start date of this for-pay-period in NUM Line 4 gets the difference in number of days between the two. If you need in years, you may need to create an operation. NOTHING IS EASY! YOU NEED TO WORK FOR IT! Every expert have done that! Hope this helps. Regards, JG
| | | ---------------Original Message--------------- From: Candy Sent: Friday, June 10, 2011 2:39 AM Subject: PCR to check date type in payroll Dear Experts, I need help how to write PCR to check date type in payroll. I have scenario below: Employee will get pay if 2 conditions meet: If there is input for the wage type in IT15, it will check if it's on December pay run and employee is hired (date type 01) less than 01.01.2000 then it will get paid. I think I can use CMPER to check the Dec month, right? how about the date type that less than 01.01.2000? Any suggestion is appreciated. Thanks. Regards Candy | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | JG-SAPHR SAP HR Top Contributor
Contributed the most posts in a group for 3 consecutive months to earn a Gold Achievement _.____.__ |