Value operator in ABAP (new syntax 7.4+) and # significance.

 

                            Refer- Introduction to value operator

Report

REPORT zab_rp_value.

TYPESBEGIN OF ls_stu,
         st_id(10)   TYPE n,
         st_name(15TYPE c,
       END OF ls_stu.

DATAlt_stu TYPE TABLE OF ls_stu.
lt_stu VALUE #st_id st_name 'ajay' )
                              st_id st_name 'vinod' )
                              st_id st_name 'venu' )
                              st_id st_name 'anil' ).
cl_demo_output=>displaylt_stu ).

Output




******************************Thank You***************************

Comments

Popular posts from this blog

New syntax for append- VALUE (new syntax 7.4+) in ABAP

Read statement new syntax in ABAP. (7.4+).

Concatenation new syntax( 7.4+ ).