<?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: replacement for fuction CONVERSION_EXIT_ALPHA_INPUT SAP Function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943283#M1601009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks chen for your kind reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now its clear.. i thought i can do this way.. but im new to abap and had little confusion with the code.. im an abap resource but got into data migration project .. yesterday we had a training session on LSMW... we have used this fuction.but one of my collegue said that this fuction is changed by an abaper to some other code  format without using any function..i just got curious to know the another way.. thats why i have posted it here.. :). .thanks for spending your valuable time in answering me ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jun 2011 08:56:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-02T08:56:42Z</dc:date>
    <item>
      <title>replacement for fuction CONVERSION_EXIT_ALPHA_INPUT SAP Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943279#M1601005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi folks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do we have any replacement in terms of codes for the fuction &lt;STRONG&gt;CONVERSION_EXIT_ALPHA_INPUT&lt;/STRONG&gt; SAP Function module.. i know the use of this fuction module as it converts data in numeric format to character format which is only accpetable in SAP.. cant we do it manualy using the abap codes.. or else it is the only option to do so????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 08:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943279#M1601005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-02T08:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: replacement for fuction CONVERSION_EXIT_ALPHA_INPUT SAP Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943280#M1601006</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;Manually you could use the code as below&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: lv_lifnr TYPE lifnr VALUE '0000000945'.

SHIFT lv_lifnr LEFT DELETING LEADING 0.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;has the same effect as the function &lt;STRONG&gt;CONVERSION_EXIT_ALPHA_INPUT&lt;/STRONG&gt; but i would suggest using the function.&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;Isaac Prince&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 08:31:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943280#M1601006</guid>
      <dc:creator>prince_isaac</dc:creator>
      <dc:date>2011-06-02T08:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: replacement for fuction CONVERSION_EXIT_ALPHA_INPUT SAP Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943281#M1601007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the code seems to be like converting character format "00000951" to numeric format as "951".. you have asked to delete the leading zeroes nd shift to the left side.. i think i have got it right... so please revert me back on this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 08:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943281#M1601007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-02T08:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: replacement for fuction CONVERSION_EXIT_ALPHA_INPUT SAP Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943282#M1601008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess Isaac got a little confused, anyways try the below code, forgot to add...just curious to know the reason behind your post...any specific reason why you want to avoid the FMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: l_vbeln TYPE vbeln VALUE '12345',
      l_overlay TYPE vbeln VALUE '0000000000'.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    input         = l_vbeln
 IMPORTING
   OUTPUT        = l_vbeln.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
  EXPORTING
    input         = l_vbeln
 IMPORTING
   OUTPUT        = l_vbeln.

* Code to replace Conversion exit alpha input
SHIFT l_vbeln RIGHT DELETING TRAILING space.
OVERLAY l_vbeln WITH l_overlay.

* Code to replace Conversion exit alpha output
SHIFT l_vbeln LEFT DELETING LEADING '0'.
IF sy-subrc EQ 0.

ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chen K V on Jun 2, 2011 2:17 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chen K V on Jun 2, 2011 2:18 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 08:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943282#M1601008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-02T08:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: replacement for fuction CONVERSION_EXIT_ALPHA_INPUT SAP Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943283#M1601009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks chen for your kind reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now its clear.. i thought i can do this way.. but im new to abap and had little confusion with the code.. im an abap resource but got into data migration project .. yesterday we had a training session on LSMW... we have used this fuction.but one of my collegue said that this fuction is changed by an abaper to some other code  format without using any function..i just got curious to know the another way.. thats why i have posted it here.. :). .thanks for spending your valuable time in answering me ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 08:56:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943283#M1601009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-02T08:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: replacement for fuction CONVERSION_EXIT_ALPHA_INPUT SAP Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943284#M1601010</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;You can try this, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it is not a smart solution, but i can think only this... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: w_text_1(100) VALUE '123LOKESH37647TAREY'.

         REPLACE ALL OCCURRENCES OF '0' IN w_text_1 WITH ' '.
         REPLACE ALL OCCURRENCES OF '1' IN w_text_1 WITH ' '.
         REPLACE ALL OCCURRENCES OF '2' IN w_text_1 WITH ' '.
         REPLACE ALL OCCURRENCES OF '3' IN w_text_1 WITH ' '.
         REPLACE ALL OCCURRENCES OF '4' IN w_text_1 WITH ' '.
         REPLACE ALL OCCURRENCES OF '5' IN w_text_1 WITH ' '.
         REPLACE ALL OCCURRENCES OF '6' IN w_text_1 WITH ' '.
         REPLACE ALL OCCURRENCES OF '7' IN w_text_1 WITH ' '.
         REPLACE ALL OCCURRENCES OF '8' IN w_text_1 WITH ' '.
         REPLACE ALL OCCURRENCES OF '9' IN w_text_1 WITH ' '.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lokesh Tarey on Jun 2, 2011 11:01 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 09:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943284#M1601010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-02T09:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: replacement for fuction CONVERSION_EXIT_ALPHA_INPUT SAP Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943285#M1601011</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;Now im totaly confussed o_0..&lt;/P&gt;&lt;P&gt; Anyway wellcome to ABAP Kumar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prince Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 13:30:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replacement-for-fuction-conversion-exit-alpha-input-sap-function-module/m-p/7943285#M1601011</guid>
      <dc:creator>prince_isaac</dc:creator>
      <dc:date>2011-06-02T13:30:32Z</dc:date>
    </item>
  </channel>
</rss>

