Skip to Content

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

CLEAR, REFRESH, FREE

Hi ABAP expert


Is the point below a good summary.


Variables -

CLEAR -> delete variable contents - no usage for internal table


Internal Tables -

REFRESH -> delete internal table contents - but do not release the memory spaced occupied previously by the internal table

FREE -> delete internal table contents - and release completely the memory spaced occupied.

Conclusion -

Do you confirm the points below :

1. It's better to use FREE than REFRESH as you want to delete the internal table contents.

2. CLEAR on internal table will only delete the header line contents.


Cheers

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