ABAP 740里的新语法 - LET表达式
A LET expression defines variables var1, var2, … or field symbols , , … as local auxiliary fields in an expression and assigned values to them. When declared, the auxiliary fields can be used in the operand positions of the expression. There is no way of accessing an auxiliary field statically outside its expression.
See example below:
Execution result:
Another example:
Defines three local auxiliary variables, x, y, and z, in a constructor expression to construct the values of a structure. The values of the auxiliary variables are used for the structure components.
Execution result:
要獲取更多Jerry的原創(chuàng)文章,請關(guān)注公眾號(hào)"汪子熙":
總結(jié)
以上是生活随笔為你收集整理的ABAP 740里的新语法 - LET表达式的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 施耐德电气庞邢健:发布绿色智能制造创赢计
- 下一篇: SAP ABAP报表依赖设计原理详解