Ver Mensaje Individual
  #4  
Viejo 24/04/08, 08:05:09
Avatar de crounly
crounly crounly is offline
Senior Member
 
Fecha de Ingreso: nov 2006
Localización: Zaragoza, Espaņa
Mensajes: 227
He encontrado este hilo en los foros de SAP, hablan sobre los tamaņos en memoria de una tabla interna dependiendo del parametro OCCURS

No me deja cojer el enlace, te pego el comentario:

there is no such limit... but it depends on the memory alloted for the application server..
moreover.. when we use occurs 0(zero) then 8 kb memory is being allocated to the internal table..
similarly when occurs 2,3,4.... ....n , a memory of n x 8 kb is alloted .
this memory allocation is in patches .. ie, when u use occurs 2 and suppose ur internal table has used up the alloted 16 kb memory then
another 16 kb memory is allocated...
but if ur internal tableis not that big to use this 16kb.. there is waste of memory ..
so use occurs 0 when u are not sure about the size of ur internal table....and use occurs n when you are know the size.
syntax:
data: begin of <itab> occurs n,
....
.........
end of <itab>.

Tambien he encontrado que hablan de esta clase CL_ABAP_MEMORY_UTILITIES

espero que te ayude
Responder Con Cita