Hacker News new | past | comments | ask | show | jobs | submit login

This a great post of something every SAP developer has to write down for himself at some point.

One thing I would note though, is that FORMS are deprecated and shouldn‘t be used, so removing them from your personal template is good idea.

Apart from that: Great job!




Thanks for that feedback. But what is the alternative to using FORMs? Going full object oriented?

I have seen some reports in the past by other consultants that are heavily relying on OO and those are like really hard to debug as they are most likely not that straight forward.


Instead of using a main FORM, you could use a main method. The advantage of that is, that the ABAP compiler prohibits certain obsolete statements in a class context, so you are not only avoiding the already obsolete FORMS, but you are also securing your coding from any other obsolete statements.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: