<?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 fixed point arithmetic error in include file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/12268425#M1987642</link>
    <description>&lt;P&gt;I create an enhancement in exit EXIT_SAPMM06E_012. In the inlude file ZXM06U43. I wrote SQL like below.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;SELECT 
   ekbe~gjahr,
   ekbe~belnr,ekbe~buzei,
   CASE 
      WHEN ekbe~bwart = '102' OR ekbe~bwart = '122'
           THEN ekbe~menge * -1
      WHEN ekbe~bwart = '101' OR ekbe~bwart = '123' 
           THEN ekbe~menge END  AS mtotal
from ekbe into table @DATA(gt_ekbe) WHERE ekbe~ebeln = i_ekko-ebeln.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;And it has error " This Open SQL statement uses additions that can only be used when the fixed point arithmetic flag is activated ". But it's a include file and I can't find fixed point arithmetic flag in property. So do I have to query original data into itab then process it or some bypass exist? Thx for any help. &lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 05:44:57 GMT</pubDate>
    <dc:creator>former_member625844</dc:creator>
    <dc:date>2020-11-23T05:44:57Z</dc:date>
    <item>
      <title>fixed point arithmetic error in include file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/12268425#M1987642</link>
      <description>&lt;P&gt;I create an enhancement in exit EXIT_SAPMM06E_012. In the inlude file ZXM06U43. I wrote SQL like below.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;SELECT 
   ekbe~gjahr,
   ekbe~belnr,ekbe~buzei,
   CASE 
      WHEN ekbe~bwart = '102' OR ekbe~bwart = '122'
           THEN ekbe~menge * -1
      WHEN ekbe~bwart = '101' OR ekbe~bwart = '123' 
           THEN ekbe~menge END  AS mtotal
from ekbe into table @DATA(gt_ekbe) WHERE ekbe~ebeln = i_ekko-ebeln.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;And it has error " This Open SQL statement uses additions that can only be used when the fixed point arithmetic flag is activated ". But it's a include file and I can't find fixed point arithmetic flag in property. So do I have to query original data into itab then process it or some bypass exist? Thx for any help. &lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 05:44:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/12268425#M1987642</guid>
      <dc:creator>former_member625844</dc:creator>
      <dc:date>2020-11-23T05:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: fixed point arithmetic error in include file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/12268426#M1987643</link>
      <description>&lt;P&gt;Did you try to create a Class/Interface and put your code in this class/interface ? &lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 06:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/12268426#M1987643</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2020-11-23T06:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: fixed point arithmetic error in include file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/12268427#M1987644</link>
      <description>&lt;P&gt;ZXM06U43 is an include of the main exit function group XM06, did you check this FG main program SAPLXM06 attributes, else move your code to a customer main object: interface, class, function group, subroutines pool, etc.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NB: Did you consider using EKBE-SHKZG to identify the movement sign (rather than a list of movement codes)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 13:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/12268427#M1987644</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2020-11-23T13:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: fixed point arithmetic error in include file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/12268428#M1987645</link>
      <description>&lt;P&gt;I used FM instead. I also checked SAPLXM06 and its fixed point arithmetic flag is checked. I don't know why this error happened.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 02:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/12268428#M1987645</guid>
      <dc:creator>former_member625844</dc:creator>
      <dc:date>2020-11-24T02:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: fixed point arithmetic error in include file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/12268429#M1987646</link>
      <description>&lt;P&gt;You could have activated the main program or the exit FM when the include was created to insure the include is correctly linked to FG.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 07:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/12268429#M1987646</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2020-11-24T07:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: fixed point arithmetic error in include file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/13601984#M2026492</link>
      <description>&lt;P&gt;when I get this type of error message, I have updated my code to work in the presentation layer instead database layer. Issue solved.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 06:50:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithmetic-error-in-include-file/m-p/13601984#M2026492</guid>
      <dc:creator>GaneshVunnam</dc:creator>
      <dc:date>2024-02-12T06:50:41Z</dc:date>
    </item>
  </channel>
</rss>

