what is the effect when a clear ststement is used on an
internal table without header line?

Answer Posted / sirisha

CLEAR and FREE are similar. They free the data from work
area. an internal table with work area, CLEAR itab clears
work area. Where as clear itab[] removes contents of the
table. It will not free the memory.

But with the FREE, it not only clears data from the internal
table, but also the memory.

REFRESH always deletes the data from the internal table.
Work area data will not be deleted. It frees the memory
alloted to the internal table.
REFRESH itab is similar to clear itab[].

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of creating symbolic a/c, what is transaction code for same? Can we assign one symbolic a/c to multiple wage types? : sap abap hr

601


Explain how to create any functions? How to go about it?

544


What is design pattern? Provide example .Why are we using it?

989


How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.

1706


What is meant by search help? : sap abap data dictionary

588






Can we define our own match code id's for sap matchcodes ?

592


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

716


What are the differences between sap memory and abap memory?

576


How are the function code handles in flow logic?

612


Structures can contain data only during the runtime of a program (t/f) : abap data dictionary

770


What happens if a function module runs in an update task?

560


How do you get the number of lines in an internal table? How to use a specific number occurs statement?

526


What is your approach for writing a bdc program? : abap bdc

590


What is payroll driver

1649


in bdcsome times we get the ok code for "enter" wrongly instead of '/00'.what is the reason.how we can exceed this problem.

1723