|
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
hola, puedes mostrar el dump q te da, a lo mejor hay una variable que acumula totales y llego a su limite.
|
#3
|
|||
|
|||
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 |
#4
|
||||
|
||||
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 |
#5
|
|||
|
|||
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. |
#6
|
|||
|
|||
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 |
Herramientas | Buscar en Tema |
Desplegado | |
|
|