<?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: Allowing Decimals on Screen Painter imported Variable fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109183#M1815939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Activate the entire program and run the TCode once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arivazhagan S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Feb 2014 04:17:41 GMT</pubDate>
    <dc:creator>arivazhagan_sivasamy</dc:creator>
    <dc:date>2014-02-28T04:17:41Z</dc:date>
    <item>
      <title>Allowing Decimals on Screen Painter imported Variable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109179#M1815935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;I created this program using the screen painter, the program works but decimals don't work (doesn't allow them nor does the result screen use them) despite the fact that globally defined variables are defined with decimals like so:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;value1 &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;p &lt;SPAN class="L0S52"&gt;DECIMALS &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value2 &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;p &lt;SPAN class="L0S52"&gt;DECIMALS &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;p &lt;SPAN class="L0S52"&gt;DECIMALS &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;&lt;EM style="color: #0000ff;"&gt;.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #575757;"&gt;At this point I've set the imported fields as currency type. I dunno if theres anything I need do to the PAI module to make decimals work, but heres my coding on that anyway:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="color: #000000;"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;EM style="color: #0000ff;"&gt;&lt;SPAN class="L0S52"&gt;MODULE USER_COMMAND_0100 &lt;SPAN class="L0S52"&gt;INPUT&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;CASE &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;ucomm&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHEN &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'OPAD'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;value1 + value2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;leave &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;screen &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0200&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHEN &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'OPSU'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;value1 &lt;SPAN class="L0S70"&gt;- &lt;/SPAN&gt;value2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;leave &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;screen &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0200&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHEN &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'OPMU'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;value1 * value2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;leave &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;screen &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0200&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHEN &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'OPDI'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;value1 / value2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;leave &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;screen &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0200&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHEN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;others&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;leave &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;program&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;ENDCASE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;ENDMODULE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="color: #333333;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="color: #333333;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Am I doing anything wrong? Why are the decimals not working? Thanks in advance.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;EM style="color: #0000ff;"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 04:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109179#M1815935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-28T04:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing Decimals on Screen Painter imported Variable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109180#M1815936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to mention the data type as decimal in screen painter for the fields value1, value2 and value3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is, in attribute-&amp;gt; format -&amp;gt; select as DEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arivazhagan S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 04:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109180#M1815936</guid>
      <dc:creator>arivazhagan_sivasamy</dc:creator>
      <dc:date>2014-02-28T04:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing Decimals on Screen Painter imported Variable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109181#M1815937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you checked the attributes of screen painter's &amp;gt; Dict&amp;gt; Format &amp;gt; DEC ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 04:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109181#M1815937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-28T04:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing Decimals on Screen Painter imported Variable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109182#M1815938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;done that now, decimals not working still.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 04:14:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109182#M1815938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-28T04:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing Decimals on Screen Painter imported Variable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109183#M1815939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Activate the entire program and run the TCode once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arivazhagan S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 04:17:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109183#M1815939</guid>
      <dc:creator>arivazhagan_sivasamy</dc:creator>
      <dc:date>2014-02-28T04:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Allowing Decimals on Screen Painter imported Variable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109184#M1815940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ah its working now, thankyou &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/599/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 04:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/allowing-decimals-on-screen-painter-imported-variable-fields/m-p/10109184#M1815940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-28T04:20:42Z</dc:date>
    </item>
  </channel>
</rss>

