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 |
one time loading 10000 records?
The data of a view is not physically stored, but derived from one or more tables (t/f) : abap data dictionary
what is Application server?
tell me about NGT?
what are the important fields while preparing sales order,inquiry?
Which infotype records can not be deleted ? : abap hr
How can you call a page explicitly in smart forms?
What is a report?
Explain about No intervals, no extension in select options.
what connects smartform to it's driver program?
How to generate ABAP report ? requirement is like this... current Ratio and quick ratio and return on capital employed and debt equity ratio and employee turn over and gross profit ratio.. can u please prepare some function spec based on this requirement ..... can u send reply asap.
difference between TYPE and LIKE ?
SAP Basis (1262)
SAP ABAP (3939)
SAPScript (236)
SAP SD (Sales & Distribution) (2717)
SAP MM (Material Management) (912)
SAP QM (Quality Management) (99)
SAP PP (Production Planning) (523)
SAP PM (Plant Maintenance) (252)
SAP PS (Project Systems) (138)
SAP FI-CO (Financial Accounting & Controlling) (2766)
SAP HR (Human Resource Management) (1180)
SAP CRM (Customer Relationship Management) (432)
SAP SRM (Supplier Relationship Management) (132)
SAP APO (Advanced Planner Optimizer) (92)
SAP BW (Business Warehouse) (896)
SAP Business Workflow (72)
SAP Security (597)
SAP Interfaces (74)
SAP Netweaver (282)
SAP ALE IDocs (163)
SAP Business One (110)
SAP BO BOBJ (Business Objects) (388)
SAP CPS (Central Process Scheduling) (14)
SAP GTS (Global Trade Services) (21)
SAP Hybris (132)
SAP HANA (700)
SAP PI (Process Integration) (113)
SAP PO (Process Orchestration) (25)
SAP BI (Business Intelligence) (174)
SAP BPC (Business Planning and Consolidation) (38)
SAP BODS (Business Objects Data Services) (49)
SAP BODI (Business Objects Data Integrator) (26)
SAP Ariba (9)
SAP Fiori (45)
SAP EWM (Extended Warehouse Management) (58)
Sap R/3 (150)
SAP FSCM Financial Supply Chain Management (101)
SAP WM (Warehouse Management) (31)
SAP GRC (Governance Risk and Compliance) (64)
SAP MDM (Master Data Management) (0)
SAP MRS (Multi Resource Scheduling) (0)
SAP ESS MSS (Employee Manager Self Service) (13)
SAP CS (Customer Service) (0)
SAP TRM (Treasury and Risk Management) (0)
SAP Web Dynpro ABAP (198)
SAP IBP (Integrated Business Planning) (0)
SAP OO-ABAP (Object Oriented ABAP) (70)
SAP S/4 HANA Finance (Simple Finance) (143)
SAP FS-CD (Collections and Disbursements) (0)
SAP PLM (Product Lifecycle Management) (0)
SAP SuccessFactors (33)
SAP Vistex (0)
SAP ISR (IS Retail) (28)
SAP IdM (Identity Management) (0)
SAP IM (Investment Management) (0)
SAP UI5 (59)
SAP SCM (Supply Chain Management) (51)
SAP XI (Exchange Infrastructure) (49)
SAP Cloud Platform (34)
SAP Testing (89)
SAP SolMan (Solution Manager) (63)
SAP MaxDB (116)
SAP GUI (15)
SAP AllOther (329)