<?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 Fiscal year change for program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fiscal-year-change-for-program/m-p/3643990#M877521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a dialogue program for the invoice entry. In Dialogue program we have a field to display the Pin no. The Pin no used to generate a new number when we execute the Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is if when we execute the program it has to generate the pinno  to start from 01 and then increment by 1 as by for every fiscal year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide with sample code if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2008 10:56:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-10T10:56:21Z</dc:date>
    <item>
      <title>Fiscal year change for program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fiscal-year-change-for-program/m-p/3643990#M877521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a dialogue program for the invoice entry. In Dialogue program we have a field to display the Pin no. The Pin no used to generate a new number when we execute the Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is if when we execute the program it has to generate the pinno  to start from 01 and then increment by 1 as by for every fiscal year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide with sample code if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 10:56:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fiscal-year-change-for-program/m-p/3643990#M877521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T10:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal year change for program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fiscal-year-change-for-program/m-p/3643991#M877522</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;For that you need to create a record in the table TNRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO in the table TNRO you need to create an object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that you have to use the function module as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'NUMBER_GET_NEXT'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            nr_range_nr = '01'&lt;/P&gt;&lt;P&gt;            object      = 'ZHR_APPR'  "--&amp;gt; Your object&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            number      = v_counter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 11:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fiscal-year-change-for-program/m-p/3643991#M877522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T11:26:52Z</dc:date>
    </item>
  </channel>
</rss>

