<?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: Smartform - Format quantity field - CIZ in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-format-quantity-field-ciz/m-p/4001567#M956091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Joyjit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still cant beleive, Smart forms dont have any short cut to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those 3 (CIZ) were such beautiful commands.. Smart forms is the advanced version of sapscripts, and ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be some other short cut..other than writing code for each and every currency and quantity fields..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much for your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2008 20:31:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-18T20:31:16Z</dc:date>
    <item>
      <title>Smartform - Format quantity field - CIZ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-format-quantity-field-ciz/m-p/4001565#M956089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a quantity field which has a value 11.000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to print it as 11 (no trailing zeroes ). But if the quantity is 11.23, then it shud print 11.23.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To acheive this, In sapscript, We used to write the quantity field with a C in bracket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg. &amp;amp;CAUFVD-GAMNG(C)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How Could I acheive this same functionality in smart forms ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I beleive CIZ shud work in smartforms also..but unfortunately it is not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i missing something.. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 19:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-format-quantity-field-ciz/m-p/4001565#M956089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T19:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform - Format quantity field - CIZ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-format-quantity-field-ciz/m-p/4001566#M956090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I donot think control commands are possible in Smartform like in sapscript. You have to create a program lines node and there u can write ur logic to meet this requirment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: val type p decimals 3 value '10.230'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_char type c  length 10.&lt;/P&gt;&lt;P&gt;data: l_whole_no type c length 10.&lt;/P&gt;&lt;P&gt;data: l_decimal type c length 3.&lt;/P&gt;&lt;P&gt;l_char = val.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split l_char at '.' into l_whole_no l_decimal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if l_decimal = '000'.&lt;/P&gt;&lt;P&gt; l_char = l_whole_no.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 19:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-format-quantity-field-ciz/m-p/4001566#M956090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T19:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform - Format quantity field - CIZ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-format-quantity-field-ciz/m-p/4001567#M956091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Joyjit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still cant beleive, Smart forms dont have any short cut to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those 3 (CIZ) were such beautiful commands.. Smart forms is the advanced version of sapscripts, and ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be some other short cut..other than writing code for each and every currency and quantity fields..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much for your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 20:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-format-quantity-field-ciz/m-p/4001567#M956091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T20:31:16Z</dc:date>
    </item>
  </channel>
</rss>

