SAP Tutorials Blog


 


"Populating a structure

struc = VALUE #( a = 1 b = 'aaa' ).


"struc is not initialized, only component b is modified, value of a is kept

struc = VALUE #( BASE struc b = 'bbb' ).


"Populating an internal table

itab = VALUE #( ( a = 1 b = 'aaa' )

                ( a = 2 b = 'bbb' ) ).


"Two more lines are added, existing content is preserved, the internal table is not

"initialized

itab = VALUE #( BASE itab

                ( a = 3 b = 'ccc' )

                ( a = 4 b = 'ddd' ) ).


Serkan AKKAVAK

Computer Engineer BSc

SAP Department Manager

Contact : serkurumsal@yandex.com