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

Internal Table Reaches Maximum Line Count (or memory?)

Former Member
0 Likes
459

I have an internal table that is filled in a Function Module READ_OTF_FROM_MEMORY. It was originally definesd as:

DATA: T_OTFDATA_TAB LIKE ITCOO OCCURS 1 WITH HEADER LINE,

I made it:

DATA: T_OTFDATA_TAB LIKE ITCOO OCCURS 10000 WITH HEADER LINE,

However, All of the data is not being returned (truncates about 4/5 thru file)

Is their any other way I can define a large internal table?

Thank-you.

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
428

Hi,

First of all use of OCCUR statement is not advisable.

Also, increasing the size of occurs will not increase the size of table.

An internal tabe can store upto 2GB of data under standard scenario.

Regards,

Amit

I have an internal table that is filled in a Function Module READ_OTF_FROM_MEMORY. It was originally definesd as:

DATA: T_OTFDATA_TAB LIKE ITCOO OCCURS 1 WITH HEADER LINE,

I made it:

DATA: T_OTFDATA_TAB LIKE ITCOO OCCURS 10000 WITH HEADER LINE,

However, All of the data is not being returned (truncates about 4/5 thru file)

Is their any other way I can define a large internal table?

Thank-you.

1 REPLY 1
Read only

amit_khare
Active Contributor
0 Likes
429

Hi,

First of all use of OCCUR statement is not advisable.

Also, increasing the size of occurs will not increase the size of table.

An internal tabe can store upto 2GB of data under standard scenario.

Regards,

Amit