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

Data overflow in the internal table

Former Member
0 Likes
1,238

Hi Friends,

I am hitting table CDHDR and getting a huge data based on date range and the problem is the internal table is not able to hold the entire data selected and hence it is going for run time error. Could you please suggest an idea to overcome this?

Thanks in advance,

Ram

Hi Friends,

I am hitting table CDHDR and getting a huge data based on date range and the problem is the internal table is not able to hold the entire data selected and hence it is going for run time error. Could you please suggest an idea to overcome this?

Thanks in advance,

Ram

7 REPLIES 7
Read only

former_member191735
Active Contributor
0 Likes
1,149

Better to use Objectclass field in where clause or run for user and small date range

Read only

0 Likes
1,149

Hi,

I have the class and the date range only. I do not have any more data to restrict. I am using the class as 'MATERIAL' and the date range given in selection screen.

Regards,

Ram

Read only

Former Member
0 Likes
1,149

Restrict data from CDHDR...

You can definitely do that..

Read only

Former Member
0 Likes
1,149

Post ur SQL Query and we can see if we can help.

Thanks,

Sobhan.

Read only

0 Likes
1,149

Hi,

here is the code i have written...

  • Get all changes to materials in the given date range

SELECT objectclas " Object Class

objectid " Object Value

changenr " Change Document Number

udate " Changed Date

utime " Changed Time

FROM cdhdr

INTO TABLE gt_cdhdr

WHERE objectclas EQ c_clas_material

AND udate IN s_date.

Regards,

Ram

Read only

0 Likes
1,149

Please try and convince the Functional consultant to track the changes by Material or material group..

Changes in Material will be too large in number.. even if you get data, processing would take a lot of time on such huge data..

Add any other fields that can restrict the number of materials and from that you can create another key field for CDHDR

Read only

0 Likes
1,149

Can you run with just one day instead of one week or one month and see if the run time error goes away?

Thanks,

Sobhan.