Overflow for arithmetical operation (type P) in program.

Hi experts..
I had developed a report for showing total receipt and issues and confirmed issue.
of PQ.
For all the plant is running fine but only for one plant 2050 its going into dump and error is "Overflow for arithmetical operation (type P) in program." and the code line is
T_EKET-MNG02 = T_EKET-MNG02 * ( t_mdbs-umrez / t_mdbs-umren ).
MNG02 IS OF TYPE  Data : "Quan", length =13 , decimal = 3.
initially : value in Mng02 is =  10       and ratio is 11/8 = 1.375
              and in the debugging the value is   10*1.375 = 13.75
but... when i am executing it .. its going into dump and after again checking the MNG02 is showing valude --9765133613.881  and the above error.
what should i do....
please help..
i will award the points for every help...
thanks

Hi,
Are you doing any other calculation for field MNG02 in your program?
I created a small program with the field and values you have mentioned and it gave me the result 13.75 and no short dump.
Please check following things:
When short dump occurs, it shows at which line it has occured. Is it showing that the shortdump has occurs on the line you are talking about here or it is somewhere else.
Also, when shortdump occurs, it shows a "debugging" button at the top. Hit that button and it will show you exactly where the short dump has occured. What ever this statement is, check what are the values of different variables here.
Check all these and you might get the answer. Let me know if you still have problem.
Regards,
RS

