Application Development and Automation 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: 
Read only

basic doubt about ITAB

Former Member
0 Likes
596

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
Read only

former_member191735
Active Contributor
0 Likes
561

Yes, occurs 0 is obsolute now.

It is better to use type standard table of.

3 REPLIES 3
Read only

former_member156446
Active Contributor
0 Likes
561

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

type standard table of is a good practice.

Read only

former_member191735
Active Contributor
0 Likes
562

Yes, occurs 0 is obsolute now.

It is better to use type standard table of.

Read only

Former Member
0 Likes
561

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