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


Please Help Members By Posting Answers For Below Questions

How to write a code in tab control? : abap bdc

631


How will you find manager of an employee

852


How do you validate the selection criteria of a report? And how do you display initial

588


performance tuning concepts

955


Can you delete data element, which is being used by table fields. : abap data dictionary

664






A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain.? : abap data dictionary

744


It is possible to assign a local data object defined in a subroutine or function module to a field group. State true or false. : abap modularization

768


What is the transaction for recording bdc ? : abap bdc

599


Lock objects and what are parameters of ENQUEUE FM?

1245


What are the different control break statements available inside a loop?

577


How many types of tables exists and what are they in data dictionary?

928


Explain the data types of internal tables?

624


If yes then why do we require logical database

2701


What is screen flow logic? What are the sections in it?

598


Folder types in smatforms? 2)What is Command line?

1908