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

 

Leave a Reply