<?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: Creating a function module to auto generate an unique form id in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538602#M1427623</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; thanks for the help...but as i'm very new to abap programing...is there any step-by-step guide that i can refer to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;leesyy_90&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2010 07:44:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-11T07:44:59Z</dc:date>
    <item>
      <title>Creating a function module to auto generate an unique form id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538595#M1427616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i'm currently working on a form submission process. I'm facing trouble creating a function module to create an auto generate unique form id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i know something about the number range object to generate the next number. But i need to include the year with the generated id like YYYY_XXXX (X - to be the number generated). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway in achieving it? Could anyone provide the steps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot in advance!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 03:34:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538595#M1427616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T03:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a function module to auto generate an unique form id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538596#M1427617</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;you can define your own number range which will be distinguished according to fiscal year. Then you can simply define a number interval for each fiscal year as from number 2010000001 to number 201099999 and so on. So you will call standard function NUMBER_GET_NEXT and you will pass current year using parameter TOYEAR to get next number. Have a look at [SAP documentation|http://help.sap.com/saphelp_erp2005/helpdata/EN/2a/fa02e3493111d182b70000e829fbfe/frameset.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 04:00:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538596#M1427617</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2010-01-11T04:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a function module to auto generate an unique form id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538597#M1427618</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;PRE&gt;&lt;CODE&gt;Use NUMBER_GET_NEX FM to generate a number and find the Year you want either from system date or Fiscal Year( which ever is required by you and then Concatenate them together with an Underscore in between)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 04:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538597#M1427618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T04:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a function module to auto generate an unique form id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538598#M1427619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Goto SNRO T code and create one number range object.&lt;/P&gt;&lt;P&gt;use this FM NUMBER_GET_NEXT to get tht number in your program.&lt;/P&gt;&lt;P&gt;Take the sy-datum field write an offset to get year into one field.&lt;/P&gt;&lt;P&gt;now concatenate the year and number which u get from the above FM and dsiplay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Azeez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 05:10:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538598#M1427619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T05:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a function module to auto generate an unique form id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538599#M1427620</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; thanks for the help...but as i'm very new to abap programing...is there any step-by-step guide that i can refer to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;leesyy_90&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 07:44:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538599#M1427620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T07:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a function module to auto generate an unique form id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538600#M1427621</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; thanks for the help...but as i'm very new to abap programing...is there any step-by-step guide that i can refer to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;leesyy_90&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 07:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538600#M1427621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T07:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a function module to auto generate an unique form id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538601#M1427622</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; thanks for the help...but as i'm very new to abap programing...is there any step-by-step guide that i can refer to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;leesyy_90&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 07:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538601#M1427622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T07:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a function module to auto generate an unique form id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538602#M1427623</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; thanks for the help...but as i'm very new to abap programing...is there any step-by-step guide that i can refer to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;leesyy_90&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 07:44:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538602#M1427623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T07:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a function module to auto generate an unique form id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538603#M1427624</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;check following link to understand how does generating numbers from number intervals work:&lt;/P&gt;&lt;P&gt; [ How the Number Range Buffer Works|http://help.sap.com/saphelp_nw04/helpdata/en/95/3d5540b8cdcd01e10000000a155106/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also check:  [Maintaining Number Ranges|http://help.sap.com/erp2005_ehp_04/helpdata/EN/1f/8311204bc511d189750000e8322d00/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find useful step-by-step guide here: [How to Create you own Number Range ? (SNRO) |http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=50004015]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as You are a very new to ABAP, search also [BC - ABAP Programming|http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCABA/BCABA.pdf] for CONCATENATE statement. But You will find much more here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 19:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-function-module-to-auto-generate-an-unique-form-id/m-p/6538603#M1427624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T19:51:00Z</dc:date>
    </item>
  </channel>
</rss>

