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: 

Modify or update infotype 31 record using Function module..

Former Member
0 Kudos

Hi Experts,

How can I update or insert a record into infotype 31 (Reference personnel) ? Is there any standard function module or anything that can update this infotype ?

I'd appreciate your input on this.

Thank you very much.

3 REPLIES 3

Sandra_Rossi
Active Contributor
0 Kudos

Generic function modules are: RH_UPDATE_INFTY, RH_UPDATE_INFTY_EXP, RH_INSERT_INFTY, RH_INSERT_INFTY_EXP, RH_UPDATE_DATABASE

Please search SDN for examples

Former Member
0 Kudos

Hi,

To update infotype use

BAPI_EMPLOYEE_ENQUEUE (to lock the pernr for operation)

HR_INFOTYPE_OPERATION (to modify, delete or insert the infotype record)

BAPI_EMPLOYEE_ENQUEUE (to Unlock the pernr for operation)

All the best.

kesavadas_thekkillath
Active Contributor
0 Kudos

Check