<?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: ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/4477318#M1060226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CONVERSION_EXIT_ALPHA_INPUT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : test_field(11).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;input = '375'&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;output = test_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ test_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o/p : 00000000375&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2008 05:06:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-18T05:06:39Z</dc:date>
    <item>
      <title>ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/4477317#M1060225</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;I have this requirement.Suppose I have a number say 375 I need to have concatenate 8 zeroes in front so that the total number of digits is equal to 11.If the number is say 75,then I need to have 9 zeroes so that the total digits is still 11.The zeroes have to be at the front of 75.Can anyone tell how to do this using ABAP statements&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 05:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/4477317#M1060225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T05:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/4477318#M1060226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CONVERSION_EXIT_ALPHA_INPUT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : test_field(11).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;input = '375'&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;output = test_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ test_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o/p : 00000000375&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 05:06:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/4477318#M1060226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T05:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/4477319#M1060227</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;Use like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : lv_fieldval type numc11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_filedval = &amp;lt;Your input field value&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      input  = lv_fieldval&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      output = lv_fieldval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will helps&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 05:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/4477319#M1060227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T05:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/4477320#M1060228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;     we have a function module for that, the name is  'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;to use this declare a variable of required length and asign the value required and pass this to the given FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;DATA v(10) type c vlalue '123'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;EXPORTING input = v&lt;/P&gt;&lt;P&gt;       IMPORTING output = v.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here u get the value 0000000123 into variable V.&lt;/P&gt;&lt;P&gt;                              i think this meets ur requirement.&lt;/P&gt;&lt;P&gt;                       &lt;/P&gt;&lt;P&gt;                               Regards&lt;/P&gt;&lt;P&gt;                               Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 05:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/4477320#M1060228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T05:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/4477321#M1060229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;Pls find below the differences betweeen the two most frquently used coversion exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZTEST1 .&lt;/P&gt;&lt;P&gt;*removing the leading zeros in the character string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : d_char1(5) type c value '00013'.&lt;/P&gt;&lt;P&gt;data : d_char2(2) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    INPUT         = d_char1&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   OUTPUT        = d_char2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   write : d_char2.&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*adding the leading zeros in the character string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    INPUT         = d_char2&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;    OUTPUT        = d_char1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; d_char1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output wud lok like as&lt;/P&gt;&lt;P&gt;13    &lt;/P&gt;&lt;P&gt;00013 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Senthil..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 06:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/4477321#M1060229</guid>
      <dc:creator>senthilnathan_natarajan2</dc:creator>
      <dc:date>2008-09-18T06:51:10Z</dc:date>
    </item>
  </channel>
</rss>

