[go: up one dir, main page]

0% found this document useful (0 votes)
52 views3 pages

SAP HR ABAP Interview Questions

ABAP Interview questions

Uploaded by

ramkar1981
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views3 pages

SAP HR ABAP Interview Questions

ABAP Interview questions

Uploaded by

ramkar1981
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

SAP HR ABAP Interview Questions and Answers

General SAP HR ABAP Interview Questions

1. What is SAP HR ABAP?


Answer:
SAP HR ABAP refers to the use of ABAP programming language in the Human Resources (HR) module of
SAP. It involves customizing and enhancing HR functionalities such as payroll, time management,
organizational management, and personnel administration through ABAP coding.

2. What are Infotypes in SAP HR?


Answer:
Infotypes are data structures that store employee-related data. Each infotype has a unique 4-digit number
(e.g., 0001 for Organizational Assignment). Infotypes can be time-dependent and are used to manage data
such as personal info, address, payroll data, etc.

3. What is the difference between PNP and PCH logical databases?


Answer:
- PNP (Personnel Administration): Used for employee master data (Infotypes).
- PCH (Personnel Development/OM): Used for organizational management and personnel development.

4. What are the commonly used function modules in HR ABAP?


Answer:
- HR_READ_INFOTYPE - Reads infotype data
- HR_INFOTYPE_OPERATION - Used for creating/modifying/deleting infotype data
- CU_READ_RGDIR - Reads payroll cluster directory
- PYXX_READ_PAYROLL_RESULT - Reads payroll results
- RP_PROVIDE_FROM_LAST - Gets the last infotype record

5. What is a payroll cluster? How do you read it?


Answer:
A payroll cluster stores the results of the payroll run. It is stored in table PCL2 and accessed using
IMPORT/EXPORT statements or function modules like:
- CU_READ_RGDIR - To get the list of payroll periods
- PYXX_READ_PAYROLL_RESULT - To fetch payroll data

Technical SAP HR ABAP Questions


6. How do you create a custom infotype?
Answer:
- Use transaction PM01.
- Create structure in SE11, screen, and function group.
- Customize T591A and T582A entries.

7. How do you implement dynamic actions in HR?


Answer:
Configured in table T588Z to trigger actions when infotype is processed.

8. What are the important internal tables used in payroll processing?


Answer:
- RT - Results Table (wage types)
- WPBP - Work place basic pay
- CRT - Cumulated Results Table
- BT - Bank Transfer data

9. Explain how to debug a payroll schema.


Answer:
- Use PC00_M99_CALC_SIMU or PA30.
- Set breakpoints using PE04 and debug via PE03.

10. How do you handle authorizations in SAP HR ABAP?


Answer:
Use Authorization objects like P_ORGIN, and macros or function modules for checking.

Scenario-Based Questions

11. How do you fetch all employees who joined in the last 3 months?
Answer:
Query infotype 0000 or 0041 using HR_READ_INFOTYPE with date comparisons.

12. How would you write a report that shows employee payroll results including gross and net pay?
Answer:
Use CU_READ_RGDIR and PYXX_READ_PAYROLL_RESULT to fetch RT entries for wage types.

13. What are evaluation paths in OM?


Answer:
Defines navigation logic in OM (e.g., A008 - holder).

14. How do you enhance PA30 screen?


Answer:
Use screen enhancements, user exits, or BAdIs (e.g., HRPAD00INFTY).

Best Practices Questions

15. What is your approach to performance tuning in HR ABAP reports?


Answer:
- Avoid nested loops.
- Fetch only necessary infotypes.
- Use buffers and proper indexing.
- Use SELECT FOR ALL ENTRIES carefully.

You might also like