CLEAR, REFRESH, FREE
Hi ABAP expert
Is the point below a good summary.
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.
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.