Get Peras SAP HR


Get Peras SAP HR

Understanding GET PERAS in SAP HR

In SAP Human Resources (HR), the GET PERAS event is a vital tool for retrieving employee data. It interacts with the powerful PNPCE logical database, offering flexibility and efficiency in handling HR information. Let’s explore what GET PERAS is, why it matters, and how to use it effectively.

What is GET PERAS?

  • GET PERAS is an event within the PNPCE logical database (a structured way to organize complex HR data).
  • It’s triggered when you need to process data for a group of employees (as opposed to GET PERNR, which focuses on a single employee).
  • Think of it as a way to say, “Fetch the relevant HR data for this set of employees.”


  1. Optimized Data Retrieval: GET PERAS is excellent for scenarios where you must simultaneously work with data from multiple employees. It helps streamline the process compared to fetching individual employee records.
  2. Logical Database Integration: The PNPCE logical database is designed for complex HR structures. GET PERAS aligns perfectly with this, allowing you to navigate these structures easily.
  3. Performance:  In many cases, GET PERAS can improve the performance of your HR reports and custom programs, especially when dealing with larger datasets.

How to Use GET PERAS

A typical GET PERAS implementation looks like this:


NODES: paras.  

TABLES: pernr, pa0001, pa0002 …. ” Add other tables as needed.

GET paras.  

  ” Your data processing logic goes here 

  ” Example:

  LOOP AT paras. 

       READ TABLE pa0001 WITH KEY pernr = peras-pernr. 

       IF sy-subrc = 0.

            ” Process info type 0001 data



Use code with caution.


Important Considerations

  • Selection Criteria:  Be mindful of the criteria used to determine the employees you want to process with GET PERAS. This influences the data retrieved.
  • Infotype Selection: Clearly define the HR info types (categories of HR data, like personal data, organizational assignment, etc.) needed within your GET PERAS block.
  • Modern Alternatives:  While GET PERAS is still widely used, explore object-oriented approaches with classes like CL_HRASR00_EMPLOYEE_SEARCH for potentially cleaner and more maintainable HR programming.

In Conclusion

GET PERAS is a powerful instrument within the SAP HR programmer’s toolkit. Understanding its use, strengths, and best practices will empower you to build efficient and robust HR data processing solutions.

You can find more information about  SAP  HR in this  SAP HR Link



Unogeeks is the No.1 IT Training Institute for SAP HR Training. Anyone Disagree? Please drop in a comment

You can check out our other latest blogs on  SAP  HR here – SAP HR Blogs

You can check out our Best In Class SAP HR Details here – SAP HR Training

💬 Follow & Connect with us:


For Training inquiries:

Call/Whatsapp: +91 73960 33555

Mail us at:

Our Website ➜

Follow us:





Leave a Reply

Your email address will not be published. Required fields are marked *