<?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 length synatx in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-length-synatx/m-p/3710069#M893202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;
Hi,
 Write like this .

&lt;PRE&gt;&lt;CODE&gt;DATA: l_data1 TYPE char3 VALUE 'F04',
      l_data2 TYPE char3.

l_data2 = l_data1+2(1).
l_data2 = l_data2 + 1.
WRITE / l_data2.&lt;/CODE&gt;&lt;/PRE&gt;

Regards,
Venkat.O
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2008 02:33:42 GMT</pubDate>
    <dc:creator>venkat_o</dc:creator>
    <dc:date>2008-04-24T02:33:42Z</dc:date>
    <item>
      <title>Offset length synatx</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-length-synatx/m-p/3710068#M893201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to read 4 from the output 'F04' that is the last character and add 1 to it.&lt;/P&gt;&lt;P&gt;Can some one tell me the syntax for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Subha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: subhashini reddy on Apr 24, 2008 4:22 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 02:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-length-synatx/m-p/3710068#M893201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T02:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Offset length synatx</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-length-synatx/m-p/3710069#M893202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;
Hi,
 Write like this .

&lt;PRE&gt;&lt;CODE&gt;DATA: l_data1 TYPE char3 VALUE 'F04',
      l_data2 TYPE char3.

l_data2 = l_data1+2(1).
l_data2 = l_data2 + 1.
WRITE / l_data2.&lt;/CODE&gt;&lt;/PRE&gt;

Regards,
Venkat.O
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 02:33:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-length-synatx/m-p/3710069#M893202</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2008-04-24T02:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Offset length synatx</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-length-synatx/m-p/3710070#M893203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the output is char type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: p(3) type char.&lt;/P&gt;&lt;P&gt;take a another character type one char length&lt;/P&gt;&lt;P&gt;data: o type char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let the output you are getting is 'FO4'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if need 4 then o = p+2(1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;sg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 02:39:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-length-synatx/m-p/3710070#M893203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T02:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Offset length synatx</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-length-synatx/m-p/3710071#M893204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
data: output type c length 3 value 'F04',
      result type i.

result = output+2 + 1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sougata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subha,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We would like to be rewarded with points&lt;/STRONG&gt; You can do this by choosing the radiobutton on the left hand side of the page. You should do this to show your appreciation for our time. Once your problem is solved, reward points and then mark the answer as &lt;STRONG&gt;solved&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sougata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sougata Chatterjee on Apr 27, 2008 10:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 02:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-length-synatx/m-p/3710071#M893204</guid>
      <dc:creator>Sougata</dc:creator>
      <dc:date>2008-04-24T02:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Offset length synatx</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-length-synatx/m-p/3710072#M893205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this make sure its gonna be 'F04' 3 characters every time.. its its 'FX04' if then also u need to change to 'FX05'... u need to decide...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so solution for it is...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
vl_data = 'F04'.
data: vl_len type i.

vl_len = strlen( vl_data).
vl_len = vl_len - 1.
vl_data = vl_data+(vl_len).

vl_temp = vl_data+vl_len(1)
vl_temp = vl_temp + 1.

clear: vl_len, vl_temp.

concatenate vl_data vl_temp to vl_data.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2008 03:42:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-length-synatx/m-p/3710072#M893205</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-04-27T03:42:18Z</dc:date>
    </item>
  </channel>
</rss>

