Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI for hr master data

Former Member
0 Likes
779

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

4 REPLIES 4
Read only

Former Member
0 Likes
520

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.

Read only

0 Likes
520

Amit ,

Thanks , i have to execute the bapi in other system .

please help .

Read only

0 Likes
520

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.

Read only

Former Member
0 Likes
520

orgtxt = Search Term