Useful Function Modules in ABAP-HR

Function modules are always helpful, specially when dealing a complex module like ABAP HR. Thanks to SAP that has provided strong Function Module support.

Here is the list of some useful ABAP HR function modules:

RS_PROGRAM_CHECK_NAME: To check program names if you are generating them.
RS_CORR_INSERT : To insert the correction request in the repository.
REPS_OBJECT_ACTIVATE: To activate repository objects, for example – to activate a newly generated program.
RS_DELETE_PROGRAM: To delete the program.
RS_ACCESS_PERMISSION: To lock or unlock a program.

Continue Reading…

Create HR Report Category in SAP

Creating / Maintaining a Report Category is one of the important task in ABAP HR when handling Logical Databases. Report Category provides an added flexibility in term of field selection to be displayed on screen and the handling of fields in the back-end.

 

rep_cat8

 

 

Continue Reading…

PNP Vs. PNPCE – Comparing the two Logical Databases

PNPCE database in many ways can be said as the extension of  PNP logical database. PNP doesn’t contain all the data elements that are now in the expanded Concurrent Employment Database. SAP made an internal decision to not modify PNP, rather supercede it with a newer logical database, PNPCE.

The PNPCE logical database supports the evaluation of HR master data. It includes the functions of the PNP logical database and offers additional evaluation options. Therefore, PNPCE logical database should be preffered over PNP database for all new developments.

Continue Reading…

Macros in ABAP-HR Programming – I

The macros will be used to get the data from the various clusters based on the cluster ID.For Buffering purpose we use macros.

For example, when we want to read the data from the cluster RU, we have to pass the cluster ID “RU” and Rx-KEY to the particular macro. By using the Rx-key the macro will fetch the data from the cluster RU.

Basically we use the macros to IMPORT/EXPORT the data to or from the clusters.

Continue Reading…

Logical Database in SAP – a must for ABAP HR programmer

The Logical Database is special type of ABAP program that combines the contents of certain related database tables and retrieve some related data and make it available to application programs.
 

In other words, a LDB is a method by which ABAP programs read and process the data. The sequence in which the data is supplied to the  program is determined by a tree structure.

logicaldb

 

 

Continue Reading…

Page 2 of 3123