<?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 Routines in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671520#M616846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sourav...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can find the Conversion Routine of any field in its Domain.&lt;/P&gt;&lt;P&gt;For eg : MARA-MATNR &lt;/P&gt;&lt;P&gt;Open its domain MATNR .&lt;/P&gt;&lt;P&gt;You can find the Conversion routine MATN1 is assigned here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Conversion Routine&amp;lt;/b&amp;gt; It is used to Convert data from SAP internal format to Display format and Vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every Conversion Routine is a Set of Two Function modules &lt;/P&gt;&lt;P&gt;Naming:&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_&amp;lt;name&amp;gt;_INPUT&lt;/P&gt;&lt;P&gt;This FM converts the Data from External display format to internal Storage Format. (For eg Adding with LEADING ZERO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_&amp;lt;name&amp;gt;_OUTPUT&lt;/P&gt;&lt;P&gt;This FM converts the Data from internal Storage Format TO External display format (For eg Removing LEADING ZERO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg: Conversion Routine ALPHA.&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_INPUT&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2007 06:34:15 GMT</pubDate>
    <dc:creator>varma_narayana</dc:creator>
    <dc:date>2007-08-22T06:34:15Z</dc:date>
    <item>
      <title>Conversion Routines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671517#M616843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    How can you check whether a field has a conversion routine attached to it?What is meant by a conversion routine?can you site one example of a field which has a conversion routine attached to it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 05:55:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671517#M616843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T05:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Routines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671518#M616844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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. The function modules have a fixed naming convention. The following function modules are assigned to conversion routine xxxxx:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_xxxxx_INPUT&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_xxxxx_OUTPUT&lt;/P&gt;&lt;P&gt;The INPUT module performs the conversion from display format to internal format. The OUTPUT module performs 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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 06:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671518#M616844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T06:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Routines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671519#M616845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Conversion routine is link to the domain.&lt;/P&gt;&lt;P&gt;A domain is link to a data element&lt;/P&gt;&lt;P&gt;A field of a table could be link to the data element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So take a field of a table: for example MARA-MATNR. Go in the data element (SE11 -&amp;gt; Table : MARA; Display; double-click on the data element corresponding of the field MATNR (MATNR also)).&lt;/P&gt;&lt;P&gt;You could show the domain of the data element, and double click on it (MATNR also).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the screen of the domain (you could access directly using SE11 --&amp;gt; domain : MATNR), you show a converrsion routine : MATN1. If you double click; they give you 4 functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, what is a conversion routine : It's only the transformation of what you see and what is really in the database. MATNR is a good example, because you show a material number for example 123456 bu in fact, in the database, it's store as 00000000000123456. &lt;/P&gt;&lt;P&gt;The function CONVERSION_EXIT_MATN1_INPUT convert 123456 to 000000000000123456&lt;/P&gt;&lt;P&gt;-&amp;gt; Conversion of what a user ask to SAP to what SAP need to use in the database.&lt;/P&gt;&lt;P&gt;The function CONVERSION_EXIT_MATN1_OUTPUT convert 000000000000123456 to 123456.&lt;/P&gt;&lt;P&gt;-&amp;gt; Conversion of what SAP used to what the user must see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you go in SE16, you could select in the parameters user; to show or not the field exit, that means, if you select, you will show the long version of the material number if you unselect your will show the short one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 06:13:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671519#M616845</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2007-08-22T06:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Routines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671520#M616846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sourav...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can find the Conversion Routine of any field in its Domain.&lt;/P&gt;&lt;P&gt;For eg : MARA-MATNR &lt;/P&gt;&lt;P&gt;Open its domain MATNR .&lt;/P&gt;&lt;P&gt;You can find the Conversion routine MATN1 is assigned here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Conversion Routine&amp;lt;/b&amp;gt; It is used to Convert data from SAP internal format to Display format and Vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every Conversion Routine is a Set of Two Function modules &lt;/P&gt;&lt;P&gt;Naming:&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_&amp;lt;name&amp;gt;_INPUT&lt;/P&gt;&lt;P&gt;This FM converts the Data from External display format to internal Storage Format. (For eg Adding with LEADING ZERO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_&amp;lt;name&amp;gt;_OUTPUT&lt;/P&gt;&lt;P&gt;This FM converts the Data from internal Storage Format TO External display format (For eg Removing LEADING ZERO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg: Conversion Routine ALPHA.&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_INPUT&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 06:34:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671520#M616846</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-22T06:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Routines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671521#M616847</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 routines are attached to the domain of a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just go to the domain and there you will see under the Output Characterstics block, the conversion routine for that domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex, mara has Conv routine MATN1 attached to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion Routine&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. The function modules have a fixed naming convention. The following function modules are assigned to conversion routine xxxxx:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_xxxxx_INPUT&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_xxxxx_OUTPUT&lt;/P&gt;&lt;P&gt;The INPUT module performs the conversion from display format to internal format. The OUTPUT module performs 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;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Reward if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 07:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671521#M616847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T07:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Routines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671522#M616848</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;Please test the below Function module(SM37)  how it works for the field Material&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_MATN1_INPUT    Function Module for Material Number Conversion (INPUT)  &lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_MATN1_OUTPUT   Function Module for Material Number Conversion (OUTPUT) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;K K V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 07:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routines/m-p/2671522#M616848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T07:22:05Z</dc:date>
    </item>
  </channel>
</rss>