Similar Messages

  • Error while doing MIRO-Overflow for arithmetical operation (type P) in prog

    Hi ,
    I am getting the error while doing the MIRO  as below-
    Runtime Errors         COMPUTE_BCD_OVERFLOW
    Exception              CX_SY_ARITHMETIC_OVERFLOW
    Date and Time          20.05.2009 10:07:03
    Short text
         Overflow during the arithmetical operation (type P) in program "SAPLMRMC".
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLMRMC" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not
          caught in
         procedure "MRM_AMOUNT_QUANTITY_PROPOSE" "(FUNCTION)", nor was it propagated by
          a RAISING clause.
         Since the caller of the procedure could not have anticipated that the
    Please let me know how can this be removed.

    Hi,
    There can be some problem with tolerances set in the customizing.
    In my case, I was getting this error because of delivery date variance. The difference between delivery date maintained in PO and invoice date was huge and hence the multiplication of price of PO and difference  of delivery date was huge and that was the reason for error.
    Similarly in your case also, there will be some tolerance limit problem.
    Please check your tolerance limits set in customizing.
    Regards,
    Mihir Popat

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

    Hi,
    I am currently facing an issue in payroll posting to accounting in international payroll.A run time error "Overflow during the arithmetical operation (type P) in program "SAPLHRPT" occurs. By reducing the amounts on the balance sheet side payroll posting document is created.

    Hi Asad,
    Does you guys enhancemented this program? I think if it`s standard code, it should give you a error message inform you "amount is too large" or something.
    So double click this dump log, to check whether it is a custom code, if yes, to add "TRY CATCH" and give out a message.
    regards,
    Archer

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

    hi,
        I am getting this error in VA01(sales order)
    Runtime error              Compute_bcd_overflow
    Except                       Cx_sy_arithmetic_overflow.
    Overflow during the arithmetical operation (type P) in program "SAPLV61A
    Error in particular line is.
    1388           ADD  xkomv-kwert  TO komp-mwsbp.
    Please give me the solution with detail decsription.How to solve with step by step.

    Hi,
    Instead of directly assigning the value to xkomv-kbetr. Store the value in a temporary variable of type p length 13 decimals 2 . Multiply by 10^n to get the correct result.
    Then assign the temp value to xkomv-kbetr.
    Sample Code
    DATA : lv_temp TYPE P length 13 decimals 2.
    lv_temp = ( xkwert * 10^n ) / komp-mgame. 
    Then assign lv_temp to xkomv-kbetr.
    To get proper value, you have to multiply or divide by 10^n .
    Regards,
    DPM

  • Overflow during the arithmetical operation (type P) in program SAPLBBP_FRA

    Hi All
    I am receieving the following error the moment I log onto the SRM system via the browser.
    Overflow during the arithmetical operation (type P) in program SAPLBBP_FRAMEWORK
    Please can you advise what could possibly the problem.
    Thanks in Advance
    Regards
    KC

    Hi
    <b>Please go through this SAP OSS Note which will definitely help -></b>
    Note 857137 - MENUDATA: A "short dump" occurs with several role assignment
    <u>Do let me know.</u>
    Regards
    - Atul

  • Overflow during the arithmetical operation (type P) in program

    Hi all,
    I have a report. This report is giving dump in production server.
    The report is running in Quality and development without this dump.
    Actaully I have added a variable and that of try rseg-wrbtr.
    And I am not clearing this variable..
    So is this the possibility for the dump or something else is responsible for it??
    In dump screen I am getting the cursor at the same variable which i have added
    I mean during the calculation this is giving the dump,..
    Any solution????

    Hi Yash,
    This exception is because, value from the addition can not be accomodated in that fied.
    WRBTR have Domain as WERT7, try using some other domain with PL more than 7.
    you can use WERT9 domain for this perticular field and still issue is face you can go for length greater than WERT9.
    Regards,
    Ganesh Lathi.

  • Change detector failed while scanning for changes to type User

    I'm receiving lots of system log warnings in IdM.
    These warnings are not bound to any particular action in IdM, they just do appear while IdM is on.
    Almost one warning per one second.
    Change detector failed while scanning for changes to type Server
    Change detector failed while scanning for changes to type UserForm
    Change detector failed while scanning for changes to type User
    Change detector failed while scanning for changes to type Resource
    SysLog detail:
    Timestamp 123
    Event
    Server server11
    Severity Warning
    Component Repository
    Error Code OCDT00
    Message Change detector failed while scanning for changes to type User
    Reported cause java.lang.NullPointerException
    java.lang.NullPointerException
    at com.waveset.repository.ObjectChange.equals(ObjectChange.java:112)
    at java.util.HashMap.eq(HashMap.java:299)
    at java.util.HashMap.containsKey(HashMap.java:381)
    at java.util.HashSet.contains(HashSet.java:182)
    at com.waveset.repository.ObjectChangeManager$RemoteChangeDetector.dispatchChanges(ObjectChangeManager.java:398)
    at com.waveset.repository.ObjectChangeManager$RemoteChangeDetector.run(ObjectChangeManager.java:314)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)

    same here, just deployed 8.1 with oracle as db. It results in syslog table growing into 10+G and still growing.
    wonder if there are others who are seeing this.
    my "syslog -d 1" output looks like this...
    2009-12-02 04:52:55.972 null W xxx RP OCDT00 Change
    detector failed while scanning for changes to type Account
    2009-12-02 04:53:06.400 null W xxx RP OCDT00 Change
    detector failed while scanning for changes to type Server
    2009-12-02 04:53:06.578 null W xxx RP OCDT00 Change
    detector failed while scanning for changes to type User
    2009-12-02 04:53:06.914 null W xxx RP OCDT00 Change
    detector failed while scanning for changes to type Account
    2009-12-02 04:53:17.479 null W xxx RP OCDT00 Change
    detector failed while scanning for changes to type Server
    C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18\webapps\ims\bin
    lh syslog -d 1

  • Power query from ODBC :"DataSource.Error: Arithmetic operation resulted in an overflow"

    Good day
    Everytime I want to pull data into a query from our servers it gives the error "DataSource.Error: Arithmetic operation resulted in an overflow". What is the reason for this error, and how do I get past this bump.
    Thanks in advance
    Arnoux

    Hey Tristan. Thanks I did that yes.
    For some reason my direct MySQL connection does not want to work.
    I get the following error
    DataSource.Error: MySQL: Unable to find a database provider with invariant name 'MySql.Data.MySqlClient'.
    This error may have been the result of provider-specific client software being required but missing on this computer.  To download client software for this provider, visit the following site and choose at minimum 'MySQL Connector/Net':

  • Single concurrent program for multiple operating units

    HI
    I am working on XML/BI publisher to generate AR invoice reports.
    We have single rdf report using which rtf templates are generated.
    There are 10 operating units (10 ORG_ID's) and 10 rtf templates, one for each operating unit. There are 4 different responsibilities for each ORG_ID
    Eg: ORG_ID's = 11, 12, 13, 14..........etc
    Eg: Responsibility = xx, yy, zz...........etc
    I want to register a single concurrent program. When a user submits a request from "XX" responsibility, then the template associated with that org_id should be generated. Whichever responsibility the user is accessing from, that particular template must be shown as output.
    How can i register one concurrent program for multiple operating units.
    Thanks!
    Edited by: 994628 on Mar 18, 2013 4:39 PM
    Edited by: 994628 on Mar 18, 2013 4:42 PM

    >
    There are 10 operating units (10 ORG_ID's) and 10 rtf templates, one for each operating unit. There are 4 different responsibilities for each ORG_ID
    Eg: ORG_ID's = 11, 12, 13, 14..........etc
    Eg: Responsibility = xx, yy, zz...........etc
    I want to register a single concurrent program. When a user submits a request from "XX" responsibility, then the template associated with that org_id should be generated. Whichever responsibility the user is accessing from, that particular template must be shown as output.
    >
    interesting case for 10 OE set 10 template
    what is purpose? for each OE different requirements for layout?
    BTW
    if each Responsibility associated with one org_id then
    - you can get current org_id when you run concurrent program
    - create main template (will be #11) with condition like
    <?choose:?>
    <?when: ORG_ID=11?>
    <?import:xdo://FND.XX11_SUB.en.00/?>
    <?call:TEMPLATE11?>
    <?end when?>
    <?when: ORG_ID=12?>
    <?import:xdo://FND.XX12_SUB.en.00/?>
    <?call:TEMPLATE12?>
    <?end when?>
    <?otherwise:?>
    <?import:xdo://FND.XX21_SUB.en.00/?>
    <?call:TEMPLATE21?>
    <?end otherwise?>
    <?end choose?>so based on org_id will be import of needed subtemplate
    - re-register your "10 rtf templates" as subtemplates
    another way is substitution of template for concurrent then it running
    in before_report trigger set needed template
    l_conc_request_id := fnd_global.conc_request_id;
        if ORG_ID = 11 then
          UPDATE fnd_conc_pp_actions t
             SET t.argument2 = 'XX11'
           where t.concurrent_request_id = l_conc_request_id
             and t.action_type = 6;
      if ORG_ID = 21 then
          UPDATE fnd_conc_pp_actions t
             SET t.argument2 = 'XX21'
           where t.concurrent_request_id = l_conc_request_id
             and t.action_type = 6;

  • ODBC BI Server Bug - arithmetic operation resulted in an overflow

    I am trying to write some really simple .NET code access the Oracle BI Server ODBC driver and it's not working at all.  I've connected fine, however it seems like anything I try to do related to getting database information spits up an error "arithmetic operation resulted in an overflow".
    Here is the code:
    Dim ConnectString As String
    Dim FactoryType As String
    Dim Factory As System.Data.Common.DbProviderFactory
    Dim Connection As System.Data.Common.DbConnection = Nothing
    Dim TablesData As System.Data.DataTable = Nothing
    Dim err As String = ""
    Dim nl As String = Chr(13) + Chr(10)
    Try
        ' Connect to the database via ODBC
        ConnectString = "DSN=BSODBC_7;uid=TheUser10;pwd=************"
        FactoryType = "System.Data.Odbc"
        Factory = System.Data.Common.DbProviderFactories.GetFactory(FactoryType)
        Connection = Factory.CreateConnection
        Connection.ConnectionString = ConnectString
        Connection.Open()
        ' Request a list of tables from the database
        ' ** Tried both with restrictions and without
        ' ERROR on this line:
        ' “Arithmetic operation resulted in an overflow.”
        TablesData = Connection.GetSchema("Tables")
        ' Show the list of tables on the screen in a grid
        ' If it was successful.
        OnScreenGrid.AutoGenerateColumns = True
        OnScreenGrid.DataSource = TablesData
    Catch ex As Exception
        ' Report the error
        err = ex.Message
        If Not (ex.InnerException Is Nothing) Then
            If Not (ex.InnerException.Message Is Nothing) Then
                err = err + nl + nl + ex.InnerException.Message
            End If
        End If
        MsgBox(err, MsgBoxStyle.OkOnly + MsgBoxStyle.Exclamation, "Error")
    Finally
        ' Clean up and Close the DB Connection
        If Not (Connection Is Nothing) Then
            Connection.Close()
            Connection.Dispose()
            Connection = Nothing
        End If
    End Try
    Any Thoughts?  Is this a known bug?  Is there a fix?

    I doubt on line
    OnScreenGrid.DataSource = TablesData
    instead of array as TablesData try to take List object and assign it to OnScreenGrid.DataSource
    just in case check this
    DataGridView.AutoGenerateColumns Property (System.Windows.Forms)
    I might be wrong but just check it

  • The operation is not allowed for result set type FORWARD_ONLY

    Hi,
    I am trying to use scroll insensitive resultset in following manner-
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    ResultSet rs = stmt.executeQuery("some sql here");
    rs.last();
    but the rs.last() throws this exception-
    com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB: The operation is not allowed for result set type FORWARD_ONLY.
         at com.sap.dbtech.jdbc.ResultSetSapDB.assertNotForwardOnly(ResultSetSapDB.java:2725)
         at com.sap.dbtech.jdbc.ResultSetSapDB.last(ResultSetSapDB.java:557)
    Database version: Kernel    7.5.0    Build 019-121-082-363
    Driver Version: MaxDB JDBC Driver, MySQL MaxDB, 7.6.0    Build 030-000-005-567
    This used to work with 7.5 version driver. Why this is failing with 7.6 driver, any clues?
    Thanks,
    Vinod

    Hi Vinod,
    due to performance improvement when using forward only cursor we changed the default for the resultset type from TYPE_SCROLL_SENSITIVE to TYPE_FORWARD_ONLY starting with JDBC driver version 7.6. So I guess the exception comes from a statement where you didn't set the resultset type while creating it. Please check if all of the statements that you want to be scrollable have set the correct resultset type.
    Regards,
    Marco

  • Document splitting causes field overflow for currency type 00 in row 003

    Hi ,
    Friends ,
    Our some of sales bills are stucking iduring  posting to finance after upgrading support packages, earlier there was no any problem.
    we are trying to post by tcode vf02 , it is throughing an error message
    Document splitting causes field overflow for currency type 00 in row 003
    Message no. GLT0004
    We are not getting any solution .
    We have raised a message to sap support , but not getting proper solution,
    Please guid us how can we solve this.
    SS
    Mobile no. 9810477923- Sundeep Gupta

    Thanks for all.
    we have solved this issue  after change some customization according sap support consultant reply as under.
    you have 3 different issues within your SD- new g/L interface.
    The most critical one is the fact that you substitute PRCTR and
    Segment assignemnts into line items to be processed by rule based
    split. This leads to the fact that you will only those cases will be
    able to post document in case the assignemnts are unique,
    which means no different kind of prctr, segment and business area
    assignments but only one single kind. This makes no sence at all.
    Please see my last reply regarding this most critical issue.
    This needs to be solved from Consulting point of view.
    Regards.
    SS
    Edited by: Lakshmipathi on Dec 22, 2010 12:21 PM
    When you say it is answered why you have closed the thread with Closed but Unanswered.  Please change it to "Answered".

  • DB-Table PO for time to confirm for each actvity type (operation)

    Hello All,
    I search the DB-Table for the time to confirm for each activity type (operation/production order).
    (CO03>operation details>qty/activities-->to confirm).
    I have found the following tables - but without success:
    AFRU
    AFVC
    AFVV
    PLPO
    I search not the standard vals (AFVV). Who can help me?
    Thanks & regards
    Sascha

    Sascha,
    Table AFVV has the details:
    Standard Values:
    VGE01     VGWRTEH     UNIT     3     0     Unit of measure for the standard value
    VGW01     VGWRT     QUAN     9     3     Standard value
    VGE02     VGWRTEH     UNIT     3     0     Unit of measure for the standard value
    VGW02     VGWRT     QUAN     9     3     Standard value
    VGE03     VGWRTEH     UNIT     3     0     Unit of measure for the standard value
    VGW03     VGWRT     QUAN     9     3     Standard value
    VGE04     VGWRTEH     UNIT     3     0     Unit of measure for the standard value
    VGW04     VGWRT     QUAN     9     3     Standard value
    VGE05     VGWRTEH     UNIT     3     0     Unit of measure for the standard value
    VGW05     VGWRT     QUAN     9     3     Standard value
    VGE06     VGWRTEH     UNIT     3     0     Unit of measure for the standard value
    VGW06     VGWRT     QUAN     9     3     Standard value
    For actual values confirmed:
    ILE01     CO_ISMNGEH     UNIT     3     0     Unit of measure for the activity to be confirmed
    ILE02     CO_ISMNGEH     UNIT     3     0     Unit of measure for the activity to be confirmed
    ILE03     CO_ISMNGEH     UNIT     3     0     Unit of measure for the activity to be confirmed
    ILE04     CO_ISMNGEH     UNIT     3     0     Unit of measure for the activity to be confirmed
    ILE05     CO_ISMNGEH     UNIT     3     0     Unit of measure for the activity to be confirmed
    ILE06     CO_ISMNGEH     UNIT     3     0     Unit of measure for the activity to be confirmed
    Hope this is useful.
    Regards
    Ram

  • Document Splitting causes field overflow for currency type 10 in row 007

    Dear All,
    At the time of Invoice through FB60 system is showing the above error Document Splitting causes field overflow for currency type 10 in row 007  & Message No :  GLT0004.  What could be the reason. 
    Regards

    Dear Raj,
    Please refer below link
    Document splitting causes field overflow for currency type 00 in row 003
    Br,Vivek

  • Document splitting causes field overflow for currency type 10 in row 001

    Hi Experts,
    I come across below error, while posting an entry in to SAP.
    "Document splitting causes field overflow for currency type 10 in row 001"
    Request your help in resolving the above.
    regards,
    Gopala

    Dear expert
             Document Splitting causes field overflow for currency type 10 in row 007
             GLT0004 - Document splitting causes causes field overflow
    Regards
       Ajeesh.s

Maybe you are looking for