Skip to Content
Former Member
Oct 20, 2007 at 02:04 AM

How can I have any new pernr creation dynamically trigger custom code


I would like to develop a custom process that is triggered whenever a new pernr is created. So basically when pa40 is used to hire an employee, is there a way for this new hire event to trigger my custom code. I would like to grab the new pernr, look up the CP object just created, and save this CP data in a custom infotype. I looked into the possibility of using dynamic actions, and the user exit zxpadu02 option. The options I mentioned may work, but I was hoping to find a more solid solution where the moment a pernr and its CP are created, my custom code can execute.