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

DUMP in select query

Former Member
0 Likes
548

Hi friends,

I have one problem , I am IDoc information from EDIDC table for one year EDIDC have more 500000 records, my selet query going dump . could you please help me how to avoid this dump.

Regards,

jayachandran

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
507

Hi Jayachandran

Try using PACKAGE SIZE Option in your select query.

Regards

Bala

3 REPLIES 3
Read only

Former Member
0 Likes
508

Hi Jayachandran

Try using PACKAGE SIZE Option in your select query.

Regards

Bala

Read only

Former Member
0 Likes
507

Use the package size option in the select statement while retrieving the data from table.

Sample code

SELECT * FROM EDIDC
                   PACKAGE SIZE 10000
                  APPENDING TABLE itab.    
            
              ENDSELECT.

Regards,

Srinivas.P.

Read only

Former Member
0 Likes
507

Hello Jai,

You can do it in following ways:

1. Do not use '*' instead use key field or the required one.

2. Use package size

3. Use into table instead of row by row transfer.

Thanks,

Augustin.