rspec/rules/S1487/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

42 lines
867 B
Plaintext

== Why is this an issue?
The ABAP documentation is pretty clear on this subject :
____
This statement is only for
!!! Internal use in SAP Basis development !!!
Even within SAP Basis, it may only be used in programs within the ABAP+GUI development group.
Its use is subject to various restrictions, not all of which may be listed in the documentation. This documentation is intended for internal SAP use within the Basis development group ABAP+GUI.
Changes and further development, which may be incompatible, may occur at any time, without warning or notice!
____
=== Noncompliant code example
[source,abap]
----
SYSTEM-CALL CREATE CLASS c.
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Remove any usage of this "SYSTEM-CALL" statement.
endif::env-github,rspecator-view[]