Change value of fields of an internal table without loop

Hello Everyone,

Please can you help me with new abap code?
I need to change values of some fields of an internal table depending other tables but i would achieve it without loop, because i have lots of record in my internal table.

With old abap code I would do:

Loop at Internal_tableA.

read table Internal_tableB with key fieldA-xx = fieldB-xx fieldA-zz = fieldB-zz.

if sy-subrc = 0.

Read Internal_tableC wiht key fieldC-kk = fieldB-kk.

IF sy-subrc = 0.

fieldA-NNN = fieldC-XXX.

fieldA-WWW = fieldC-HHH.

MODIFY Internal_tableA.

ENDIF.

ENDIF.

ENDLOOP.

I should do the same but without loop.

Thank you in advance

 

 

fieldA-NNN = fieldC-XXX.

 

Scroll to Top