<?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: Regarding Internal Conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592725#M1436084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As you said, I tried using conversion exit input function module, But no use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jan 2010 07:56:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-25T07:56:12Z</dc:date>
    <item>
      <title>Regarding Internal Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592722#M1436081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       I have created one selection screen with one selection-options field. &lt;/P&gt;&lt;P&gt;Ex : select-options : s_bukrs for t001-bukrs.&lt;/P&gt;&lt;P&gt;here for this i am providing input as 100 to 110 range. And writing select statement like this,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;select * from t001 into table it_t001 where bukrs in s_bukrs.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;With this select statment i am getting 1000 company code information. But i didnt provide 1000 as an input on the selection screen, even though it is getting 1000 company code information.&lt;/P&gt;&lt;P&gt;The reason is when i am providing 100-110 range of input on the selection screen, it is converting internally as 0100-0110. Bcoz bukrs data type is char and size is 4. So how to perform internal conversion for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 07:14:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592722#M1436081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T07:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Internal Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592723#M1436082</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;Either concatenate zeros in front of the values &lt;/P&gt;&lt;P&gt;or the best way is to check for conversion routine for t001-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to se11 and check domain of bukrs in too1 table,&lt;/P&gt;&lt;P&gt;if there are any conversion routine then call them in your program also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after doing conversion only,&lt;/P&gt;&lt;P&gt;pass it in the select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds/Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 07:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592723#M1436082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T07:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Internal Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592724#M1436083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      input  = s_bukrs
    IMPORTING
      output = s_bukrs.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use before select query&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kumar Manas Mishra on Jan 25, 2010 8:41 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 07:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592724#M1436083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T07:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Internal Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592725#M1436084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As you said, I tried using conversion exit input function module, But no use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 07:56:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592725#M1436084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T07:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Internal Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592726#M1436085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello jyotsna dm ,&lt;/P&gt;&lt;P&gt;Give a break point &lt;/P&gt;&lt;P&gt;at AT SELECTION-SECREEN OUTPUT event and see what values are populating in your select-option range table &lt;/P&gt;&lt;P&gt;as far as i know its doing it correctly have tested it ....&lt;/P&gt;&lt;P&gt;and then fire a query no need for any conversion or so&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 08:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592726#M1436085</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2010-01-25T08:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Internal Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592727#M1436086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_bukrs is only a header line of s_bukrs[], so it is not sufficient to perform conversion for this header line. It is necessary for all its lines. So probably something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: lv_index TYPE sy-tabix.
LOOP AT s_bukrs[] INTO s_bukrs.
lv_index = sy-tabix.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      input  = s_bukrs-low
    IMPORTING
      output = s_bukrs-low.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      input  = s_bukrs-high
    IMPORTING
      output = s_bukrs-high.
MODIFY s_bukrs[] FROM s_bukrs INDEX lv_index.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 08:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592727#M1436086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T08:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Internal Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592728#M1436087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jagrik Adrian  is right in what he suggests. However you only need a   MODIFY s_bukrs. before ENDLOOP.  Within a LOOP a modify on a table with a HEADER LINE always takes the current line as the line to be modified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 09:50:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-conversion/m-p/6592728#M1436087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T09:50:00Z</dc:date>
    </item>
  </channel>
</rss>

