Inline field-symbol declaration

Index

 

ABAP HANA 751 : Inline Field-symbol Declaration

SAP ABAP 7.51 Inline Declaration make it possible to define field-symbols on the fly. There is no need to write a separate line for field-symbol declaration. This construct also helps to reduce lines of code.

Sample Source Code: Variant 1 – READ TABLE…

Inline_decl_fs_Var1_source

Output: Variant 1

Inline_decl_fs_Var1_output

Sample Source Code: Variant 2 – LOOP…

Inline_decl_fs_Var2_source

Output: Variant 2

Inline_decl_fs_Var2_output

Check the video for Code and Execution:

Find the code on GitHub:

Go to Code

Index

 

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

w

Connecting to %s