
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.
38 lines
667 B
Plaintext
38 lines
667 B
Plaintext
== Why is this an issue?
|
|
|
|
``++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)
|
|
|
|
=== Message
|
|
|
|
Declare this data structure differently to remove the use of "DATA BEGIN OF OCCURS".
|
|
|
|
|
|
endif::env-github,rspecator-view[]
|