Inline Variable Declaration



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


Output: Variant 1


Sample Source Code: Variant 2


Output: Variant 2


Check the video for Code and Execution:

Find the code on GitHub:

Go to Code



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s