Closed ed-holland closed 4 months ago
two options:
a: add the includes to the dependencies repository
b: add the constants to globalConstants
in the configuration
both would be workarounds. Should i look for a more permanent sollution in Abap?
Just noticed that we have LFKKAKTIV2CON already added in the deps generation.
will investigate why it is not being included (probably because it is an include).
both would be workarounds. Should i look for a more permanent sollution in Abap?
I think SAP recommends includes to be only used once, so if you can get rid of the usage that would be the best for the code/solution IMHO
Not a good recommendation as they are includes used in many places to centralize the definition. Can not get rid of them as we need to be consistent with them
Problem with dependency check is that it only takes into account objects that have a TADIR entry. This include does not have a TADIR entry. Option a) is not possible anymore.
Was there a design decision to limit the deps to TADIR object?
I think all includes should have a TADIR entry, if not the system is inconsistent, try tcode STDR
That is a good one... Checked, but although it found a lot of missing TADIR, the LFKKAKTIV2CON was not there.
TADIR is related to transporting. It is only required when you create new objects. I'll go for option b)
Thanks
FYI: There are more than 2000 SAP prog object in our systems that do not have a TADIR entry. They always have a TRDIR entry.
Because of this, the dependencies are not generated for these includes (and maybe other objects).
closing this issue
Our function group Top Include contains two further includes importing definitions from SAP. These are not seen.
Issues shown during linter
Verification of dependency repository confirmed that the FKKB package did not include these includes.
Test also performed using ZABAPLINT_LIST_DEPS.