A Program, User-Exit or Include contains too many Open SQL queries that access SAP standard tables in modification

Why you should care

SAP standard tables are part of the SAP software and they must not be modified by custom components. These can be affected by the modification of the SAP system tables, in terms of structure, content or business rules. In addition, they can lead to data corruption and unpredictable behavior of SAP packages. The best way is to use standard functions and badis released by SAP.

CAST Recommendations

You should call SAP standard functions and badis to modify the content of SAP standard tables.

How we detect

This Code Insight counts one occurrence each time an OpenSQL query is found accessing a standard table in modification from a custom program, a user-exit, an include, a function or a method.

About CAST and Highlight’s Code Insights

Over the last 25 years, CAST has leveraged unique knowledge on software quality measurement by analyzing thousands of applications and billions of lines of code. Based on this experience and community standards on programming best practices, Highlight implements hundreds of code insights across 15+ technologies to calculate health factors of a software.