what is the use of free and refresh?
Answer Posted / 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 |
Post New Answer View All Answers
What are the types of views? : sap abap data dictionary
What are the events we use in dialog programming and explain them?
What is the use of the raising exception? : abap modularization
What are the functional areas? User groups? and how does ABAP query work in relation to these?
What is the function of a data element?
What is the difference between semi-monthly and Bi-weekly payroll area
When was the sap abap being created?
Is the basic list deleted when the new list is created?
Explain lsmw?
how do you transport lsmw data from one system to another?
What are the function modules used in a sap script driver program?
what is bapi,badi,bdc,ale idocs?
What is the difference between Classic badi and Kernal badi ?
How to combine multiple billing into one RV document ( Step by Step)?
What are the types of bdc s?