internal table copy corresponding with mapping

PHOTO EMBED

Mon May 10 2021 10:47:54 GMT+0000 (Coordinated Universal Time)

Saved by @uxkjaer

cl_abap_corresponding=>create(
      source      = itab_src
      destination = itab_target
      mapping     = VALUE cl_abap_corresponding=>mapping_table(  
  		( level   = 0
         kind    = cl_abap_corresponding=>mapping_component
         srcname = 'column_src1'
         dstname = 'column_target1' )
        ( level   = 0
         kind    = cl_abap_corresponding=>mapping_component
         srcname = 'column_src2'
         dstname = 'column_target2' )
      )  )->execute( EXPORTING source = <fs_data> CHANGING destination = e_r_resultset )..
content_copyCOPY