<?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: Character Conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300433#M1635586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both of them are CHAR type. I could have used SELW1 = DFKKOP-GPART but GPART is a selection screen text.&lt;/P&gt;&lt;P&gt;So i have to use SELW1 IN DFKKOP-GPART and i cant specify the length if field while using "IN" keyword.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2011 12:12:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-17T12:12:05Z</dc:date>
    <item>
      <title>Character Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300431#M1635584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I am reading a field in selection screen(DFKKOP-GPART) which is 10 charcters long. This field is then compared in a select query with another field (DFKKZP-SELW1) which is 35 charcters long. Please help. I can use  aplha conversion module and pass the selection screen variable to an internal table and then compare it in the select query, but i am already comparing another internal table in that select query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 11:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300431#M1635584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-17T11:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Character Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300432#M1635585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;both the data type will be different how can you compare..? &lt;/P&gt;&lt;P&gt;even you compare that one will that make sense ..?? iam not sure..&lt;/P&gt;&lt;P&gt;anyway try like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT...
WHERE  SELW1(10)  eq DFKKOP-GPART.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 11:52:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300432#M1635585</guid>
      <dc:creator>surajarafath</dc:creator>
      <dc:date>2011-11-17T11:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Character Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300433#M1635586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both of them are CHAR type. I could have used SELW1 = DFKKOP-GPART but GPART is a selection screen text.&lt;/P&gt;&lt;P&gt;So i have to use SELW1 IN DFKKOP-GPART and i cant specify the length if field while using "IN" keyword.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 12:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300433#M1635586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-17T12:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Character Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300434#M1635587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declara a range LR_SELW1 of type SELW1 and populate if from select option of DFKKOP-GPART  and use LR_SELW1 in the select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 19:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300434#M1635587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-17T19:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Character Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300435#M1635588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Only way you can compare is using off set  comparing 10 character. For. ex. +25(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other wise how would system know what to compare?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope, helped!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reetesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 20:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300435#M1635588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-17T20:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Character Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300436#M1635589</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;1.Declare two  variables with type DFKKZP-SELW1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: selw1 type  DFKKZP-SELW1,&lt;/P&gt;&lt;P&gt;         selw2 type  DFKKZP-SELW1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.use the function module twice like this:&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    input         = selection screen_field_name(DFKKOP-GPART)-low&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   OUTPUT        = selw1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    input         = selection screen_field_name(DFKKOP-GPART)-high&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   OUTPUT        = selw2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.use selw1 and selw2 in select query like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select.......where field_name in (selw1&lt;/P&gt;&lt;P&gt;,selw2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 04:51:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300436#M1635589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-18T04:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Character Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300437#M1635590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 11:40:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-conversion/m-p/8300437#M1635590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-23T11:40:49Z</dc:date>
    </item>
  </channel>
</rss>

