what is main diffrence b/w refresh ,clear and free? with
example?

Answer Posted / sateesh

Clear: Clear is used to clear the memory of the workarea
and Internal table.
Refresh : It is used to clear only the Internal table
memory.
FREE: It is use to clear the workarea,internal table at the
same time it will return the free memory back to Database.
data: Lt_tab type table of MARA,
ls_tab type mara.
Syn: CLEAR ls_tab.
CLEAR lt_tab[] - But this is Obsulute in ECC6.0
SYN: Refresh LT_TAB.
SYN: FREE LT_TAB.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you give the Example for the structure of an ABAP program? REPORT... NODES: SPFLI, SFLIGHT. DATA:... INITIALIZATION. AT SELECTION-SCREEN. START-OF-SELECTION. GET SPFLI... GET SFLIGHT... GET SPFLI LATE. END-OF-SELECTION. FORM... ENDFORM.

606


what is diff between ECC 5.0 AND ECC 6.0

2856


Suppose there is a secondary index on 4 non-key fields A,B,C & D. There are 3 select queries :- a) one on basis of A, B, C , D b) Second on basis of A, B, C c) Third on basis of D, C,B, A In which all situations , the above secondary index will be used?

1069


How can one distinguish between different kinds of parameters? : abap modularization

595


Explain what are the events used for logical database?

531






What are the objects of the abap dictionary or what types of objects can be created in the abap dictionary? : abap data dictionary

538


How many types of data classes are there in sap abap? : abap data dictionary

556


What is the difference between data elements and domains? : abap data dictionary

588


If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?

1250


What are the parameters used in each function?

604


What is repository info. Systems? : abap data dictionary

586


while implementing badi what are the tables u find??

3621


What are the attributes of a field that can be activated or deactivated during runtime?

566


what is the difference between Blocked ALV and interactive ALV?

1872


What is a multiple line field?

592