<?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_ALPHA_INPUT' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396073#M191888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In most cases when we fetch data from an external system and use the same for processing, say selecting a data from SAP it can fail as it is not in the format the way ABAP wants. For example checking an order is valid or not,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_Order = '2000000010'.&lt;/P&gt;&lt;P&gt;SELECT SINGLE AUFNR FROM AUFK INTO V_AUFNR WHERE AUFNR = V_Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above query can fail as the Order Number is not in the required format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if we pass and convert the same variable using the FM CONVERSION_EXIT_ALPHA_INPUT we will get the V_Order as '002000000010'. This is the internal format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are other converion exits for Date that will change &lt;/P&gt;&lt;P&gt;20060617 to 17.06.2006 and Vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search using CONVERSION_EXIT* you will get a lot of info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Kathir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Jun 2006 18:17:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-17T18:17:53Z</dc:date>
    <item>
      <title>'CONVERSION_EXIT_ALPHA_INPUT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396068#M191883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any body help me out in finding out the functionality of the function module 'CONVERSION_EXIT_ALPHA_INPUT'? what exactly does this FM does?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2006 10:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396068#M191883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-17T10:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: 'CONVERSION_EXIT_ALPHA_INPUT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396069#M191884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion exit ALPHA, external-&amp;gt;internal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALPHA conversion is used especially with account numbers. During conversion from the external to the internal format, the system checks to see if input in the INPUT field is purely numeric, that is, if this input consists only of numbers, possibly with spaces before and after them. If this is the case, then the number string is inserted right- justified in the display field OUTPUT and all spaces to the left of the value are filled with zeroes ('0'). If the input is not purely numeric, it is inserted in the display field from left to right and all extra spaces are filled with blanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Input field and output field are both eight characters in length)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. '1234    ' --&amp;gt; '00001234'&lt;/P&gt;&lt;P&gt;2. 'ABCD    ' --&amp;gt; 'ABCD    '&lt;/P&gt;&lt;P&gt;3. ' 1234   ' --&amp;gt; '00001234'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion from the internal to the external format (function module CONVERSION_EXIT_ALPHA_OUTPUT) is undertaken in exactly the opposite manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Bharat Kumar Reddy.V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2006 10:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396069#M191884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-17T10:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: 'CONVERSION_EXIT_ALPHA_INPUT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396070#M191885</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;Conversion exit ALPHA, external-&amp;gt;internal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALPHA conversion is used especially with account numbers. During conversion from the external to the internal format, the system checks to see if input in the INPUT field is purely numeric, that is, if this input consists only of numbers, possibly with spaces before and after them. If this is the case, then the number string is inserted right- justified in the display field OUTPUT and all spaces to the left of the value are filled with zeroes ('0'). If the input is not purely numeric, it is inserted in the display field from left to right and all extra spaces are filled with blanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Input field and output field are both eight characters in length)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. '1234    ' --&amp;gt; '00001234'&lt;/P&gt;&lt;P&gt;2. 'ABCD    ' --&amp;gt; 'ABCD    '&lt;/P&gt;&lt;P&gt;3. ' 1234   ' --&amp;gt; '00001234'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion from the internal to the external format (function module CONVERSION_EXIT_ALPHA_OUTPUT) is undertaken in exactly the opposite manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points If it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Gunjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2006 10:55:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396070#M191885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-17T10:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: 'CONVERSION_EXIT_ALPHA_INPUT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396071#M191886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when u enter the same while viewing data from a database table the value entered in the field , are internally converted and based on that 0s are appended in the front and hence result is displayed..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2006 10:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396071#M191886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-17T10:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: 'CONVERSION_EXIT_ALPHA_INPUT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396072#M191887</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;CONVERSION_EXIT_ALPHA_INPUT is mostly used when you input values, say MATNR. This is a character type field of length 18. So, if the value of MATNR is 1, it is stored as '00000000000000001'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to pad 0's, we use this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Navneeth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Reward points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2006 11:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396072#M191887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-17T11:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: 'CONVERSION_EXIT_ALPHA_INPUT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396073#M191888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In most cases when we fetch data from an external system and use the same for processing, say selecting a data from SAP it can fail as it is not in the format the way ABAP wants. For example checking an order is valid or not,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_Order = '2000000010'.&lt;/P&gt;&lt;P&gt;SELECT SINGLE AUFNR FROM AUFK INTO V_AUFNR WHERE AUFNR = V_Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above query can fail as the Order Number is not in the required format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if we pass and convert the same variable using the FM CONVERSION_EXIT_ALPHA_INPUT we will get the V_Order as '002000000010'. This is the internal format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are other converion exits for Date that will change &lt;/P&gt;&lt;P&gt;20060617 to 17.06.2006 and Vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search using CONVERSION_EXIT* you will get a lot of info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Kathir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2006 18:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396073#M191888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-17T18:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: 'CONVERSION_EXIT_ALPHA_INPUT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396074#M191889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;What is Conversion Programs?&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion takes place when converting the contents of a screen field from display format to SAP-internal format and vice versa and when outputting with the ABAP statement WRITE, depending on the data type of the field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If standard conversion is not suitable, it can be overridden by specifying a conversion routine in the underlying domain. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A conversion routine is identified by its five-place name and is stored as a group of two function modules.  &lt;/P&gt;&lt;P&gt;The function modules have a fixed naming convention. &lt;/P&gt;&lt;P&gt;The following function modules are assigned to conversion routine &amp;lt;b&amp;gt;xxxxx&amp;lt;/b&amp;gt;: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CONVERSION_EXIT_xxxxx_INPUT &lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_xxxxx_OUTPUT&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The INPUT module performs the conversion from display format to internal format. The OUTPUT module performs &lt;/P&gt;&lt;P&gt;the conversion from internal format to display format.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a screen field refers to a domain with a conversion routine, this conversion routine is executed automatically each time an entry is made in this screen field or when values are displayed with this screen field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg. refer to the vbak table.  &lt;/P&gt;&lt;P&gt;Go to SE11 -&amp;gt; VBAK -&amp;gt; Display mode -&amp;gt; double click on the data element VBELN_VA  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on the domain VBELN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find the conversion routine in the Output characteristics.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the FM Documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;FU CONVERSION_EXIT_ALPHA_INPUT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;Conversion exit ALPHA, external-&amp;gt;internal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALPHA conversion is used especially with account numbers. During conversion from the external to the internal format, the system checks to see if input in the INPUT field is purely numeric, that is, if this input consists only of numbers, possibly with spaces before and after them. If this is the case, then the number string is inserted right- justified in the display field OUTPUT and all spaces to the left of the value are filled with zeroes ('0'). If the input is not purely numeric, it is inserted in the display field from left to right and all extra spaces are filled with blanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Example:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Input field and output field are both eight characters in length)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. '1234    ' --&amp;gt; '00001234'&lt;/P&gt;&lt;P&gt;2. 'ABCD    ' --&amp;gt; 'ABCD    '&lt;/P&gt;&lt;P&gt;3. ' 1234   ' --&amp;gt; '00001234'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion from the internal to the external format (function module CONVERSION_EXIT_ALPHA_OUTPUT) is undertaken in exactly the opposite manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun Sambargi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Arun Sambargi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Jun 2006 11:48:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396074#M191889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-18T11:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: 'CONVERSION_EXIT_ALPHA_INPUT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396075#M191890</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;Why is it unable to convert "*00" or "@46"&lt;/P&gt;&lt;P&gt;of this type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 06:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396075#M191890</guid>
      <dc:creator>VijayCR</dc:creator>
      <dc:date>2012-10-25T06:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: 'CONVERSION_EXIT_ALPHA_INPUT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396076#M191891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The main purpose of this conversion-exit is to enable coexistence and correct sorting of alphabetic (text) and numeric values in a single field. So text field (not only numbers and space) are left adjusted with space trainling padding, when numeric values are right adjusted with zero leading padding, and nothing more.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;When converting from an external into an internal format this checks whether the entry in the INPUT field is wholly numerical, whether it consists of digits only, possibly with blank spaces before and/or after.&amp;nbsp;&amp;nbsp; If yes, the sequence of digits is copied to the OUTPUT field, right-aligned, and the space on the left is filled with zeros (‘0’). Otherwise the sequence of digits is copied to the output field from left to right and the space to the right remains blank.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 07:20:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396076#M191891</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-10-25T07:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: 'CONVERSION_EXIT_ALPHA_INPUT'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396077#M191892</link>
      <description>&lt;P&gt;Will it take Decimal values like 15.000 ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 05:22:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/1396077#M191892</guid>
      <dc:creator>das_shubhashish</dc:creator>
      <dc:date>2021-05-19T05:22:06Z</dc:date>
    </item>
  </channel>
</rss>

