on 10-20-2011 3:41 AM
Dear all,
We are in the positive time. I have a requirement to make a holiday based on the religion. Ex.. If an employee is Christian, then "good Friday" is only applicable to Christian employees, so I have created holiday class for good Friday, but my requirement is, I need to have an operation in time schema for check employee religion in info type 0002 (Personal Data)
I have searched much but I could not find such an operation in time schema, pls any one can help me how I can achieve this?
Thanks
manju
Hello again Manju;
You can try to read the field religion like this:
D TABLEP0002VARGBKONFE
Regards;
Okan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sikindar/Okan,
You both are absolutely correct, I have done as u mentioned but my requirement is "good today " is only holiday for Christians employees but if they worked on that day that worked hours will be consider as OT.
For this case, I need to write a PCR. I hope calling the holiday class and making decision in PCR is not sufficient. I'm tring to call holiday class ( good Friday) as well as "religion" in IT0002
In time management schema I did not found operation to make decission on religion. Are they any standard operation there or without having operation can I do it or do I want to create customer operation?
Thanks,
Manjula
how abt this
Why cant we have a another holiday class which is customer specific and the holiday class will be assigned to "Good Today"and we will Query PCR based on Holiday Class....if this will not suffice the requirement...
i feel Going for Custom Function based on Religion is the only option
Hello Manju;
As far as I know, I had suxh experience. But I know that when you define holiday if you choose religion it controls religion field in It0002 and count that day as holiday or not in IT0007.
I think you can try this.
Regards;
Okan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Write one operation of yours and identify the religion from IT0002 for the employee.
Ask the technical resource from your team and identify the place in schema where you will need the check.
Thanks & REgards, Swapnil Mishra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manju,
we dont have standard operation for the religion.
go for custom operation and try
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30683d9b-b2e1-2c10-31a4-8ef6f8ba9b99?quicklink=index&overridelayout=true]
[http://help.sap.com/saphelp_nwmobile71/helpdata/de/45/d9896a97125595e10000000a1553f7/content.htm]
regards,
mohammed
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.