I package everything that moves
2023-04-03
I obsessively package everything that moves.
If I’m doing a development from scratch it’s obvious that the first thing to do is create an encapsulated package dedicated to it.
But whenever I make a change to an existing development, however small, I also try to package it.
What I do
- I create a package named after the development (respecting naming conventions)
- I put it as a sub-package of the package where the development currently is
- I move to the new package all the objects that belong to that development (programs, includes, classes, function groups, transactions, DDIC objects, etc)
- If ABAP Package Concept is enabled on the system, I use the Package Check tool to help me find other less obvious objects and check if some are shared with other developments.
- Only now, with the development packaged, do I implement the necessary change.
ZERO risk
- Moving objects from one package to another has no risk;
- If I forget to move any object to the new package, there are no consequences;
- If any of the moved objects are used by another development, there is no problem either.
By doing this I know I’m leaving the system slightly more organised than I found it.
Greetings from Abapinho