top of page
blank.png
Search

ABAP tricks #23/100: šŸ˜€ CORRESPONDING Operator

  • Writer: Smart Logic Academy
    Smart Logic Academy
  • Aug 26, 2024
  • 1 min read

• Expressions with theĀ CORRESPONDINGĀ operator construct structures and internal tables based on a data type.Ā The assignments are made using identical names or based onĀ mapping relationships.


• It has a similarity with the ABAP statement MOVE-CORRESPONDING.


• 


MOVE-CORRESPONDING ls_tab1 TO ls_tab2Ā 


ls_tab2 = CORRESPONDING #( ls_tab1 )


Although the functionality is the same, note that, as the name implies, constructor operators construct and - without the additionĀ of BASEĀ - target objects are initialized. Hence, the above two statements are not the same.




Please share with your ABAP friends and follow us.

If you want to dive deeper, visit our courseĀ https://lnkd.in/d35uqwud




Ā 
Ā 
Ā 

Recent Posts

See All

ć‚³ćƒ”ćƒ³ćƒˆ


bottom of page