Skip to content

Functional statements and expressions in ABAP

Functional statements and expressions have the advantage that they follow the principle of an assignment, meaning the result is returned as a returning parameter, thus can be directly used in assignments and can be chained.

Data type information in functional statements can be abbreviated by a # if the compiler can determine the data type from the context.

Keep the clean code principles in mind when using these statements. They are very compact and powerful and may tempt you to compress your code so much that it becomes unintelligible.

From SAP/styleguides under CC BY 3.0 — more details
Last updated on