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

basic doubt about ITAB

Dear All,

techinicallly is there any difference between.

data : it_mara type standard table of mara.

t_mara type mara occurs 0.

Which is better way to define. I know both are internal tables without header.

onemore thing, header that it is obsolete to use "occurs 0", is this right.

Please let me know.

Regards

madhu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 26, 2007 at 06:18 PM

    Yes, occurs 0 is obsolute now.

    It is better to use type standard table of.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 26, 2007 at 05:41 PM

    its better not to use occurs 0... ABAP going into OO it has become obsolute...

    type standard table of is a good practice.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 26, 2007 at 06:58 PM

    Hi,

    Yes...you should use only table declarations without the occurs clause. This improves performance a lot. And this kind of declarations has become mandatory with the ECC6.0 release.

    Try practicing to declare without the occurs clause.

    Thanks,

    Subramanian

    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.