rspec/rules/S1714/abap/rule.adoc
Fred Tingaud 16f6c0aecf
Inline adoc when include has no additional value (#1940)
Inline adoc files when they are included exactly once.

Also fix language tags because this inlining gives us better information
on what language the code is written in.
2023-05-25 14:18:12 +02:00

20 lines
702 B
Plaintext

== Why is this an issue?
Extract datasets, also known as extracts, are global data structures with no fixed internal format. Because their use leads to unstructured programming, and because they have been declared obsolete by SAP, extracts should not be used. Internal tables should be used instead.
This rule allows you to detect extracts and their related syntax, including uses of ``++SORT++`` and ``++AT++`` without a table name, ``++LOOP++`` without ``++AT++``, ``++FIELD-GROUPS++``, and ``++EXTRACT++`` itself.
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Use an internal table instead
endif::env-github,rspecator-view[]