2009 Apr 22 3:59 PM
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.
2009 Apr 22 9:30 PM
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.
2009 Apr 22 9:30 PM
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.
2009 Apr 22 9:34 PM
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?
2009 Apr 22 9:45 PM
Functionally, not really. Your data and methods would be encapsulated, but that probably isn't worth the exercise.
2009 Apr 24 8:43 AM
2009 Apr 24 12:50 PM
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!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |