01-11-2017 12:27 PM
When creating a package (SE21), there’s this "Flag for Package Encapsulation" I could set.
On a saved package, I can see it in the "Package Hierarchy" tab.
But: how can I change that flag on a package that is already created?
...I haven't found a way so far....
can you help me out?
thanks
Joachim
PS: if I can't do someting in SE80/SapGui I tend to think "well, maybe Eclipse?", but that shouldn't be the case here, right? Eclipse users still have to use SE21, if I'n not mistaken....
10-02-2019 1:13 PM
Uh, well, I now found out that it is very well and easily possible (regardless whether packages checks are on or off): If you use AdT:
Big thanks to thalesvb for mentioning it in this blog:
https://blogs.sap.com/2019/08/05/code-less-reuse-more-rebels-lets-package-our-tools/
[Edit: haha funnny, I only now saw that I hinted this very path ("try it in AdT/Eclispe!") already when I created the question 2,5 years ago...]
01-12-2017 12:36 PM
Hi Joachim,
Lot of these fields cannot be changed after creation 😞
One option is to delete and recreate it. Other ugly option is to change it in table TDEVC (of course with very carefully, comparing with an existing one).
Best regards
Peter
01-12-2017 12:51 PM
01-21-2017 12:28 AM
Once You turn Your package checks on, You will be able to change this flag on the properties tab of a package.
Afterall, whether a package is encapsulated or not, makes no difference, when the checks are off.
Best regards
Michał
01-23-2017 8:24 AM
10-10-2017 3:46 PM
Hi Michal,
a small follow up: how do you actually switch on packages checks?
It seems a simple question, but I coudn't answer it myself 😞
- SAP-Help doesn't explain it, see https://blogs.sap.com/2017/01/11/whats-to-know-about-abap-package-concepts-se21-today/#comment-39369...
- I figured it's table PAKPARAM, Parameter GLOBAL_SWITCH - but how am I switching it? SM30 on PAKPARAM_V and typing (without value help) RESTRICTED or R3ENTERPRISE into it? This seems so faulty, isn't there a better way?
10-10-2017 9:19 PM
Hi Joachim,
unfortunatelly, as far as I know that's the only way. But I'll be more than glad to learn something new.
Aside from the offical help, I think I found this information also in two SAP-Press books: one was the ABAP certification guide, the other was Tobias Trapp's book about ABAP (only in German, I think), and as far as I remember, neither of them gives an alternative way of setting the package checks on.
Best regards
Michał
10-03-2017 10:27 AM
This took me quite a while to find, so I'm sharing in case others have the same issue:
10-02-2019 1:13 PM
Uh, well, I now found out that it is very well and easily possible (regardless whether packages checks are on or off): If you use AdT:
Big thanks to thalesvb for mentioning it in this blog:
https://blogs.sap.com/2019/08/05/code-less-reuse-more-rebels-lets-package-our-tools/
[Edit: haha funnny, I only now saw that I hinted this very path ("try it in AdT/Eclispe!") already when I created the question 2,5 years ago...]