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: 

ABAP Classes and BADIs for HR

Former Member
0 Kudos

Hi all,

Can anyone give me a list of classes SAP has released for HR use by customers and all utility ABAP classes. Also any utility abap classes that would be useful for future. I am only interested in those relevant for ECC 5 and up.

Could you supply the BADIs or Enhancement Spots for HR too.

Thanks

Wayne

3 REPLIES 3

Former Member
0 Kudos

Hi Wayne,

Goto Transaction code SE24.

And search for CL_HR_* and CL_HR*

0 Kudos

I sometimes question the quality of SDN. The first thing I did was look at SE24, SE18 and SE80 to identify those with87yhgb HR and RH in them. There are a lot of classes used by the standard solution that aren't meant for customers.

So maybe to clear up my question. I am looking for people to tell me those USEFUL classes and BADIs that they've used in projects or implementations for HR in modern ECC 5 above releases.

I will award points for decent answers.

Former Member
0 Kudos

The BADI's I have found most useful are the BADI exits that duplicate the existing PA30 PAI / PBO User exits. If you trace back to where the exits are called you will find the BADI call within a few lines of code - but the difference is that the BADI is called outside one layer of IF logic, so it gets called in some circumstances where the user exits do not - I think this was to do with certain change or copy data situations.

Can't remember the name of the BADI, and do not have a system available to check at present, but it was not hard to find when I looked in the system.

Others I have used are as exits in the HR to FI posting interface, and also some in the travel to vendor interface. There is also an exit for customising the PERNR search help - cannot remember if this was a class or a FM.

For moving data inside the user exits in a unicode compliant way there are classes for moving data from the flat PRELP character structure to individual infotype structures - CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN and CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP.

For general unicode compliant constants such as a Tab character there is class CL_ABAP_CHAR_UTILITIES with attributes like CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.

Also if you go to SE38, select the Blue "Online Help" button, and then go to the ABAP Overview, you will find under the ABAP by Theme branch an entry "ABAP System Classes and Interfaces" which documents 20+ general ABAP classes

Hope this helps

Andrew