Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2756

Re: Table Comprehensions with Corresponding and Modifying

$
0
0

Hi Michael,

 

i think you can solve this with an auxillary let binding and the base addition of corresponding.

 

Like this:

 

lt_target =VALUE#(FOR wa IN lt_source
                            INDEXINTO index
                            LET base =VALUE t_struct2( field3 = index )
                            IN(CORRESPONDING#(BASE( base ) wa ) ) ).

cl_demo_output=>display( lt_target ).

 

results in:

 

2015-09-12 12_47_30-DVE(1)_010 Output.png

 

Regards Christian


Viewing all articles
Browse latest Browse all 2756

Trending Articles