‎2006 Mar 21 12:50 PM
hi all,
Please tell a bapi for getting emp. details , with personal area as input .
i have found a bapi BAPI_EMPLOYEE_GETDATA but i am unbale to get the data .
please tell me what is orgtxt .
thanks,
sridhar
‎2006 Mar 21 1:00 PM
Hi sridhar,
1. i don't think there is any direct bapi
which provides filteration
for personnel area.
2. what u can do is,
select * from
pa0001
for the required personnel area,
and get the list of those personnel numbers.
3. THEN,
u can use the same bapi
BAPI_EMPLOYEE_GETDATA
and pass the personnel number(s)
to get extra information !!!
regards,
amit m.
‎2006 Mar 21 1:03 PM
Amit ,
Thanks , i have to execute the bapi in other system .
please help .
‎2006 Mar 21 1:07 PM
Hi again,
1. If that is the case, then
2. make a new FM (which is RFC enabled)
3. In that
a) write a select query
to get all employees from
pa0001 with the required personnel area.
b) then use your normal BAPI/FM
to get other data .
4. Call this Z fm,
using DESTINATION,
5. Thats all !
regards,
amit m.
‎2006 Mar 21 1:07 PM