MUNDOSAP

Regresar   MUNDOSAP > DESARROLLO > Programación ABAP IV
Nombre de Usuario
Contraseña
Home Descargas Registrar FAQ Miembros Calendario Buscar Temas de Hoy Marcar Foros Como Leídos




 
Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Viejo 15/08/08, 12:16:13
Feche Feche is offline
Junior Member
 
Fecha de Ingreso: mar 2008
Mensajes: 17
Thumbs up Sum. Overflow

Hola colisteros:

Estoy en un grave aprieto que no tengo horizonte de solución y los tiempos son cortos.
El problema es que estoy con el reporte de IVA y cuando se ejecuta con una variante Z(hecha con anterioridad a mi) a la hora de colocar los totales me envía un error de overflow del campo de la tabla interna cuando intenta calcular el total de todos los documentos que hay en el mes.

Intente reiniciando el equipo de producción para que vaciara los temp pero no funcionó. El caso es que cambiando la sociedad el reporte funciona correctamente.


Muchas gracias desde ya por lo que me puedan colaborar.
Responder Con Cita
  #2  
Viejo 15/08/08, 12:53:53
ibecerra
 
Mensajes: n/a
hola, puedes mostrar el dump q te da, a lo mejor hay una variable que acumula totales y llego a su limite.
Responder Con Cita
  #3  
Viejo 15/08/08, 13:34:35
Feche Feche is offline
Junior Member
 
Fecha de Ingreso: mar 2008
Mensajes: 17
sum Overflow

Antes que nada gracias.

El dump que da es el siguiente

Errores en tiempo de ejecución SUM_OVERFLOW

Value too targe for calculating totals in internal table, field too

DUMP BREVE DE ABAP no almacenado completamente (muy grande)

Lo que me extraña es que con otras sociedades funciona perfecto, solo con una en particular no funciona. Estuve viendo y el total no supera los 2.000.000 y tiene 5127 registros que es una cifra bastante baja.

Salu2

Federico
Responder Con Cita
  #4  
Viejo 15/08/08, 15:40:01
Avatar de DavidXD_XD
DavidXD_XD DavidXD_XD is offline
Moderator
 
Fecha de Ingreso: ago 2006
Localización: Lima - Perú
Mensajes: 1,251
La parte importante del DUMP es el analisis de error, y la otra es si puedes entrar al debugg y ver en q punto se cae, dale doble click a la variable q se esta cayendo y mira sus atributos
__________________
David Carballido Córdova
Responder Con Cita
  #5  
Viejo 15/08/08, 19:21:44
Feche Feche is offline
Junior Member
 
Fecha de Ingreso: mar 2008
Mensajes: 17
La ejecución viene se detiene en el mismo loop. te transcribo parte del código para que veas


loot at docm.
at end of bukrs.
format hotspot on.
sum.
write: / sy-vline, docm-bukrs , sy-vline,
docm-vat, sy-vline.
format hotspot off.
hide:docm-bukrs.
end at
at last.
uline at /(27).
format color 2.
sum. --------------> acá es donde se detiene el proceso
write:/ sy-vline, 'TOTAL:', sy-vline,
docm-vat under docm-vat, sy-vline.
format color off.
end at
end loop.
Responder Con Cita
  #6  
Viejo 15/08/08, 20:05:00
Feche Feche is offline
Junior Member
 
Fecha de Ingreso: mar 2008
Mensajes: 17
sum Overflow

Te mando el error que larga cuando se ejecuta:


Análisis error

In the internal table UM statement is used to calculate totals.
However, the values are too large for the designated field.
for the designated field.

The name of the field is " ".

Notas para corregir errores

The field " " in the program "ZIVAWORM " was probably meant to be a different
type (e.g. type P of appropriate length).

You may able to find an interim solution to the problem in the
SAP note system. If you have access to the SAP note system yourself,
please use the following search criteria:
"SUM_OVERFLOW"
"ZIVAWORM " or "ZIVAWORM "
"END-OF-SELECTION"
If you cannot solve the problem yourself, please send the
following documents to SAP:

1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
-

2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.

3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.

4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.



Contenido campos sistema

Campo SY Contenido.................... Campo SY Contenido....................
SY-SUBRC 0 SY-INDEX 0
SY-TABIX 5127 SY-DBCNT 1
SY-FDPOS 0 SY-LSIND 0
SY-PAGNO 1 SY-LINNO 17
SY-COLNO 29

Variables seleccionadas

Nombre........................ Cont. ...1....+....2....+....3....+....4
DOCM-BUKRS ****
2222
AAAA
%_SSCR S_KTOSL B##S ####CCHARBSET-KTOSL
5545454274005222000044445454524545422222
3FB4F3C0C2F030003000338122354DB4F3C00000
... + 40
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 120
22222222
0000000
SY-ULINE
2222222222222222222222222222222222222222
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
... + 40
2222222222222222222222222222222222222222
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
... + 80
2222222222222222222222222222222222222222
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
... + 120
22222222
DDDDDDD
SY-VLINE
7
C
Responder Con Cita
Respuesta


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Reglas de Mensajes
no puedes crear nuevos temas
no puedes responder temas
no puedes adjuntar archivos
no puedes editar tus mensajes

El código vB está On
Las caritas están On
Código [IMG] está On
Código HTML está Off
Saltar a Foro


Husos Horarios son GMT. La hora en este momento es 11:37:33.


www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web