<?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/3494316#M840439</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;If you want to trim the 0's before displaying then use&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;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
  EXPORTING
    input         = v_matnr
  IMPORTING
    OUTPUT        = v_matnr
          . &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 12:43:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-12T12:43:21Z</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/3494310#M840433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi mates,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when using 'conversion_exit_alpha_input' before select queries. whether it wil add 0's to the output, or trips the prefixed 0's in output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;manoharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 12:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/3494310#M840433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T12:25:36Z</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/3494311#M840434</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;Yes you can do that before selection ....&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    input         = v_matnr
  IMPORTING
    OUTPUT        = v_matnr
          .

 select single * from mara where matnr = v_matnr. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 12:28:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/3494311#M840434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T12:28:57Z</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/3494312#M840435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi thanks for ur reply, but whether it wil add 0's to the output, or trims the prefixed 0's in output.&lt;/P&gt;&lt;P&gt;&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;manoharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 12:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/3494312#M840435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T12:32:50Z</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/3494313#M840436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you use the same field in output then it will add leading 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 12:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/3494313#M840436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T12:34:37Z</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/3494314#M840437</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;populate the value to type n variable of same length ... it holds the leading zeros ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 12:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/3494314#M840437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T12:37: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/3494315#M840438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The FM will add 0 before the field.&lt;/P&gt;&lt;P&gt;Like if Material no. 12 it will add 16  0's before 12&lt;/P&gt;&lt;P&gt;ex.00000000012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM &lt;STRONG&gt;Conversion &lt;U&gt;exit&lt;/U&gt;alpha_output&lt;/STRONG&gt; will trim leading 0.&lt;/P&gt;&lt;P&gt;It converts any number with zeroes right into a simple integer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 12:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/3494315#M840438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T12:41:01Z</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/3494316#M840439</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;If you want to trim the 0's before displaying then use&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;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
  EXPORTING
    input         = v_matnr
  IMPORTING
    OUTPUT        = v_matnr
          . &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 12:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/3494316#M840439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T12:43: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/3494317#M840440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FU CONVERSION_EXIT_ALPHA_INPUT                                                                                &lt;/P&gt;&lt;P&gt;____________________________________________________                                                                                &lt;/P&gt;&lt;P&gt;Short text                                                                                &lt;/P&gt;&lt;P&gt;Conversion exit ALPHA, external-&amp;gt;internal                                                                                &lt;/P&gt;&lt;P&gt;ALPHA conversion is used especially with account numbers. During           &lt;/P&gt;&lt;P&gt;    conversion from the external to the internal format, the system checks     &lt;/P&gt;&lt;P&gt;    to see if input in the INPUT field is purely numeric, that is, if this     &lt;/P&gt;&lt;P&gt;    input consists only of numbers, possibly with spaces before and after      &lt;/P&gt;&lt;P&gt;    them. If this is the case, then the number string is inserted right-       &lt;/P&gt;&lt;P&gt;    justified in the display field OUTPUT and all spaces to the left of the    &lt;/P&gt;&lt;P&gt;    value are filled with zeroes ('0'). If the input is not purely numeric,    &lt;/P&gt;&lt;P&gt;    it is inserted in the display field from left to right and all extra       &lt;/P&gt;&lt;P&gt;    spaces are filled with blanks.                                                                                &lt;/P&gt;&lt;P&gt;Example:                                                                                &lt;/P&gt;&lt;P&gt;(Input field and output field are both eight characters in length)                                                                                &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;Conversion from the internal to the external format (function module       &lt;/P&gt;&lt;P&gt;    CONVERSION_EXIT_ALPHA_OUTPUT) is undertaken in exactly the opposite        &lt;/P&gt;&lt;P&gt;    manner.                                                                                &lt;/P&gt;&lt;P&gt;Parameter                                                                                &lt;/P&gt;&lt;P&gt;INPUT                                                                      &lt;/P&gt;&lt;P&gt;    OUTPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 12:45:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-alpha-input/m-p/3494317#M840440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T12:45:24Z</dc:date>
    </item>
  </channel>
</rss>

