Skip to Content
avatar image
Former Member

What is the different btween clear and refresh?

trisha

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 12, 2007 at 12:53 PM

    Hi

    There are 2 types of clear statements we can use:

    <b>Clear</b> ITAB : This Statement will clear the Internal Table Header content.

    To clear the Intertal Table Hearder as well Body we can use Clear ITAB [ ] statement.

    <b>Refresh ITAB </b> will deletes the Internal Table content but still memory is not freed.

    Reward points if it is usefull ...

    Girish

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 12, 2007 at 12:54 PM

    Trisha,

    CLEAR --> Clears only header of internaltable

    REFRESH --> Clears the body of internal ltable

    Chandra.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 12, 2007 at 01:08 PM

    Hi

    By using clear you can get initialize any variable or header line of an internal table.

    If you want to initialize entire internal table use refresh itab.It clears entire internal table.You can do same with clear.Use CLEAR itab[].It clears body of the internal table

    Add comment
    10|10000 characters needed characters exceeded