<?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 how to declare decimal point variable in smart forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-decimal-point-variable-in-smart-forms/m-p/4203961#M1004745</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;in smart forms ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;global definitions &lt;/P&gt;&lt;P&gt;how to declare decimal point variable plz &lt;/P&gt;&lt;P&gt;explain with example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: rajeshreddy 007 on Jul 19, 2008 10:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Jul 2008 08:13:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-19T08:13:22Z</dc:date>
    <item>
      <title>how to declare decimal point variable in smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-decimal-point-variable-in-smart-forms/m-p/4203961#M1004745</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;in smart forms ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;global definitions &lt;/P&gt;&lt;P&gt;how to declare decimal point variable plz &lt;/P&gt;&lt;P&gt;explain with example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: rajeshreddy 007 on Jul 19, 2008 10:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2008 08:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-decimal-point-variable-in-smart-forms/m-p/4203961#M1004745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-19T08:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to declare decimal point variable in smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-decimal-point-variable-in-smart-forms/m-p/4203962#M1004746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get a Decimal point variable in smart form just refer your field to a dictionary field which is of type CURR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if you want for currency field you can define a global variable like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;w_price   type   sflight-price.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table Sflight the field Price is of type &lt;STRONG&gt;CURR&lt;/STRONG&gt; and has 2 Decimal points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have to define your own type just click on the Types Tab in global definitions. write this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types :&lt;/P&gt;&lt;P&gt;  type_s_price type p decimals 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in Global Data Tab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;w_price   type   type_s_price&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: NagaSwapna Thota on Jul 19, 2008 10:23 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2008 08:19:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-decimal-point-variable-in-smart-forms/m-p/4203962#M1004746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-19T08:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to declare decimal point variable in smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-decimal-point-variable-in-smart-forms/m-p/4203963#M1004747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rajeshreddy, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global Defination ==&amp;gt; Global Data Tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;dec_var TYPE  VBAK-VBEAF &lt;/SPAN&gt;==&amp;gt; For DEC  Lenght 5 Decimalplacess 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;dec_var2 TYPE VBAK-STCUR &lt;/SPAN&gt;==&amp;gt; For DEC  Lenght 9 Decimalplacess 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE11 and there  u can search for the existing fields in some tables for ur need of type DEC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can create your own &lt;STRONG&gt;Data Element&lt;/STRONG&gt; according to ur requirement an use it as a TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg.. Create Dataelement name it as &lt;STRONG&gt;ZDEC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type : DEC&lt;/P&gt;&lt;P&gt;Give length : 10&lt;/P&gt;&lt;P&gt;Decimal places : 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u can use it in ur smartform Global Defination ==&amp;gt; Global Data Tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Var_3 TYPE ZDEC &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2008 08:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-declare-decimal-point-variable-in-smart-forms/m-p/4203963#M1004747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-19T08:45:16Z</dc:date>
    </item>
  </channel>
</rss>

