rspec/rules/S1485/abap/rule.adoc
2022-02-04 16:28:24 +00:00

33 lines
564 B
Plaintext

``++DATA BEGIN OF ... OCCURS++`` has been deprecated and will eventually be removed. All usages should be replaced.
== Noncompliant Code Example
[source,abap]
----
DATA BEGIN OF itab OCCURS n. "Noncompliant
...
DATA END OF itab [VALID BETWEEN intlim1 AND intlim2].
----
== Compliant Solution
[source,abap]
----
DATA BEGIN OF wa.
...
DATA END OF wa.
DATA itab LIKE TABLE OF wa.
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
endif::env-github,rspecator-view[]