<?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 Conversion Exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit/m-p/4527704#M1070191</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;    We have come across an issue that a conversion exit is not working for field LENUM in table LEIN.&lt;/P&gt;&lt;P&gt;can u please suggest the SAP note if any or any solution for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regrds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Sep 2008 06:50:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-27T06:50:45Z</dc:date>
    <item>
      <title>Conversion Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit/m-p/4527704#M1070191</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;    We have come across an issue that a conversion exit is not working for field LENUM in table LEIN.&lt;/P&gt;&lt;P&gt;can u please suggest the SAP note if any or any solution for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regrds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Sep 2008 06:50:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit/m-p/4527704#M1070191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-27T06:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit/m-p/4527705#M1070192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny Suren Chilievru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : V_CHAR20     TYPE CHAR20 VALUE '1234567890'.

  CALL FUNCTION 'CONVERSION_EXIT_LENUM_INPUT'
    EXPORTING
      INPUT                 = V_CHAR20
    IMPORTING
      OUTPUT                = V_CHAR20
    EXCEPTIONS
      CHECK_FAILED          = 1
      NOT_NUMERIC           = 2
      T344_GET_FAILED       = 3
      WRONG_LENGTH          = 4
      OTHERS                = 5.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  WRITE : /10 'Return value is', V_CHAR20.

  CALL FUNCTION 'CONVERSION_EXIT_LENUM_OUTPUT'
    EXPORTING
      INPUT                 = V_CHAR20
    IMPORTING
      OUTPUT                = V_CHAR20
    EXCEPTIONS
      T344_GET_FAILED       = 1
      OTHERS                = 2.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  WRITE : /10 'Return value is', V_CHAR20.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the output as follows;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  Return value is 00000000001234567890
  Return value is 1234567890
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It prefixes ZEROs and removes LEADING ZEROs.&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;R.Nagarajan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 02:10:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit/m-p/4527705#M1070192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T02:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit/m-p/4527706#M1070193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did u test this is ECC 6.0 version??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:05:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit/m-p/4527706#M1070193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:05:21Z</dc:date>
    </item>
  </channel>
</rss>

