top of page
blank.png
Search

ABAP tricks #14/100: šŸ˜€ Inline Declarations

Updated: Apr 1

Recommendations for Using Inline Declarations:

ā€¢The primary rule for inline declarations is, to use them only locally

ā€¢Do not use inline declarations simply out of laziness

ā€¢Do not reuse inline declared variables.

ā€¢Do not use an inline declared variable far away from its definition.


Example:

data (Iv_var) = 'Hi everyone'.

write:/ lv_var.

data (Iv_var) = 'Welcome to the course on SAP ABAP new syntax'.

write:/ lv_var.



Please share with your ABAP friends and follow us.








Ā 
Ā 
Ā 

Comments


bottom of page