Thursday, January 27, 2011

CLEAR IN SAP ABAP

CLEAR .

NOTE: The can be a normal variable. Work area, Internal Table etc. So that CLEAR Can Clear the Contents Of the Corresponding Variable.
CLEAR . --------------- Clears Work Area
CLEAR --------------- Clears Internal Table

Note: if you are using internal tables with header lines, remember that the header line and the body of the table have the same name. If you want to address the body of the table in a comparison, you must place two brackets ([]) after the table name.

CLEAR [].” Clears Internal Table
CLEAR . “Clears the Work Area