Skip to Content
author's profile photo Former Member
Former Member

Overflow during the arithmetical operation (type P) in program "ZSD_C

Dear All I am getting the error like this.

Short text

Overflow during the arithmetical operation (type P) in program "ZSD_COLL

What happened?

Error in the ABAP Application Program

The current ABAP program "ZSD_COLL" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', w

caught and

therefore caused a runtime error.

The reason for the exception is:

An overflow was discovered in an ongoing arithmetical operation with

operands of type P. Possible causes are:

1. The result field of type P is too small for the result.

2. The result or a intermediate result has more than 31 decimal places.

"---------------------------------------------------------------------------------------------------------------

I have checked all the declarations but still I am getting the error

Please suggest me

Thanks

error2.png (65.5 kB)
Error1.png (74.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on May 24, 2013 at 10:06 AM

    Hi,

    I can see the sy-datum but can you please give the line of the code here which has the arrow >>>>.

    Cheers,

    Arindam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 24, 2013 at 10:11 AM

    Hi Swaroopa,

    Please Check your data type ..anywhere you used 'P' in datatypes?

    please paste your code.

    Regards,

    SG

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 24, 2013 at 12:26 PM

    Hi Swaroopa ,

    Pls post the Code

    Thanks & Regards

    Kranthi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 24, 2013 at 10:30 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.