FREE - Reset to correct initial value for type,
including release of resources


Basic form

FREE f.

Effect

Like CLEAR f , FREE f resets any data object f to the correct initial value for its type.

In contrast to CLEAR , however, FREE also releases any resources connected with the data object f . This may be relevant with internal tables, structures with tabular components as well as table work areas (created with TABLES ).

After FREE f , you can address the data object f again at any time, but this may involve reallocating resources.

Note

If f is an internal table with a header line, the FREE f statement refers to the table body, but the CLEAR f statement refers to the header line.

Note

Performance
The runtime required to execute the FREE statement is about 5 msn (standardized microseconds).

Index
© SAP AG 1996