What Is The Difference Between The Refresh And Clear Keywords In Abap/4?

2

2 Answers

Guru Shanthi Profile
Guru Shanthi answered
Refresh is used to refresh the body contents of the internal table. This is used if in case internal table is not declared with header line.

Clear is used to clear the contents in the work area or header line.

Clear[] is similar to refresh itab - This refresh the contents of the body.
Anonymous Profile
Anonymous answered
Refresh keyword is used to remove internal table body contents not header line.
Using clear keyword we can remove both header line and body contents but here we have to explicitly place [] before internal table name for deleting body of the internal table.

Using  both methods ,the initial memory requirement for the table remains reserved.

Answer Question

Anonymous