<?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: Decimals in Smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871128#M366731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that the decimla numbers are configured on a table, there could be many different values, not just 2 and 4, that was just an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is the equivalent of&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;WRITE var1 DECIMALS var_dec&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;where var_dec has the number of decimals that come from the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx &lt;/P&gt;&lt;P&gt;Jesus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jan 2007 13:21:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-12T13:21:13Z</dc:date>
    <item>
      <title>Decimals in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871122#M366725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all. &lt;/P&gt;&lt;P&gt;I have some variables on a smartform, but the decimals are specified dynamically on a table, for instance, the table tells me that a fields must be printed with 2 decimals, other field with 4 decimals, and so on. &lt;/P&gt;&lt;P&gt;How can I print those fields with dynamic decimals?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jesus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 11:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871122#M366725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T11:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871123#M366726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;amp;itab-field1(.2)&amp;amp;-------&amp;gt;two decimal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;itab-field2(.4)&amp;amp;------&amp;gt;four decimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 11:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871123#M366726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T11:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871124#M366727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishan.&lt;/P&gt;&lt;P&gt;Thank you for your answer, but that would work if I know the decimals..... the thing is that they are specified dynamically, so I would need to do something like &amp;amp;itab-field1(.N)&amp;amp;, where N is the number of decimals.&lt;/P&gt;&lt;P&gt;I tried this on the smartform, but it is not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jesus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 12:04:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871124#M366727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T12:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871125#M366728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;itab1-field(C.2)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 12:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871125#M366728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T12:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871126#M366729</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;have different variables with all kinds of decimal points (like var1 with decimals 2, var2 with decimals 4 etc). Fill the field value in any one of these variables depending upon your condition &amp;amp; display the same with a condition (use 'conditions' tab).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 12:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871126#M366729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T12:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871127#M366730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jesus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as kishan told... you can explicitily give the Decimal number like &amp;amp;v_numb(.2)&amp;amp; or &lt;/P&gt;&lt;P&gt;&amp;amp;v_numb(.4)&amp;amp;...&lt;/P&gt;&lt;P&gt;how many decimal  V_numb contains? and there should on condition to print 2 dicmals or 4 decimals...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wht i suggest you is create two textelments... on is withe (.4) and another one with (.2)... then in Condition tab of the textelemten give the condtion..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want more clear info... plese expliain on which condtion you want that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please Close this thread.. when u r problem ise solved&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Reward if Helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Naresh Reddy K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 13:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871127#M366730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T13:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871128#M366731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that the decimla numbers are configured on a table, there could be many different values, not just 2 and 4, that was just an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is the equivalent of&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;WRITE var1 DECIMALS var_dec&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;where var_dec has the number of decimals that come from the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx &lt;/P&gt;&lt;P&gt;Jesus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 13:21:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871128#M366731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T13:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871129#M366732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if it is the case the values will be printed as it is... still yopu face any problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you do on thing ... before printing the value create program lines &amp;lt;b&amp;gt;move the Value to cahracter format Varialble..&amp;lt;/b&amp;gt; so that you can print.. as you want..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Naresh Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 13:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimals-in-smartforms/m-p/1871129#M366732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T13:34:41Z</dc:date>
    </item>
  </channel>
</rss>

