Inline Variable Declaration

Index

 

ABAP HANA 751 : Inline Variable Declaration

Inline Declaration make it possible to define variables and work areas on the fly. There is no need to write a separate line for variable declaration. This construct also help to reduce lines of code.

Sample Source Code: Variant 1

Inline_decl_variable_Var1_source

Output: Variant 1

Inline_decl_variable_Var1_output

Sample Source Code: Variant 2

Inline_decl_variable_Var2_source

Output: Variant 2

Inline_decl_variable_Var2_output

Check the video for Code and Execution:

Find the code on GitHub:

Go to Code

Index

 

Leave a Reply