Skip to Content
author's profile photo Former Member
Former Member

HI

WHAT IS THE EFFECT WHEN A CLEAR STATEMENT IS USED ON AN INTERNAL TABLE WITHOUT A HEADER LINE?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 25, 2007 at 07:03 PM

    Hi,

    It clears the body..If the internal table is declared without header line.

    Thanks,

    Naren

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 25, 2007 at 07:10 PM

    CLEAR works as same as REFRESH when internal table does not have header line.

    Thanks,

    Santosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2007 at 09:24 AM

    Hi Darshdeep,

    If no header line is specified and you use a clear on an internal table it will delete the entire contents of the internal table.In short it acts as a refresh.

    Pls reward if found useful.

    Thanks

    Shyam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2007 at 09:25 AM

    It will work the same way as REFRESH itab.

    Reward points if found useful...!

    Cheers

    Abhishek

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 26, 2007 at 09:31 AM

    It will clear the body of the table like a refresh.

    Notes

    (1) clear itab[] has the same effect as refresh itab.

    (2) Resoureces allocated are not released (use FRE)

    regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2007 at 11:32 AM

    clears the body, bcos there is no concept of header line here.

    regds,

    kiran

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.