what is the use of free and refresh?
Answers were Sorted based on User's Feedback
Answer / srikanth vinnakota
refresh clears the data in the internal table and free not
only clears data but also frees memory for the same
Is This Answer Correct ? | 45 Yes | 6 No |
Answer / sarathi
for example : refresh itab
it will remove content of internal table...
for example : free itab
it will deallocate memory associated with internal table
Is This Answer Correct ? | 33 Yes | 2 No |
Answer / prabhakar
Refresh : Refresh clears the data, at the same time it
releases dynamically allocated memory. Predefined memory
not released.
Free : Free clears the data, at the same time releases
both predefined and dynamically allocated memory. internal
table structure will not available any more.
Is This Answer Correct ? | 18 Yes | 3 No |
Answer / almas akhtar
Free is Use to clear the content of internal table as well
as it free the memory allocated to it.
Is This Answer Correct ? | 15 Yes | 3 No |
Answer / ravi
free delete all the row from internal table and free the
associated memory.
refresh delete all the row from an internal table but leave
the memory allocated.
Is This Answer Correct ? | 10 Yes | 2 No |
Answer / galla phani kumar
CLEAR ITAB. ---> IT WILL CLEARS THE CONTENTS OF HEADER
LINE OF AN INTERNAL TABLE.
CLEAR ITAB[]. ---> IT WILL REMOVE THE CONTENTS OF AN
INTERNAL TABLE BODY NOT THE HEADER LINE.
CLEAR ITAB[] = REFRESH ITAB.
IN CLEAR AND REFRESH COMMAND THE MEMORY ALLOCATED FOR
INTERNAL TABLE REMAINS THE SAME.
BUT IN FREE ITAB. ---> IT WILL REMOVE THE CONTENTS OF
INTERNAL TABLE BODY AND DEALLOCATE THE MEMORY OF INTERNAL
TABLE BODY.
EVEN AFTER FREE STATEMENT CONTENTS OF INTERNAL TABLE HEADER
LINE REMAINS THE SAME....
REGARDS
GALLA PHANI KUMAR
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / manivannan.m
Refresh:
example: refersh itab.
clear the body of the internal table data.
free:
example: free itab.
. clears the data.
.predefined the internal data and dynamically allocated
memory.
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / kiran reddy
for example : refresh itab
it will remove content of internal table...
for example : free itab
it will deallocate memory associated with internal table
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / gurpej singh
Clear..IT WILL CLEARS THE CONTENTS OF HEADER.
Free : IT WILL REMOVE THE CONTENTS OF
INTERNAL TABLE BODY AND DEALLOCATE THE MEMORY OF INTERNAL
TABLE BODY.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / r ravinder reddy
refresh clears the data in the internal table and free not
only clears data but also frees memory for the same
Is This Answer Correct ? | 0 Yes | 0 No |
Can we call reports and transactions from interactive reporting lists?
Explain what is sap script?
Elements of Main window and is Main window compulsory in Sap script ?
How do u know that updation is successful in BDC
what are the events in lsmw?
Describe ALV Report
in the final display list how can i change rows to columns and vice versa
how to convert sapscript to email.....
What is partner selection?
how to sort numbers in sap-abap using internal tables without using sort technique.
3 Answers NNN, NTT Data, TPCUS,
What is abap?
Is BAdI client Indpendent