不可变变量的声明。带有声明运算符FINAL的声明表达式通常与带有声明运算符DATA的内联声明的工作方式相同,并且适用相同的一般规则。虽然DATA声明一个常规变量,但FINAL声明一个不可变变量:用FINAL宣布变量var的写入位置是唯一一个可以在当前上下文中为该变量赋值的位置。在所有其他位置,任何写入访问都会导致语法错误或无法捕获...
ABAP - Keyword Documentation ABAP Dictionary (DDIC) ABAP Core Data Services (ABAP CDS) ABAP Programming Language ABAP - Overview ABAP - Syntax Elements of an ABAP Program ABAP - Program Structure ABAP - ABAP Objects ABAP Objects - Object Orientation ABAP Objects - Definition of Classes and Interf...
SAP Managed Tags: ABAP Development Hi NG, with Release NetWeaver 7.0 EhP2 SAP introduced the ABAP Unit Assertion-Class CL_ABAP_UNIT_ASSERT. Compared with the old Assertion-Class (CL_AUNIT_ASSERT), the new class is declared as FINAL. What is the reason behind this change? It was really...