COLLECT_OVERFLOW_TYPE_P & CX_SY_ARITHMETIC_OVERFLOW
am getting the following dump error. kindly help in solving the error.
Runtime Errors COLLECT_OVERFLOW_TYPE_P
Date and Time 21.12.2012 14:21:47
An internal table field has been defined too small.
Error in the ABAP Application Program
The current ABAP program "SAPLATP2" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not
procedure "RESB_SKBED_BRBED_CHECK" "(FORM)", nor was it propagated by a RAISING
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The COLLECT statement stores totals in the internal table
but the values are too large for the type P field intended to store
The name of the field is "MNG01".
How to correct the error
You should define the field "MNG01" larger in program "SAPLATP2".
The maximum size allowed for fields of type P is 16 (31 digits).
A temporary solution could be to break the process down into smaller
processes so that fewer large sums occur.
If the error occurred in your own ABAP program or in an SAP
program you modified, try to remove the error.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
"SAPLATP2" or "LATP2FR2"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"RESB_SKBED_BRBED_CHECK" "(FORM)", or its possible occurrence must be declared
RAISING clause of the procedure.
To prevent the exception, note the following:
User and Transaction
Language key........ "E"
Transaction......... "VL01N "
Transactions ID..... "A54B4BE2F810F10C8B58D8D385F61ACF"
Screen.............. "SAPMV50A 4001"
Screen line......... 39
Information on where terminated
Termination occurred in the ABAP program "SAPLATP2" - in
The main program was "SAPMV50A ".
In the source code you have the termination point in line 83
of the (Include) program "LATP2FR2".
The termination is caused because exception "CX_SY_ARITHMETIC_OVERFLOW"
procedure "RESB_SKBED_BRBED_CHECK" "(FORM)", but it was neither handled locally
in the RAISING clause of its signature.
The procedure is in program "SAPLATP2 "; its source code begins in line
7 of the (Include program "LATP2FR2 ".
Source Code Extract
53 CLEAR: P_ATPMEX-KDPOS.
54 CLEAR: P_ATPMEX-PSPEL.
55 CLEAR: P_ATPMEX-KUNNR.
57 P_ATPMEX-SOBKZ = P_ATP_RESB-SOBKZ.
58 P_ATPMEX-LGORT = P_ATP_RESB-LGORT.
59 P_ATPMEX-CHARG = P_ATP_RESB-CHARG.
60 P_ATPMEX-DELKZ = P_ATP_RESB-BDART.
61 P_ATPMEX-ATPIF = SPACE.
62 P_ATPMEX-ATPIF+2(1) = P_ATP_RESB-DUMPS.
64 IF P_ATP_RESB-SHKZG = SHKZGS.
65 * dependent requirement is receipt
66 P_ATPMEX-SORT1 = S1RECEIPT.
67 P_ATPMEX-DAT00 = P_ATP_RESB-BDTER.
68 * p_atpmex-tag00 = "NOTE-X
69 P_ATPMEX-MNG01 = P_ATP_RESB-BDMNG - P_ATP_RESB-ENMNG.
70 P_ATPMEX-MNG02 = 0.
72 * dependent requirement is issue
73 P_ATPMEX-SORT1 = S1ISSUE.
74 P_ATPMEX-DAT00 = P_ATP_RESB-BDTER.
75 * p_atpmex-tag00 = "NOTE-X
76 P_ATPMEX-MNG01 = P_ATP_RESB-BDMNG - P_ATP_RESB-ENMNG.
77 IF P_ATPMEX-MNG01 < P_ATP_RESB-VMENG.
78 P_ATPMEX-MNG02 = P_ATPMEX-MNG01.
80 P_ATPMEX-MNG02 = P_ATP_RESB-VMENG.
>>>>> COLLECT P_ATPMEX.
85 ENDFORM. "RESB_SKBED_BRBED_CHECK