top of page
blank.png
Search

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

  • Writer: Smart Logic Academy
    Smart Logic Academy
  • Aug 19, 2024
  • 1 min read

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.








Ā 
Ā 
Ā 

Recent Posts

See All

Comments


bottom of page