<?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 Re: not an integer: '0.00' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-an-integer-0-00/m-p/12672599#M2016362</link>
    <description>&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;&amp;lt;tt:cond check="$INVL.PRICE.PRICE_AMOUNT &amp;gt; P(0.00)"&amp;gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I have got XT: "Check failed in condition".&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2023 16:58:40 GMT</pubDate>
    <dc:creator>friendlycoder</dc:creator>
    <dc:date>2023-01-10T16:58:40Z</dc:date>
    <item>
      <title>not an integer: '0.00'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-an-integer-0-00/m-p/12672597#M2016360</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;I am using transformations for XML to serialize and deserialize a XML file.Here a snippet from the definition:
  &lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;    &amp;lt;tt:group&amp;gt;&lt;BR /&gt;      &amp;lt;tt:cond frq="?"&amp;gt;&lt;BR /&gt;        &amp;lt;cac:Price&amp;gt;&lt;BR /&gt;          &amp;lt;tt:cond check="not-initial($INVL.PRICE.PRICE_AMOUNT) and ($INVL.PRICE.PRICE_AMOUNT &amp;gt; 0.00)"&amp;gt;&lt;BR /&gt;            &amp;lt;cbc:PriceAmount&amp;gt;&lt;BR /&gt;              &amp;lt;tt:attribute name="currencyID" value-ref="$INVL.PRICE.PRICE_CURRENCY"/&amp;gt;&lt;BR /&gt;              &amp;lt;tt:value ref="$INVL.PRICE.PRICE_AMOUNT"/&amp;gt;&lt;BR /&gt;            &amp;lt;/cbc:PriceAmount&amp;gt;&lt;BR /&gt;          &amp;lt;/tt:cond&amp;gt;&lt;BR /&gt;        &amp;lt;/cac:Price&amp;gt;&lt;BR /&gt;      &amp;lt;/tt:cond&amp;gt;&lt;BR /&gt;    &amp;lt;/tt:group&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;BR /&gt;Unfortunately, it does not compile because of
  &lt;BR /&gt;
  &lt;PRE&gt;&lt;CODE&gt;($INVL.PRICE.PRICE_AMOUNT &amp;gt; 0.00)&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;BR /&gt;the compiler complains 
  &lt;BR /&gt;
  &lt;PRE&gt;&lt;CODE&gt;not an integer: '0.00'&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;BR /&gt;the data type from PRICE_AMOUNT is CURR 23 2
  &lt;BR /&gt;What am I doing wrong?
  &lt;BR /&gt;Best regards</description>
      <pubDate>Tue, 10 Jan 2023 16:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-an-integer-0-00/m-p/12672597#M2016360</guid>
      <dc:creator>friendlycoder</dc:creator>
      <dc:date>2023-01-10T16:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: not an integer: '0.00'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-an-integer-0-00/m-p/12672598#M2016361</link>
      <description>&lt;P&gt;Packed constants &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenst_abap_representation.htm"&gt;must be wrapped within P(...)&lt;/A&gt;:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;tt:cond check="SOMETHING &amp;gt; P(0.00)"&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Jan 2023 16:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-an-integer-0-00/m-p/12672598#M2016361</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-01-10T16:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: not an integer: '0.00'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-an-integer-0-00/m-p/12672599#M2016362</link>
      <description>&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;&amp;lt;tt:cond check="$INVL.PRICE.PRICE_AMOUNT &amp;gt; P(0.00)"&amp;gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I have got XT: "Check failed in condition".&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 16:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-an-integer-0-00/m-p/12672599#M2016362</guid>
      <dc:creator>friendlycoder</dc:creator>
      <dc:date>2023-01-10T16:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: not an integer: '0.00'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-an-integer-0-00/m-p/12672600#M2016363</link>
      <description>&lt;P&gt;My answer corresponds to the question you had.&lt;/P&gt;&lt;P&gt;I can't help on runtime issues without context.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 17:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-an-integer-0-00/m-p/12672600#M2016363</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-01-10T17:07:58Z</dc:date>
    </item>
  </channel>
</rss>

