<?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: Output Length in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297377#M1989929</link>
    <description>&lt;P&gt;hmm.. doesn't make sense.&lt;/P&gt;&lt;P&gt;When I try to create new Domain (Data Type DEC, No. Char 20, Decimal Places 10), and change the Output Length to 33, it says:&lt;/P&gt;&lt;P&gt;"Output Length (33) is greater than the calculated output length (24)"&lt;/P&gt;&lt;P&gt;Please help how can I achieve the Output Length more than 23 Char?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2020 00:11:26 GMT</pubDate>
    <dc:creator>phil_moh</dc:creator>
    <dc:date>2020-10-05T00:11:26Z</dc:date>
    <item>
      <title>Output Length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297370#M1989922</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;In my SAB BW -&amp;gt;SE11 -&amp;gt;Domain -&amp;gt;RSKYFFLO, I have the following:&lt;/P&gt;
  &lt;P&gt;Data Type = FLTP&lt;/P&gt;
  &lt;P&gt;No. Char = 16&lt;/P&gt;
  &lt;P&gt;Dec. Place = 16&lt;/P&gt;
  &lt;P&gt;Output Length = 23&lt;/P&gt;
  &lt;P&gt;Is the total number of char display on output is only 23?? If yes, then what's the point for us to have 16 Char, 16 Decimal Place which is 32 char in total?&lt;/P&gt;
  &lt;P&gt;I also notice that when we store the value using FLTP, the value in the DB is always divide by 10. i.e. value is 1.5678&lt;/P&gt;
  &lt;P&gt;when I display this on the report, the value is 15.678, which is correct. Why it is store as 1.5678 in DB?&lt;/P&gt;
  &lt;P&gt;Please advise, thanks. &lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 11:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297370#M1989922</guid>
      <dc:creator>phil_moh</dc:creator>
      <dc:date>2020-10-01T11:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Output Length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297371#M1989923</link>
      <description>&lt;P&gt;It's not 32 char, it's 23 char.&lt;/P&gt;&lt;P&gt;If it's FLTP, ignore 16 (a dummy number to mean 16 significant digits, but it's not used by the system).&lt;/P&gt;&lt;P&gt;Floating point numbers, as in any other language, are "always" expressed with one digit before the decimal point by convention, and then the &lt;STRONG&gt;exponent&lt;/STRONG&gt; after "E" which tells you where the decimal point really is.&lt;/P&gt;&lt;P&gt;1.5678E+1 means 15.678&lt;/P&gt;&lt;P&gt;1.5678E+4 means 15678&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 12:05:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297371#M1989923</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-10-01T12:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Output Length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297372#M1989924</link>
      <description>&lt;UL&gt;
&lt;LI&gt;1.5678E+0 means 1.5678&lt;/LI&gt;&lt;LI&gt;1.5678E-2 means 0.015678&lt;/LI&gt;&lt;LI&gt;-1.5678E-1 means -0.15678&lt;/LI&gt;&lt;LI&gt;-1.5678E+10 means -15678000000&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 01 Oct 2020 12:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297372#M1989924</guid>
      <dc:creator>michael_piesche</dc:creator>
      <dc:date>2020-10-01T12:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Output Length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297373#M1989925</link>
      <description>&lt;P&gt;Thanks all, so it is something done automatically to store as following in the DB?&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;1.5678E+0 means 1.5678&lt;/LI&gt;&lt;LI&gt;1.5678E-2 means 0.015678&lt;/LI&gt;&lt;LI&gt;-1.5678E-1 means -0.15678&lt;/LI&gt;&lt;LI&gt;-1.5678E+10 means -1567800000&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So it is not 32 Char, it only has total 23 Char that we can display on the output? In that case if I have bigger number, i.e. 2,535,786,553.38766234521, how can I achieve this?&lt;/P&gt;&lt;P&gt;I tried using above FLTP, I only got this on result output: 2,535,786,553.38766234 (I missing the last 3 digit 521).&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 00:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297373#M1989925</guid>
      <dc:creator>phil_moh</dc:creator>
      <dc:date>2020-10-02T00:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Output Length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297374#M1989926</link>
      <description>&lt;P&gt;Q1: you don't have to do anything special, it's done automatically.&lt;/P&gt;&lt;P&gt;Q2: yes it's 23 characters reserved in the output, see the minimum value (I have a little doubt because it should have one more digit which makes 24 characters):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;-1.797693134862316E+308&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Q3: as you can read in ABAP documentation, it says that FLTP has "accuracy of at least 15 places. 17 places are represented in ABAP". You want 21 significant digits (accuracy). You may use one of these 2 ABAP types: P which has up to 31 significant digits with a maximum of 14 digits after decimal point, or DECFLOAT34 which has 34 significant digits (exponent up to -/+6000). If you have the choice, I'd recommend P type because it's better integrated in database.&lt;/P&gt;&lt;P&gt;See ABAP doc for exact information.&lt;/P&gt;&lt;P&gt;Why do you need this precision?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 04:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297374#M1989926</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-10-02T04:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Output Length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297375#M1989927</link>
      <description>&lt;P&gt;In that case, if we can increase the Output Length to 32, the FLTP will support my requirement then, correct? How can I do that?&lt;/P&gt;&lt;P&gt;I need this because when I total all the transaction, the total value is 2,535,786,553.38766234521. Because of the 23 Output Length, I got only 2,535,786,553.38766234 (missing the last 3 digit 521).&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 13:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297375#M1989927</guid>
      <dc:creator>phil_moh</dc:creator>
      <dc:date>2020-10-02T13:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Output Length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297376#M1989928</link>
      <description>&lt;P&gt;No, the system cannot store more than around 16 significant digits, so it cannot display more than what is stored. If you increase the output length, it will only display blanks.&lt;/P&gt;&lt;P&gt;It's not because of the 23 output length that the number is truncated, it's because of storage in memory/in database.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 13:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297376#M1989928</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-10-02T13:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Output Length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297377#M1989929</link>
      <description>&lt;P&gt;hmm.. doesn't make sense.&lt;/P&gt;&lt;P&gt;When I try to create new Domain (Data Type DEC, No. Char 20, Decimal Places 10), and change the Output Length to 33, it says:&lt;/P&gt;&lt;P&gt;"Output Length (33) is greater than the calculated output length (24)"&lt;/P&gt;&lt;P&gt;Please help how can I achieve the Output Length more than 23 Char?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 00:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297377#M1989929</guid>
      <dc:creator>phil_moh</dc:creator>
      <dc:date>2020-10-05T00:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Output Length</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297378#M1989930</link>
      <description>&lt;P&gt;What "doesn't make sense"?&lt;/P&gt;&lt;P&gt;By the way, type "P" is the ABAP type corresponding to DDIC types DEC, CURR, QUAN, as explained in the ABAP doc.&lt;/P&gt;&lt;P&gt;If you have a DDIC type DEC of length 20, it means total 20 digits maximum, including decimals, but you want 23. What you defined is 10 digits before decimal point and 10 digits after decimal point.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 03:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-length/m-p/12297378#M1989930</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-10-05T03:51:00Z</dc:date>
    </item>
  </channel>
</rss>

