Skip to Content

Disable package check errors for specific packages


we are using package checks for our custom developments. Now we have the problem, that there are some older (self programmed) modules which we are using.

Since they have not published all their "API" objects in package interfaces, we get package check errors when using these objects.

Now we are in the situation that the real (new introduced) package violations are getting hidden in the flood of "legacy" errors.

Is there a possibility to tell the package check to ignore errors from specified packages?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Oct 15, 2018 at 05:08 PM

    not possible AFAIK

    Working as a consultant I have a tough time convincing customers to activate it at a system level, so I started implementing it in custom code, see sorry its not documented or fully implemented yet, pull requests welcome :o)

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 16, 2018 at 06:03 AM

    I think there might be (or might have been) some undocumented ways to achieve this as SAP themselves probably faced this problem when introducing the package checks concept.

    To ignore development objects in package checks there are some candidates:

    - Table IFOBJSHORT, column PAKNOCHECK (domain has fixed values)

    These might have been deprecated at some point and not work anymore or only work in SAP internal systems. To have package checks behave like TR_SYS_PARAMS-SYSTEMTYPE = 'SAP' you can use PAKPARAM parameter SAP_DEV_SYSTEM = X.

    Unfortunately looking at how SAP did things for package checks to separate SAP_BASIS / SAP_APPL / ... does not really help as structure package BASIS and its package interfaces are hardcoded into the package checks...

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 15, 2018 at 02:06 PM

    I don't think it's possible, package check is activated on system level.:(

    What you could do (and this is what we've also done) to write a generation program, which updates table PERMISSION (yes, it's dangerous, but you have to test it carefully) and get to the situation where everything is clear, and then you can start new developments.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.