method chaining

18 Jul: New Features in ABAP 7.4 – Calling Methods and Functions

With the new code constructs in ABAP 7.2 and ABAP 7.4 we have the ability to create ABAP code with fewer statements for the same functionality, without compromising readability of the code. METHOD CHAINING can make our code shorter, easier to read, and easier to maintain. INLINE DECLARATIONS can help us avoid TYPE MISMATCH errors. And using a CONSTRUCTOR OPERATOR can save us time by eliminating lines of code while increasing the readability of our code.