<?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 CAN U EXPALIN ABOUT OFFSET METHOD in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-u-expalin-about-offset-method/m-p/1444966#M211393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am trying to offset spmon to get the month field but it is giing error. can u please rectify.&lt;/P&gt;&lt;P&gt;i am writing like spmon+7(2).&lt;/P&gt;&lt;P&gt;but it is giving eror that it will have only 6 fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2006 10:58:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-03T10:58:07Z</dc:date>
    <item>
      <title>CAN U EXPALIN ABOUT OFFSET METHOD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-u-expalin-about-offset-method/m-p/1444966#M211393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am trying to offset spmon to get the month field but it is giing error. can u please rectify.&lt;/P&gt;&lt;P&gt;i am writing like spmon+7(2).&lt;/P&gt;&lt;P&gt;but it is giving eror that it will have only 6 fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 10:58:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-u-expalin-about-offset-method/m-p/1444966#M211393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T10:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: CAN U EXPALIN ABOUT OFFSET METHOD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-u-expalin-about-offset-method/m-p/1444967#M211394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let us say spmon = '12345'&lt;/P&gt;&lt;P&gt;if you want 34, then say&lt;/P&gt;&lt;P&gt;spmon+2(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 11:00:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-u-expalin-about-offset-method/m-p/1444967#M211394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T11:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: CAN U EXPALIN ABOUT OFFSET METHOD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-u-expalin-about-offset-method/m-p/1444968#M211395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data type of SPMON is numc6, and hence you cannot read from the 7th position. That is the error you are getting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;spmon+7(2) will read the value in the spmon field, starting at the 7th position and reading the next 2 chars after that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 11:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-u-expalin-about-offset-method/m-p/1444968#M211395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T11:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: CAN U EXPALIN ABOUT OFFSET METHOD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-u-expalin-about-offset-method/m-p/1444969#M211396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SPMON is :&lt;/P&gt;&lt;P&gt;Period YYYYxx (xx = week/month/accounting period)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so u start counting from 0....&lt;/P&gt;&lt;P&gt;if spmon = 200403&lt;/P&gt;&lt;P&gt;if u want year:&lt;/P&gt;&lt;P&gt;spmon+0(4)will fetch u 2004&lt;/P&gt;&lt;P&gt;spmon+4(2) will give u 03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;gunjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 11:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-u-expalin-about-offset-method/m-p/1444969#M211396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T11:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: CAN U EXPALIN ABOUT OFFSET METHOD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-u-expalin-about-offset-method/m-p/1444970#M211397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error is obvious, you are mentioning a length where in the lenght of the variable does not exist so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable+m(n).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you n characters of variable starting from mth position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in your case if you want to the meonth field you should use spmon+4(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 11:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-u-expalin-about-offset-method/m-p/1444970#M211397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T11:01:59Z</dc:date>
    </item>
  </channel>
</rss>

