Application Development and Automation 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: 
Read only

HR Report using ABAP OO

kmoore007
Active Contributor
0 Likes
1,096

I am a classic HR ABAP programmer. I want to practice/learn more about ABAP OO. I would like to try and convert a classic HR program which uses the PNP logical DB and macros to retrieve HR infotype records to ABAP OO. I have searched some, but have not found a good example of converting an HR PNP program to ABAP OO. Anyone have some good examples/suggestions?

Thanks.

1 ACCEPTED SOLUTION
Read only

bryan_cain
Contributor
0 Likes
932

You wouldn't really "convert" a PNP report to OO. For one thing, OO will not support header lines, and the "INFOTYPES" statement creates internal tables with header lines.

SAP still recommends using PNPCE for HR Reporting, so it's not like you should move away from the LDB.

You can replace any and all subroutines in your report with local class & methods.

I am a classic HR ABAP programmer. I want to practice/learn more about ABAP OO. I would like to try and convert a classic HR program which uses the PNP logical DB and macros to retrieve HR infotype records to ABAP OO. I have searched some, but have not found a good example of converting an HR PNP program to ABAP OO. Anyone have some good examples/suggestions?

Thanks.

5 REPLIES 5
Read only

bryan_cain
Contributor
0 Likes
933

You wouldn't really "convert" a PNP report to OO. For one thing, OO will not support header lines, and the "INFOTYPES" statement creates internal tables with header lines.

SAP still recommends using PNPCE for HR Reporting, so it's not like you should move away from the LDB.

You can replace any and all subroutines in your report with local class & methods.

Read only

0 Likes
932

Thanks for the reply Bryan. In reply to your suggestion, would there really be any benefit to replace any and all subroutines in your PNP LDB report with local class & methods?

Read only

0 Likes
932

Functionally, not really. Your data and methods would be encapsulated, but that probably isn't worth the exercise.

Read only

Former Member
0 Likes
932

This message was moderated.

Read only

0 Likes
932

SAP Education has a class or two on HR Programming. I would suggest you take the class(es) to get a good foundation. Then practice. Good luck!