<?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: comparing 2 character inputs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-2-character-inputs/m-p/2454468#M550255</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;  s..it's a command used explicitly to perform on character-type fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from documentation&lt;/P&gt;&lt;P&gt;STRLEN : Returns the length of a character-type field in characters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2007 08:27:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-04T08:27:31Z</dc:date>
    <item>
      <title>comparing 2 character inputs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-2-character-inputs/m-p/2454464#M550251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i hav a requirement where i get an input (character format) from the interface ans i hav to check if its a 8 char long input or a 9 char long input, according to which i need to select data from diff table. how can i do this? kindly help.......useful answer wil surely be rewarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 08:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-2-character-inputs/m-p/2454464#M550251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T08:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: comparing 2 character inputs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-2-character-inputs/m-p/2454465#M550252</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;  basically u need to check the length of the character..which can be achived by using STRLEN command...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : a type c value 'ABAP', b(10).&lt;/P&gt;&lt;P&gt;b = strlen( a ).&lt;/P&gt;&lt;P&gt;write b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output will be 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 08:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-2-character-inputs/m-p/2454465#M550252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T08:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: comparing 2 character inputs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-2-character-inputs/m-p/2454466#M550253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You can do this way:&lt;/P&gt;&lt;P&gt;First declare 2 constants of value 8 and 9.&lt;/P&gt;&lt;P&gt;Then use the STRLEN keyword to get the string length of the input character format and then compare with the consatnts to check if they are 8 or 9 characters in length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it was useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 08:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-2-character-inputs/m-p/2454466#M550253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T08:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: comparing 2 character inputs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-2-character-inputs/m-p/2454467#M550254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i two fields are character fields , but they hold numbers only.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can we use str functions on chars........does it need to be declared as String?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 08:23:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-2-character-inputs/m-p/2454467#M550254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T08:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: comparing 2 character inputs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-2-character-inputs/m-p/2454468#M550255</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;  s..it's a command used explicitly to perform on character-type fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from documentation&lt;/P&gt;&lt;P&gt;STRLEN : Returns the length of a character-type field in characters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 08:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/comparing-2-character-inputs/m-p/2454468#M550255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T08:27:31Z</dc:date>
    </item>
  </channel>
</rss>

