CRITICAL
Rule Definition
Most ABAP programs containing database-specific SQL statements do not run with different databases. If different databases are involved, then use Open SQL.
Open SQL (Subset of standard SQL statements), allows you to access all database tables available in the R/3 System, regardless of the manufacturer. Moreover, Open SQL queries are optimized for SAP dictionary.
Use of Native SQL is highly discouraged by SAP.
Remediation
Replace Native SQL queries by corresponding Open SQL queries as much as possible.
Reference
https://blogs.sap.com/2013/11/20/how-to-protect-your-abap-code-against-sql-injection-attacks/
Related Technologies
Technical Criterion
Architecture - OS and Platform Independence
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.