Application Development 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: 

Need BAPI for HR module

Former Member
0 Kudos

Hi all,

We have a requirement where we need to change the employee related data.

This involves:

1) Update table PA0000

2) Update table PA0001

3) Create a new info type

Can anyone please suggest the BAPI/FM for these requirements?

Thanks and regards,

Ridhima

1 ACCEPTED SOLUTION

Former Member
0 Kudos

check FM <b>HR_INFOTYPE_OPERATION</b>

and its Documentations.

regards

Prabhu

null

6 REPLIES 6

Former Member
0 Kudos

check FM <b>HR_INFOTYPE_OPERATION</b>

and its Documentations.

regards

Prabhu

null

Former Member
0 Kudos

Hi,

what value should come in 'RECORD' parameter of BAPI HR_INFOTYPE_OPERATION.

Thanks,

Ridhima

0 Kudos

RECORD should be of type of the structure of infotype that you are updating.

for 0000 - it is P0000

for 0001 - it is P0001 and so on.

Thanks,

Prasath N

Former Member
0 Kudos

hi

good

BAPIES for Infotypes->

BAPI_SUBTYPES_FOR_DESCRIPTION Determine Subtypes of Description Infotype

FMS For Infotypes->

HR_INFOTYPE_OPERATION

i dout wheather there is any function module or bapis to update table PA0000 and PA0001 and for creating the new infotype.

thanks

mrutyun^

0 Kudos

HR_MAINTAIN_MASTERDATA will insert into PA0000. I believe you can use the FM to update just about any infotype, as HR_INFOTYPE_OPERATION calls HR_MAINTAIN_MASTERDATA in the background.

former_member186746
Active Contributor
0 Kudos

Hi,

In HR it's not advisable to simply update pa0000 table and pa0001 table.

instead you use actions.

Discuss this first with an experienced functional consultant.

Kind regards, Rob Dielemans