10-03-2008 9:52 PM
Need FM to get Personal area based on position in HR ABAP
Thanks,
Asha
10-03-2008 10:00 PM
Hello,
You might try HR_READ_INFOTYPE for infotype 0001.
Postion and personnel area are both there.
Regards
Greg Kern
10-04-2008 3:52 AM
Below is the simple select.
DATA: LV_WERKS TYPE PERSA.
SELECT SINGLE WERKS INTO LV_WERKS WHERE PLANS = POSITION AND BEGDA <= SY-DATUM AND ENDDA >= SY-DATUM.
-Aman
10-05-2008 4:01 AM
10-05-2008 4:24 AM
10-05-2008 5:23 AM
When I am executing Tran: PA40 i come across position(plans) and personal area ( werks) before
creating pernr.
Here I need FM input as Plans and output as werks.
Thanks,
Asha
10-06-2008 2:31 AM
After the EE is created positions are in table PA0001. If there is a OM and PA integration then all the positions are stored in table HRP1000.
I don't understand why do u need a FM. Why don't you do a simple select from the table PA0001 as i showed u OR i must have misunderstood your question.
A