<?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: preceeding zeroes in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318223#M1835200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R u sure that the field that you used to print process order is AUFNR itself. Put a break point before printing this field in a program line and check whether the field is containing value with preceding zeros. If not use the FM CONVERSION_EXIT_ALPHA_OUTPUT to get the field with the order no. with preceding zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abijith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2014 06:04:06 GMT</pubDate>
    <dc:creator>former_member196651</dc:creator>
    <dc:date>2014-05-28T06:04:06Z</dc:date>
    <item>
      <title>preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318218#M1835195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to print AUFNR field value in a smartform. My requirement is to have preceeding zeros to be printed. Currently it prints like 1234, but i want it to be printed like 0000001234. I have used the formatting option (F0), but it is not working. Any other suggestions would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 05:56:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318218#M1835195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-28T05:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318219#M1835196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Smartform when displaying variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &amp;amp;var(Z)&amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " Z for supressing leading zeros&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 06:00:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318219#M1835196</guid>
      <dc:creator>naveenvishal</dc:creator>
      <dc:date>2014-05-28T06:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318220#M1835197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi&lt;/P&gt;&lt;P&gt;Add a abap process in your smartform loop, call this FM 'CONVERSION_EXIT_ALPHA_INPUT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Archer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 06:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318220#M1835197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-28T06:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318221#M1835198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nvaeen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you read my question? I want to have leading zeroes, not supressing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 06:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318221#M1835198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-28T06:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318222#M1835199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Archer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did that too. It doesnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 06:03:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318222#M1835199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-28T06:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318223#M1835200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R u sure that the field that you used to print process order is AUFNR itself. Put a break point before printing this field in a program line and check whether the field is containing value with preceding zeros. If not use the FM CONVERSION_EXIT_ALPHA_OUTPUT to get the field with the order no. with preceding zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abijith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 06:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318223#M1835200</guid>
      <dc:creator>former_member196651</dc:creator>
      <dc:date>2014-05-28T06:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318224#M1835201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Archer ? but your name is &lt;A __default_attr="567390" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Dengyong Zhang" href="https://community.sap.com/"&gt;&lt;/A&gt; right ? &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/868/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 06:05:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318224#M1835201</guid>
      <dc:creator>naveenvishal</dc:creator>
      <dc:date>2014-05-28T06:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318225#M1835202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhijith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the field is of type AUFNR. I have used conversion exits, but it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 06:05:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318225#M1835202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-28T06:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318226#M1835203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry i misunderstood.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can you can use unpack statement in driver program like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unpack &amp;lt;var&amp;gt; to &amp;lt;var&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 06:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318226#M1835203</guid>
      <dc:creator>naveenvishal</dc:creator>
      <dc:date>2014-05-28T06:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318227#M1835204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #000080; text-decoration: underline;"&gt;&amp;amp;aufnr(K)&amp;amp;&lt;/SPAN&gt;&lt;/SPAN&gt;, (*) that will deactivate the conversion-exit ALPHA attached to AUFNR, this ALPHA conversion-exit will remove leading zeroes as soon as the field contains only numeric characters (**).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NB: Of course, that supposes that the field value is already correct and contains the leading zero, if, b&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;y accident&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;misfortune or&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;mistake, the leading zero were previously removed, you should first regenerate correct value by reversing the conversion-exit with FM CONVERSION_EXIT_ALPHA_INPUT.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(*) Can be found in help.sap.com at &lt;A href="http://help.sap.com/erp2005_ehp_04/helpdata/en/1c/f40c6fddf311d3b574006094192fe3/content.htm"&gt;Output Options for Field Contents&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;(**) &lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;A href="http://help.sap.com/saphelp_em700_ehp01/helpdata/en/9b/f9c18f5a07f0459127e9676ae22a54/content.htm?frameset=/en/91/7db4007aaaf64b8193c09d54f7294c/frameset.htm&amp;amp;current_toc=/en/e3/e60138fede083de10000009b38f8cf/plain.htm&amp;amp;node_id=116"&gt;&lt;SPAN style="color: blue;"&gt;ALPHA Conversion Routine&lt;/SPAN&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 06:09:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318227#M1835204</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-05-28T06:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318228#M1835205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhijith,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use FM 'CONVERSION_EXIT_ALPHA_OUTPUT' for removing Leading Zero's in ABAP Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Mahesh R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 06:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318228#M1835205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-28T06:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318229#M1835206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked that the field is containing values with preceding zeros. If so, then check the text field where you are printing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abijith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 06:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318229#M1835206</guid>
      <dc:creator>former_member196651</dc:creator>
      <dc:date>2014-05-28T06:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: preceeding zeroes in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318230#M1835207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice Raymond! &lt;/P&gt;&lt;P&gt;An easy workaround could also be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;creating a global field type C &lt;/P&gt;&lt;P&gt;data: G_AUFNR(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then create an easy program line in routine before printing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G_AUFNR = AUFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then in text box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;G_AUFNR&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 08:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preceeding-zeroes-in-smartforms/m-p/10318230#M1835207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-04T08:48:04Z</dc:date>
    </item>
  </channel>
</rss>

