Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Copying data from one internal table to another

Hiya,

I'm looking through some code that copies all the data from one internal table into another internal table, and saw this:

ITAB1[ ] = ITAB2.

CLEAR ITAB2.

I'm just curious as to how this is working, because I would have expected to see:

ITAB1[ ] = ITAB2[ ].

CLEAR ITAB2[ ].

Is it worth adjusting the first code so that it reads ITAB1[ ] = ITAB2[ ] or is it fine as it is?

Thanks in advance!

Moderator message - Unmarked as question.

Message was edited by: Suhas Saha

Former Member
Not what you were looking for? View more on this topic or Ask a question