I have seen a lot of questions involving generate absence quota in scn. Thus I would like to share my knowledge to you.
In order to easy understand I will resolve 1 requirement in actual as below:
Generate absence quota 2 days per month for every employee.
If employee is hired:
I will show you how to do it in my document: http://www.mediafire.com/view/?u40an99i6fde29e
The important points are 2 PCRs here:
HRS=BCURDY -> get the date that it's running in PT60 (Time Evaluation).
HRS?01 -> Check with the first date of month.
If true, assign 2 into 9H00.
Else check M9H00 ( check absence quota has been created in IT2006 or not).
If not, go to ZE01.
In ZE01, I checked:
If date > 20: Absence Quota = 0.
If date >9 & date <= 20: Absence Quota = 1
If date > 1 & date <= 9, Absence Quota = 2.
And 9H00 is a time type to hold the value of Absence Quota in Infotype 2006.
Hope you can control it soon.
Regards!
Woody.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 |