Don't chain assignments
" anti-pattern
var1 = var2 = var3.Chained assignments usually confuse the reader. Besides, the inline declaration doesn’t work in any position of a multiple assignment.
var2 = var3.
var1 = var3.Furthermore, the anti-pattern looks ambiguous because = is used for comparisons and assignments in ABAP. It looks similar to how other programming languages implement comparisons, for example a = ( b == c ) in JavaScript. Use xsdbool for comparisons.