<?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 routine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250127#M775950</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;check PROJ table. PSPNR has the conversion routine. U can find it in domain of PSPNR field. Name is KONPD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PSPNR has data length as 8. Internally it has some other value w.r.t. original value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u want to display original value follow this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call conversion_exit_&lt;STRONG&gt;KONPD&lt;/STRONG&gt;_output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export to FM itab-pspnr(8).&lt;/P&gt;&lt;P&gt;Import to program itab-pspnr(24).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subbu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Dec 2007 11:56:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-31T11:56:29Z</dc:date>
    <item>
      <title>conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250124#M775947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could anyone plz tell me what are Conversion routines?How they are used?Where they are used with an example?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 11:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250124#M775947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T11:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250125#M775948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi chandipriya,&lt;/P&gt;&lt;P&gt;                  These are used for padding zeros at the first and also filter zeros at end.we have to conversion routines,They are&lt;/P&gt;&lt;P&gt;1.converion_exit_alpha_input.&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;&lt;/P&gt;&lt;P&gt;2.CONVERSION_EXIT_ALPHA_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reversing conversion undertaken by function module CONVERSION_EXIT_ALPHA_INPUT. The contents of the INPUT field are converted to display format and placed in the OUTPUT field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;1.'00001234' -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;  1234.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Award points if helpful&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Kiran Kumar.g&lt;/P&gt;&lt;P&gt;                   &lt;EM&gt;Have a Nice Day..&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 11:52:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250125#M775948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T11:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250126#M775949</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;u can find the conversion routine of a field in its domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is used to convert the values entered to the form that will be stored in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say for language we enter EN it gets stored as E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 11:54:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250126#M775949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T11:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250127#M775950</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;check PROJ table. PSPNR has the conversion routine. U can find it in domain of PSPNR field. Name is KONPD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PSPNR has data length as 8. Internally it has some other value w.r.t. original value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u want to display original value follow this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call conversion_exit_&lt;STRONG&gt;KONPD&lt;/STRONG&gt;_output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export to FM itab-pspnr(8).&lt;/P&gt;&lt;P&gt;Import to program itab-pspnr(24).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subbu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 11:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250127#M775950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T11:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250128#M775951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&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 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;&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;check this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/2b/e9a20d3347b340946c32331c96a64e/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/2b/e9a20d3347b340946c32331c96a64e/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 12:28:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250128#M775951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T12:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250129#M775952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversions - This type of transfer refers to a one-time transfer from a legacy system to the SAP system. In this case, the &amp;#147;legacy&amp;#148; system is the old system that is being replaced by the SAP system.&lt;/P&gt;&lt;P&gt;For example, the old system being replaced has data for 2,000 vendors that must be transferred to the SAP system.&lt;/P&gt;&lt;P&gt;Interfaces - This type of transfer refers to an ongoing transfer from a complimentary system to the SAP system. In this case, the &amp;#147;complimentary&amp;#148; system is a system that will run along side the SAP system.&lt;/P&gt;&lt;P&gt;For example, customer orders may be taken in another system. For the SAP system to reflect accurate information, these orders must be transferred to the SAP system every night.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC can be both interfaces or conversions depending upon the functionality above. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interfaces are needed when we need data from other than SAP envoronment and vise versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose aclient may send his business data through Excel sheet which are to be loaded in his SAP Tables.Then we need to use interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two Categogies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.From Presentation Layer to your ABAP Program(and then into Database table) &lt;/P&gt;&lt;P&gt;Presentation layer means from your sytem (from C, drives)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.From application Server to your ABAP Program(and then into Database table) &lt;/P&gt;&lt;P&gt;Application Server means the server for your Sap System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first case you need to use:From Presentation Layer to your ABAP Program and vise versa)&lt;/P&gt;&lt;P&gt;GUI_UPLOAD to upload data,&lt;/P&gt;&lt;P&gt;GUI_DOWNLOAD to download data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Second case(From application Server to your ABAP Program and vise versa)&lt;/P&gt;&lt;P&gt;A.OPEN DATA SET FILE NAME ON APPL.SERVER FOR INPUT ENCODING BY DEFAULT. use tranfer command to send data to application server&lt;/P&gt;&lt;P&gt;B. CLOSE DATA SET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Hema Sundara.&lt;/P&gt;&lt;P&gt;pls give points if u find it helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 12:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250129#M775952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T12:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250130#M775953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using conversion routine we can padd the zero to the given field.for this use function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some of the function modules are like&lt;/P&gt;&lt;P&gt;converesion_alpha_routine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 13:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine/m-p/3250130#M775953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T13:23:20Z</dc:date>
    </item>
  </channel>
</rss>

