‎2008 Jun 20 9:37 AM
Hi.. all...
i developed one report with one internal table.....
here...., when I am debugging, when the cursor is coming to the select stmt after the fetch cursor, it is giving me the error
...
the internal table ITAB could not be enlarged forther....
Memory localtion: 'Session memory'
you ettempted to extend the data structure fir the management of the ememory blocks for table ITAB.However, the 1658888 bytes required for this were no longer availble in the specified memory area.
the amount of memory requested is no longer availble.
What can i do for this...
( here Itab declared as OCCURS 0)
thanks,
Naveen.
‎2008 Jun 20 9:40 AM
Hello.
Don't use OCCURS n statement. It's an obsolete one. Instead, use:
DATA: itab TYPE STANDARD/SORTED/HASHED TABLE OF some_type,
wa TYPE some_type.
Also, in your program, if you don't need some other tables/variables in the flow, free the alocated memory for those using FREE: var, other_itab.
Regards,
Valter Oliveira.
‎2008 Jun 20 9:39 AM
Hi,
Insteda of decalring ITAB OCCURS 0,
decalre with any NON ZERO value.
Ex: itab occurs 100. ( As this will extend the memory with 100 rec)
Revert back if any issues.
regrads,
Naveen
‎2008 Jun 20 9:40 AM
Hello.
Don't use OCCURS n statement. It's an obsolete one. Instead, use:
DATA: itab TYPE STANDARD/SORTED/HASHED TABLE OF some_type,
wa TYPE some_type.
Also, in your program, if you don't need some other tables/variables in the flow, free the alocated memory for those using FREE: var, other_itab.
Regards,
Valter Oliveira.
‎2008 Jun 20 9:40 AM
‎2008 Jun 20 9:41 AM
hi,
declare the table like this
DATA:BEGIN OF fs_material,
matno(6) TYPE c,
mat(20) TYPE c,
plant TYPE i,
quantity TYPE i,
END OF fs_material.
DATA: t_material LIKE TABLE OF fs_material.
Regards,
priya
‎2008 Jun 20 9:46 AM
Hi Naveen,
This might be because of problem with internal memory availability. Check ur code, If u r not using any internal table i.e declared globally then use FREE statement to release the memory so that it can be used for ur itab.
FREE itabtemp. "itab temp is not being used further from this
point of time.
Reduce global declarations as far as possible.
Thanks,
Vinod.