<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MRN9 runtime error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mrn9-runtime-error/m-p/3140105#M746239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   kindly suggest me a OSS  NOTE  on this runtime error.  Points will be rewarded for the appropriate suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         COMPUTE_BCD_OVERFLOW                                                         Except.                CX_SY_ARITHMETIC_OVERFLOW                                                    Date and Time          21.12.2007 12:31:23                                                                                &lt;/P&gt;&lt;P&gt;Short text                                                                                &lt;/P&gt;&lt;P&gt;Overflow during the arithmetical operation (type P) in program "RMNIWE90_01".                 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?                                                                                &lt;/P&gt;&lt;P&gt;Error in the ABAP Application Program                                                                                &lt;/P&gt;&lt;P&gt;The current ABAP program "RMNIWE90_01" had to be terminated because it has                    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    come across a statement that unfortunately cannot be executed.                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can you do?                                                                                &lt;/P&gt;&lt;P&gt;Note down which actions and inputs caused the error.                                                                                &lt;/P&gt;&lt;P&gt;To process the problem further, contact you SAP system                                        &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    administrator.                                                                                &lt;/P&gt;&lt;P&gt;Using Transaction ST22 for ABAP Dump Analysis, you can look                                   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    at and manage termination messages, and you can also                                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    keep them for a long time.                                                                    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis                                                                                &lt;/P&gt;&lt;P&gt;An exception occurred that is explained in detail below.                                      &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     caught in                                                                                &lt;/P&gt;&lt;P&gt;procedure "WERTE_BERECHNEN" "(FORM)", nor was it propagated by a RAISING                      &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     clause.                                                                                &lt;/P&gt;&lt;P&gt;Since the caller of the procedure could not have anticipated that the                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    exception would occur, the current program is terminated.                                     &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    The reason for the exception is:                                                              &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    An overflow was discovered in an ongoing arithmetical operation with                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    operands of type P. Possible causes are:                                                                                &lt;/P&gt;&lt;P&gt;1. The result field of type P is too small for the result.                                                                                &lt;/P&gt;&lt;P&gt;2. The result or a intermediate result has more than 31 decimal places.                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to correct the error                                                                                &lt;/P&gt;&lt;P&gt;The result field must be enlarged, if this is still possible. It may                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    also be possible to break up the current process into subprocesses so                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    that only smaller values occur.                                                                                &lt;/P&gt;&lt;P&gt;If the error occurred in your own ABAP program or in an SAP                                   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    program you modified, try to remove the error.                                                                                &lt;/P&gt;&lt;P&gt;There may already be a solution to the error in the SAP notes system.                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    If you have access to the SAP notes system first try searching with the                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    following keywords:                                                                                &lt;/P&gt;&lt;P&gt;"COMPUTE_BCD_OVERFLOW"                                                                                &lt;/P&gt;&lt;P&gt;"BCD_FIELD_OVERFLOW" (Until release 4.0a, this runtime error occurred at this                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     position)                                                                                &lt;/P&gt;&lt;P&gt;"RMNIWE90_01" or "RMNIWE90_01"                                                               &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     "WERTE_BERECHNEN"                                                                                &lt;/P&gt;&lt;P&gt;If you cannot solve the problem yourself and want to send an error                            &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    notification to SAP, include the following information:                                                                                &lt;/P&gt;&lt;P&gt;1. The description of the current problem (short dump)                                                                                &lt;/P&gt;&lt;P&gt;To save the description, choose "System-&amp;gt;List-&amp;gt;Save-&amp;gt;Local File                            &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    (Unconverted)".                                                                                &lt;/P&gt;&lt;P&gt;2. Corresponding system log                                                                                &lt;/P&gt;&lt;P&gt;Display the system log by calling transaction SM21.                                        &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;       Restrict the time interval to 10 minutes before and five minutes                           &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    after the short dump. Then choose "System-&amp;gt;List-&amp;gt;Save-&amp;gt;Local File                             &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    (Unconverted)".                                                                                &lt;/P&gt;&lt;P&gt;3. If the problem occurs in a problem of your own or a modified SAP                           &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    program: The source code of the program                                                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;       In the editor, choose "Utilities-&amp;gt;More                                                     &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    Utilities-&amp;gt;Upload/Download-&amp;gt;Download".                                                                                &lt;/P&gt;&lt;P&gt;4. Details about the conditions under which the error occurred or which                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    actions and input led to the error.                                                                                &lt;/P&gt;&lt;P&gt;The exception must either be prevented, caught within proedure                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    "WERTE_BERECHNEN" "(FORM)", or its possible occurrence must be declared in the                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    RAISING clause of the procedure.                                                              &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    To prevent the exception, note the following:                                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Information on where terminated                                                                   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    Termination occurred in the ABAP program "RMNIWE90_01" - in "WERTE_BERECHNEN".                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    The main program was "RMNIWE90_01 ".                                                                                &lt;/P&gt;&lt;P&gt;In the source code you have the termination point in line 805                                 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    of the (Include) program "RMNIWE90_01".                                                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    The termination is caused because exception "CX_SY_ARITHMETIC_OVERFLOW"                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     occurred in                                                                                &lt;/P&gt;&lt;P&gt;procedure "WERTE_BERECHNEN" "(FORM)", but it was neither handled locally nor                  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     declared                                                                                &lt;/P&gt;&lt;P&gt;in the RAISING clause of its signature.                                                                                &lt;/P&gt;&lt;P&gt;The procedure is in program "RMNIWE90_01 "; its source code begins in line                    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    797 of the (Include program "RMNIWE90_01 ".                                                   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source Code Extract                                                                                &lt;/P&gt;&lt;P&gt;Line &lt;/P&gt;&lt;P&gt; SourceCde                                                                                &lt;/P&gt;&lt;P&gt;775&lt;/P&gt;&lt;P&gt;   niwe_preis_p = niwe_preis.                                                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  776&lt;/P&gt;&lt;P&gt;   max_preis_p = max_preis.                                                                  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  777&lt;/P&gt;&lt;P&gt;   IF niwe_preis_p &amp;gt;= max_preis_p.                                                           &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  778&lt;/P&gt;&lt;P&gt;     no_price = x.                                                                                &lt;/P&gt;&lt;P&gt;779&lt;/P&gt;&lt;P&gt;   ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;780&lt;/P&gt;&lt;P&gt;                                                                                781&lt;/P&gt;&lt;P&gt; *------- Fortschreiben Materialpreise -&lt;/P&gt;&lt;HR originaltext="-------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  782&lt;/P&gt;&lt;P&gt;   PERFORM mryf_material_price_update USING s_mry_mt08y      "note865204                     &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  783&lt;/P&gt;&lt;P&gt;                                            space            "note865204                     &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  784&lt;/P&gt;&lt;P&gt;                                            no_price                                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  785&lt;/P&gt;&lt;P&gt;                                            space.                                           &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  786&lt;/P&gt;&lt;P&gt;                                                                                787&lt;/P&gt;&lt;P&gt; *------- Commit Work -&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  788&lt;/P&gt;&lt;P&gt;   IF com_work = x.                                                                                &lt;/P&gt;&lt;P&gt;789&lt;/P&gt;&lt;P&gt;     PERFORM mryf_commit_work USING comstamp.                                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  790&lt;/P&gt;&lt;P&gt;   ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;791&lt;/P&gt;&lt;P&gt;                                                                                792&lt;/P&gt;&lt;P&gt; ENDFORM.                    "update_mbew                                                    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  793&lt;/P&gt;&lt;P&gt; *eject                                                                                &lt;/P&gt;&lt;P&gt;794&lt;/P&gt;&lt;P&gt; *----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  795&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FORM WERTE_BERECHNEN                                              *                     &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  796&lt;/P&gt;&lt;P&gt; *----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  797&lt;/P&gt;&lt;P&gt; FORM werte_berechnen.                                                                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  798&lt;/P&gt;&lt;P&gt;                                                                                799&lt;/P&gt;&lt;P&gt; *------- Preis aus Matstamm ermitteln -&lt;/P&gt;&lt;HR originaltext="-------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  800&lt;/P&gt;&lt;P&gt;   lbkum = s_mry_mt08y-stlbk.                                                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  801&lt;/P&gt;&lt;P&gt;   salk3 = s_mry_mt08y-stsal.                                                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  802&lt;/P&gt;&lt;P&gt;   IF s_mry_mt08y-stvpr = 'S'.                                                               &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  803&lt;/P&gt;&lt;P&gt;     preis = s_mry_mt08y-ststp * bwpei / s_mry_mt08y-stpei.                                  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  804&lt;/P&gt;&lt;P&gt;   ELSE.                                                                                &lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;/P&gt;&lt;P&gt;     preis = s_mry_mt08y-stver * bwpei / s_mry_mt08y-stpei.                                  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  806&lt;/P&gt;&lt;P&gt;   ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;807&lt;/P&gt;&lt;P&gt;                                                                                808&lt;/P&gt;&lt;P&gt; *------- Negative Bestände ignorieren -&lt;/P&gt;&lt;HR originaltext="-------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  809&lt;/P&gt;&lt;P&gt;   IF sniwe9-noneg = x.                                                                      &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  810&lt;/P&gt;&lt;P&gt;     IF lbkum &amp;lt; 0.                                                                                &lt;/P&gt;&lt;P&gt;811&lt;/P&gt;&lt;P&gt;       lbkum = 0.                                                                                &lt;/P&gt;&lt;P&gt;812&lt;/P&gt;&lt;P&gt;       salk3 = 0.                                                                                &lt;/P&gt;&lt;P&gt;813&lt;/P&gt;&lt;P&gt;     ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;814&lt;/P&gt;&lt;P&gt;   ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;815&lt;/P&gt;&lt;P&gt;                                                                                816&lt;/P&gt;&lt;P&gt; *------- Bilanzwerte initialisieren -&lt;/P&gt;&lt;HR originaltext="---------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  817&lt;/P&gt;&lt;P&gt;   CLEAR: wert1, wert2, wert3, wert4, wert5, wert6.                                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  818&lt;/P&gt;&lt;P&gt;   CLEAR: preis1, preis2, preis3, preis4, preis5, preis6.                                    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  819&lt;/P&gt;&lt;P&gt;   noval1 = noval2 = noval3 = noval4 = noval5 = noval6 = x.                                  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  820&lt;/P&gt;&lt;P&gt;   bwert = max_wert.                                                                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  821&lt;/P&gt;&lt;P&gt;   bpreis = max_preis.                                                                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  822&lt;/P&gt;&lt;P&gt;   LOOP AT seq.                                                                                &lt;/P&gt;&lt;P&gt;823&lt;/P&gt;&lt;P&gt;     CASE seq-step.                                                                                &lt;/P&gt;&lt;P&gt;824&lt;/P&gt;&lt;P&gt;       WHEN '1'.                                                                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;SKUMAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2007 06:16:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-27T06:16:57Z</dc:date>
    <item>
      <title>MRN9 runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mrn9-runtime-error/m-p/3140105#M746239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   kindly suggest me a OSS  NOTE  on this runtime error.  Points will be rewarded for the appropriate suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         COMPUTE_BCD_OVERFLOW                                                         Except.                CX_SY_ARITHMETIC_OVERFLOW                                                    Date and Time          21.12.2007 12:31:23                                                                                &lt;/P&gt;&lt;P&gt;Short text                                                                                &lt;/P&gt;&lt;P&gt;Overflow during the arithmetical operation (type P) in program "RMNIWE90_01".                 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?                                                                                &lt;/P&gt;&lt;P&gt;Error in the ABAP Application Program                                                                                &lt;/P&gt;&lt;P&gt;The current ABAP program "RMNIWE90_01" had to be terminated because it has                    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    come across a statement that unfortunately cannot be executed.                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can you do?                                                                                &lt;/P&gt;&lt;P&gt;Note down which actions and inputs caused the error.                                                                                &lt;/P&gt;&lt;P&gt;To process the problem further, contact you SAP system                                        &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    administrator.                                                                                &lt;/P&gt;&lt;P&gt;Using Transaction ST22 for ABAP Dump Analysis, you can look                                   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    at and manage termination messages, and you can also                                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    keep them for a long time.                                                                    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis                                                                                &lt;/P&gt;&lt;P&gt;An exception occurred that is explained in detail below.                                      &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     caught in                                                                                &lt;/P&gt;&lt;P&gt;procedure "WERTE_BERECHNEN" "(FORM)", nor was it propagated by a RAISING                      &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     clause.                                                                                &lt;/P&gt;&lt;P&gt;Since the caller of the procedure could not have anticipated that the                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    exception would occur, the current program is terminated.                                     &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    The reason for the exception is:                                                              &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    An overflow was discovered in an ongoing arithmetical operation with                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    operands of type P. Possible causes are:                                                                                &lt;/P&gt;&lt;P&gt;1. The result field of type P is too small for the result.                                                                                &lt;/P&gt;&lt;P&gt;2. The result or a intermediate result has more than 31 decimal places.                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to correct the error                                                                                &lt;/P&gt;&lt;P&gt;The result field must be enlarged, if this is still possible. It may                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    also be possible to break up the current process into subprocesses so                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    that only smaller values occur.                                                                                &lt;/P&gt;&lt;P&gt;If the error occurred in your own ABAP program or in an SAP                                   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    program you modified, try to remove the error.                                                                                &lt;/P&gt;&lt;P&gt;There may already be a solution to the error in the SAP notes system.                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    If you have access to the SAP notes system first try searching with the                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    following keywords:                                                                                &lt;/P&gt;&lt;P&gt;"COMPUTE_BCD_OVERFLOW"                                                                                &lt;/P&gt;&lt;P&gt;"BCD_FIELD_OVERFLOW" (Until release 4.0a, this runtime error occurred at this                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     position)                                                                                &lt;/P&gt;&lt;P&gt;"RMNIWE90_01" or "RMNIWE90_01"                                                               &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     "WERTE_BERECHNEN"                                                                                &lt;/P&gt;&lt;P&gt;If you cannot solve the problem yourself and want to send an error                            &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    notification to SAP, include the following information:                                                                                &lt;/P&gt;&lt;P&gt;1. The description of the current problem (short dump)                                                                                &lt;/P&gt;&lt;P&gt;To save the description, choose "System-&amp;gt;List-&amp;gt;Save-&amp;gt;Local File                            &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    (Unconverted)".                                                                                &lt;/P&gt;&lt;P&gt;2. Corresponding system log                                                                                &lt;/P&gt;&lt;P&gt;Display the system log by calling transaction SM21.                                        &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;       Restrict the time interval to 10 minutes before and five minutes                           &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    after the short dump. Then choose "System-&amp;gt;List-&amp;gt;Save-&amp;gt;Local File                             &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    (Unconverted)".                                                                                &lt;/P&gt;&lt;P&gt;3. If the problem occurs in a problem of your own or a modified SAP                           &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    program: The source code of the program                                                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;       In the editor, choose "Utilities-&amp;gt;More                                                     &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    Utilities-&amp;gt;Upload/Download-&amp;gt;Download".                                                                                &lt;/P&gt;&lt;P&gt;4. Details about the conditions under which the error occurred or which                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    actions and input led to the error.                                                                                &lt;/P&gt;&lt;P&gt;The exception must either be prevented, caught within proedure                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    "WERTE_BERECHNEN" "(FORM)", or its possible occurrence must be declared in the                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    RAISING clause of the procedure.                                                              &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    To prevent the exception, note the following:                                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Information on where terminated                                                                   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    Termination occurred in the ABAP program "RMNIWE90_01" - in "WERTE_BERECHNEN".                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    The main program was "RMNIWE90_01 ".                                                                                &lt;/P&gt;&lt;P&gt;In the source code you have the termination point in line 805                                 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    of the (Include) program "RMNIWE90_01".                                                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    The termination is caused because exception "CX_SY_ARITHMETIC_OVERFLOW"                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     occurred in                                                                                &lt;/P&gt;&lt;P&gt;procedure "WERTE_BERECHNEN" "(FORM)", but it was neither handled locally nor                  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     declared                                                                                &lt;/P&gt;&lt;P&gt;in the RAISING clause of its signature.                                                                                &lt;/P&gt;&lt;P&gt;The procedure is in program "RMNIWE90_01 "; its source code begins in line                    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    797 of the (Include program "RMNIWE90_01 ".                                                   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source Code Extract                                                                                &lt;/P&gt;&lt;P&gt;Line &lt;/P&gt;&lt;P&gt; SourceCde                                                                                &lt;/P&gt;&lt;P&gt;775&lt;/P&gt;&lt;P&gt;   niwe_preis_p = niwe_preis.                                                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  776&lt;/P&gt;&lt;P&gt;   max_preis_p = max_preis.                                                                  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  777&lt;/P&gt;&lt;P&gt;   IF niwe_preis_p &amp;gt;= max_preis_p.                                                           &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  778&lt;/P&gt;&lt;P&gt;     no_price = x.                                                                                &lt;/P&gt;&lt;P&gt;779&lt;/P&gt;&lt;P&gt;   ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;780&lt;/P&gt;&lt;P&gt;                                                                                781&lt;/P&gt;&lt;P&gt; *------- Fortschreiben Materialpreise -&lt;/P&gt;&lt;HR originaltext="-------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  782&lt;/P&gt;&lt;P&gt;   PERFORM mryf_material_price_update USING s_mry_mt08y      "note865204                     &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  783&lt;/P&gt;&lt;P&gt;                                            space            "note865204                     &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  784&lt;/P&gt;&lt;P&gt;                                            no_price                                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  785&lt;/P&gt;&lt;P&gt;                                            space.                                           &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  786&lt;/P&gt;&lt;P&gt;                                                                                787&lt;/P&gt;&lt;P&gt; *------- Commit Work -&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  788&lt;/P&gt;&lt;P&gt;   IF com_work = x.                                                                                &lt;/P&gt;&lt;P&gt;789&lt;/P&gt;&lt;P&gt;     PERFORM mryf_commit_work USING comstamp.                                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  790&lt;/P&gt;&lt;P&gt;   ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;791&lt;/P&gt;&lt;P&gt;                                                                                792&lt;/P&gt;&lt;P&gt; ENDFORM.                    "update_mbew                                                    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  793&lt;/P&gt;&lt;P&gt; *eject                                                                                &lt;/P&gt;&lt;P&gt;794&lt;/P&gt;&lt;P&gt; *----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  795&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FORM WERTE_BERECHNEN                                              *                     &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  796&lt;/P&gt;&lt;P&gt; *----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  797&lt;/P&gt;&lt;P&gt; FORM werte_berechnen.                                                                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  798&lt;/P&gt;&lt;P&gt;                                                                                799&lt;/P&gt;&lt;P&gt; *------- Preis aus Matstamm ermitteln -&lt;/P&gt;&lt;HR originaltext="-------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  800&lt;/P&gt;&lt;P&gt;   lbkum = s_mry_mt08y-stlbk.                                                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  801&lt;/P&gt;&lt;P&gt;   salk3 = s_mry_mt08y-stsal.                                                                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  802&lt;/P&gt;&lt;P&gt;   IF s_mry_mt08y-stvpr = 'S'.                                                               &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  803&lt;/P&gt;&lt;P&gt;     preis = s_mry_mt08y-ststp * bwpei / s_mry_mt08y-stpei.                                  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  804&lt;/P&gt;&lt;P&gt;   ELSE.                                                                                &lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;/P&gt;&lt;P&gt;     preis = s_mry_mt08y-stver * bwpei / s_mry_mt08y-stpei.                                  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  806&lt;/P&gt;&lt;P&gt;   ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;807&lt;/P&gt;&lt;P&gt;                                                                                808&lt;/P&gt;&lt;P&gt; *------- Negative Bestände ignorieren -&lt;/P&gt;&lt;HR originaltext="-------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  809&lt;/P&gt;&lt;P&gt;   IF sniwe9-noneg = x.                                                                      &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  810&lt;/P&gt;&lt;P&gt;     IF lbkum &amp;lt; 0.                                                                                &lt;/P&gt;&lt;P&gt;811&lt;/P&gt;&lt;P&gt;       lbkum = 0.                                                                                &lt;/P&gt;&lt;P&gt;812&lt;/P&gt;&lt;P&gt;       salk3 = 0.                                                                                &lt;/P&gt;&lt;P&gt;813&lt;/P&gt;&lt;P&gt;     ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;814&lt;/P&gt;&lt;P&gt;   ENDIF.                                                                                &lt;/P&gt;&lt;P&gt;815&lt;/P&gt;&lt;P&gt;                                                                                816&lt;/P&gt;&lt;P&gt; *------- Bilanzwerte initialisieren -&lt;/P&gt;&lt;HR originaltext="---------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  817&lt;/P&gt;&lt;P&gt;   CLEAR: wert1, wert2, wert3, wert4, wert5, wert6.                                          &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  818&lt;/P&gt;&lt;P&gt;   CLEAR: preis1, preis2, preis3, preis4, preis5, preis6.                                    &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  819&lt;/P&gt;&lt;P&gt;   noval1 = noval2 = noval3 = noval4 = noval5 = noval6 = x.                                  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  820&lt;/P&gt;&lt;P&gt;   bwert = max_wert.                                                                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  821&lt;/P&gt;&lt;P&gt;   bpreis = max_preis.                                                                       &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  822&lt;/P&gt;&lt;P&gt;   LOOP AT seq.                                                                                &lt;/P&gt;&lt;P&gt;823&lt;/P&gt;&lt;P&gt;     CASE seq-step.                                                                                &lt;/P&gt;&lt;P&gt;824&lt;/P&gt;&lt;P&gt;       WHEN '1'.                                                                         &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;SKUMAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 06:16:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mrn9-runtime-error/m-p/3140105#M746239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T06:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: MRN9 runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mrn9-runtime-error/m-p/3140106#M746240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There should not any need of SAP Note for this. &lt;/P&gt;&lt;P&gt;This could be because of the wrong value passing to the field which is of type P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the value of the field and correct it and execute it again. This is surely work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 17:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mrn9-runtime-error/m-p/3140106#M746240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T17:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: MRN9 runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mrn9-runtime-error/m-p/3140107#M746241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please advise how you managed to solve the issue? I am facing the exact same problem. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 16:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mrn9-runtime-error/m-p/3140107#M746241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-28T16:18:14Z</dc:date>
    </item>
  </channel>
</rss>

