Online Tutorials & Training Materials | STechies.com
Register Login

No more Memory available to add rows to an Internal Table

siva || 12 May 2012 7:17 am || 0

Hi All

I am getting the above error while scheduling the job please help us 

At the time of the termination, the following data was determined for the relevant internal table:

Memory location: "Session memory"

Row width: 260

number of rows: 74000

Allocated rows: 74000

Newly requested rows: 32 (in 1 blocks)

the amount of storage space (in bytes) filled at termination time was:

Roll area...................... 6201648

Extended memory (EM)........... 2002751800

Assigned memory (HEAP)......... 46520192

Short area..................... " "

aging area.................... 24576

Maximum address space.......... 18446741314771270592

 IF it_cust_dist[] IS NOT INITIAL.
CLEAR: it_depdh[].
SELECT opera_del_num
dist_acc_num
FROM   zerp_prc_del_hrd
INTO   TABLE   it_depdh
FOR ALL ENTRIES IN it_cust_dist
WHERE  dist_acc_num     EQ it_cust_dist-source_acc_num  " BRF 425
AND    ( sales_doc_typ_id EQ c_zkb
OR       sales_doc_typ_id EQ c_zkbp )
AND      order_date       IN itr_end_dat.

IF sy-subrc NE c_0.
WRITE:/ 'ERROR IN EXTRACTING RECORDS FROM TABLE ZERP_PRC_DEL_HRD'.
ENDIF.
ENDIF.

* Extract all the records from ERP processed delivery lines
  
IF it_depdh[] IS NOT INITIAL.
CLEAR: it_epdl[].
SELECT opera_del_num
product_id
FROM   zerp_prc_del_lin
INTO   TABLE   it_epdl
FOR ALL ENTRIES IN it_depdh
WHERE   opera_del_num EQ it_depdh-opera_del_num.

I am getting the error in the last select query before inserting the data into it_epdl internal table..

please suggest its an urgent issue..

thanks ,

Siva.