<?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: offset as an arithematic expression in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520088#M570353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : pat(5).&lt;/P&gt;&lt;P&gt;concatenate  '%'  v_bpa  into pat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT rfltempl FROM TBANK_RFL_TEMPLT&lt;/P&gt;&lt;P&gt;INTO v_flowidext&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;langu = 'E'&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;descr like pat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Jul 2007 08:09:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-07T08:09:42Z</dc:date>
    <item>
      <title>offset as an arithematic expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520084#M570349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anybody tell me whether i can use arithmetic expression in the place of offset of string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;    SELECT rfltempl FROM TBANK_RFL_TEMPLT&lt;/P&gt;&lt;P&gt;    INTO v_flowidext&lt;/P&gt;&lt;P&gt;    WHERE&lt;/P&gt;&lt;P&gt;       langu = 'E'&lt;/P&gt;&lt;P&gt;      AND&lt;/P&gt;&lt;P&gt;       descr+&amp;lt;b&amp;gt;( strlen( descr )- 4 )(4)&amp;lt;/b&amp;gt; = v_bpa.&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;It is throwing a syntax error. &lt;/P&gt;&lt;P&gt;My intention is to get the last 4 characters as a char string so that i can compare this aganist another character string in a where clause of a select statement.&lt;/P&gt;&lt;P&gt;In the above example last 4 characters of descr char string should be compared agaist v_bpa char string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me it's urgent .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 07:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520084#M570349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T07:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: offset as an arithematic expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520085#M570350</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;Dont do like this. This will affect system performance. Instead of this why dont u do it in internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the values from internal table and put it in a internal table and do the offset process... that will be good for performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward me if its helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 07:27:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520085#M570350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T07:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: offset as an arithematic expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520086#M570351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi thanks for ur reply.I have that solution with me. But i want to simplify the entire logic into a single select statement. Can you explain how the select statement causes performance issue? I think populating the data into internal table first and then processing the strings in a loop and then reading the internal table for the match will consume more time to execute. What do you say?&lt;/P&gt;&lt;P&gt;    I am new to ABAP developement so please confirm me on using a arithmetic expression as an offset is permissible or not in ABAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 07:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520086#M570351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T07:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: offset as an arithematic expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520087#M570352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use another variable as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;X = strlen( descr ).
X = X-4.
descr = descr+X(4)
SELECT rfltempl FROM TBANK_RFL_TEMPLT
INTO v_flowidext
WHERE
langu = 'E'
AND
descr = v_bpa.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 08:05:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520087#M570352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T08:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: offset as an arithematic expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520088#M570353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : pat(5).&lt;/P&gt;&lt;P&gt;concatenate  '%'  v_bpa  into pat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT rfltempl FROM TBANK_RFL_TEMPLT&lt;/P&gt;&lt;P&gt;INTO v_flowidext&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;langu = 'E'&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;descr like pat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 08:09:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520088#M570353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T08:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: offset as an arithematic expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520089#M570354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi aneesh&lt;/P&gt;&lt;P&gt;    You have not observed one thing descr is also a field of the table which is being queried in the select statement. I want to get the solution by using a single select statement. Thanks for your anticipation. Tell me can we do it using a single select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 08:13:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520089#M570354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T08:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: offset as an arithematic expression</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520090#M570355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No Idea what so ever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 08:16:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-as-an-arithematic-expression/m-p/2520090#M570355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T08:16:58Z</dc:date>
    </item>
  </channel>
</rss>

