Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

basic doubt about ITAB

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member191735
Active Contributor
0 Kudos

Yes, occurs 0 is obsolute now.

It is better to use type standard table of.

3 REPLIES 3

former_member156446
Active Contributor
0 Kudos

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

type standard table of is a good practice.

former_member191735
Active Contributor
0 Kudos

Yes, occurs 0 is obsolute now.

It is better to use type standard table of.

Former Member
0 Kudos

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