top of page
blank.png
Search
Writer's pictureSmart Logic Academy

ABAP tricks #14/100: 😀 Inline Declarations

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.



35 views0 comments

Comments


bottom of page