<?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 Require a Function Module or FOX formula for YEAR+1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/require-a-function-module-or-fox-formula-for-year-1/m-p/9048778#M1701691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This scenario is in SAP BPS but the requirement is universal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want a Function Module or FOX formula for the following Scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have characteristics CR.YEAR referenced from 0CALYEAR&lt;/P&gt;&lt;P&gt;In BPS0 We have created a variable GGGG01 which fills the value (year) of CR.YEAR namely 2011, 2012, 2013. This variable is displayed &lt;/P&gt;&lt;P&gt;in the portal with the option of the filtering the (year) of CR.YEAR namely 2011, 2012, 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the requirement, when the variable GGGG01 is selected with the CR. YEAR of 2013, it should copy the the values in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CR. YEAR 2012 and paste in the column of 2013.&lt;/P&gt;&lt;P&gt;The requirement of the variale selection keep changing mean to say, it could be 2012 or 2013 or even 2010, hence when creating &lt;/P&gt;&lt;P&gt;a COPY funtion, we could not give the fixed value (YEAR) say: overwrite the values from 2012 to 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, we felt the variable GGGG01 is used in the "values from" at copy function. We have also created one more variable &lt;/P&gt;&lt;P&gt;GGGG02. We want have the newly created variable to be filled with the YEAR+1 means (if in the portal, if the user selects &lt;/P&gt;&lt;P&gt;2012 in the variable GGGG01, we want the "values to" at copy function to be 2013 (GGGG01+1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA ANO TYPE CRYEAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANO = VARV('GGGG01').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{ANO} = {ANO}+1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; VARV ("GGGG02") = ANO .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is throwing errors like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formula error: Identifier expected instead of VARV&lt;/P&gt;&lt;P&gt;Please help us to have FM or FOX formula for the above requirement as this is bit urgent for the business.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2012 02:47:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-11-01T02:47:50Z</dc:date>
    <item>
      <title>Require a Function Module or FOX formula for YEAR+1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/require-a-function-module-or-fox-formula-for-year-1/m-p/9048778#M1701691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This scenario is in SAP BPS but the requirement is universal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want a Function Module or FOX formula for the following Scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have characteristics CR.YEAR referenced from 0CALYEAR&lt;/P&gt;&lt;P&gt;In BPS0 We have created a variable GGGG01 which fills the value (year) of CR.YEAR namely 2011, 2012, 2013. This variable is displayed &lt;/P&gt;&lt;P&gt;in the portal with the option of the filtering the (year) of CR.YEAR namely 2011, 2012, 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the requirement, when the variable GGGG01 is selected with the CR. YEAR of 2013, it should copy the the values in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CR. YEAR 2012 and paste in the column of 2013.&lt;/P&gt;&lt;P&gt;The requirement of the variale selection keep changing mean to say, it could be 2012 or 2013 or even 2010, hence when creating &lt;/P&gt;&lt;P&gt;a COPY funtion, we could not give the fixed value (YEAR) say: overwrite the values from 2012 to 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, we felt the variable GGGG01 is used in the "values from" at copy function. We have also created one more variable &lt;/P&gt;&lt;P&gt;GGGG02. We want have the newly created variable to be filled with the YEAR+1 means (if in the portal, if the user selects &lt;/P&gt;&lt;P&gt;2012 in the variable GGGG01, we want the "values to" at copy function to be 2013 (GGGG01+1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA ANO TYPE CRYEAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANO = VARV('GGGG01').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{ANO} = {ANO}+1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; VARV ("GGGG02") = ANO .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is throwing errors like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formula error: Identifier expected instead of VARV&lt;/P&gt;&lt;P&gt;Please help us to have FM or FOX formula for the above requirement as this is bit urgent for the business.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 02:47:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/require-a-function-module-or-fox-formula-for-year-1/m-p/9048778#M1701691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-01T02:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Require a Function Module or FOX formula for YEAR+1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/require-a-function-module-or-fox-formula-for-year-1/m-p/9048779#M1701692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No FOX or FM required. Offset concept can be used to solve this requirement.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_sem320bw/helpdata/en/81/f3f0d86f6411d4b2f60050dadfb23f/content.htm"&gt;http://help.sap.com/saphelp_sem320bw/helpdata/en/81/f3f0d86f6411d4b2f60050dadfb23f/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanking you all..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 16:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/require-a-function-module-or-fox-formula-for-year-1/m-p/9048779#M1701692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-01T16:57:31Z</dc:date>
    </item>
  </channel>
</rss>

