<?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: Conversion exit for field KUNNR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348429#M1231657</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;things to remember while using this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) all the characters of kunnr must be in numbers.&lt;/P&gt;&lt;P&gt;2) if their are any alphabates . this FM do not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2009 12:34:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-04T12:34:50Z</dc:date>
    <item>
      <title>Conversion exit for field KUNNR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348424#M1231652</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 want to convert the customer number from external format to internal format.(i.e) to add leading zeros to make it to 10 characters.&lt;/P&gt;&lt;P&gt;        I tried using the conversion exit 'CONVERSION_EXIT_ALPHA_INPUT' which is attached to the domain KUNNR but the output value is of length more than 10 characters.&lt;/P&gt;&lt;P&gt;        Please let me know the proper conversion exit to be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sivasubramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 12:14:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348424#M1231652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T12:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion exit for field KUNNR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348425#M1231653</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 tried this FM and it is working fine. It is giving only 10char in the output also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_kunnr type kunnr value '9123',&lt;/P&gt;&lt;P&gt;      l_kunnr1(10) type c.&lt;/P&gt;&lt;P&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  = l_kunnr&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     output = l_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_kunnr1 = l_kunnr.&lt;/P&gt;&lt;P&gt;write:/ l_kunnr1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keerthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keerthy K on Mar 4, 2009 1:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 12:19:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348425#M1231653</guid>
      <dc:creator>keerthy_k</dc:creator>
      <dc:date>2009-03-04T12:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion exit for field KUNNR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348426#M1231654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use do and enddo loop to add the number of zeroes how much you want...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; n = number of characters &lt;/P&gt;&lt;P&gt;Do n times&lt;/P&gt;&lt;P&gt;concatenate '0' with the field.&lt;/P&gt;&lt;P&gt;enddo .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 12:22:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348426#M1231654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T12:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion exit for field KUNNR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348427#M1231655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dude,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For any field you want to find out the conversion rotine : Process is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first go to the data element -&amp;gt; domain their u will find the converion rotine at definition tab..If you find any rotine then double click that you will find the FM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_INPUT    Conversion exit ALPHA, external-&amp;gt;internal&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_OUTPUT   Conversion exit ALPHA, internal-&amp;gt;external&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 12:22:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348427#M1231655</guid>
      <dc:creator>former_member632729</dc:creator>
      <dc:date>2009-03-04T12:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion exit for field KUNNR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348428#M1231656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simplest way to do this :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT test.

DATA: kunnr type char10 value '1234'."Use type char10 instead of KUNNR


CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    input         = kunnr
 IMPORTING
   OUTPUT        = kunnr
          .
write:kunnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 12:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348428#M1231656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T12:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion exit for field KUNNR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348429#M1231657</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;things to remember while using this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) all the characters of kunnr must be in numbers.&lt;/P&gt;&lt;P&gt;2) if their are any alphabates . this FM do not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 12:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-field-kunnr/m-p/5348429#M1231657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T12:34:50Z</dc:date>
    </item>
  </channel>
</rss>

