<?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: Number Range dependent upon date in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-dependent-upon-date/m-p/6480156#M1418804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said  want to pick the document date or posting date mention in the order or invoice. Exactly thats what you have to do.&lt;/P&gt;&lt;P&gt;You will get that posting date field by debugging program. You have to just some efforts for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Dec 2009 05:41:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-18T05:41:32Z</dc:date>
    <item>
      <title>Number Range dependent upon date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-dependent-upon-date/m-p/6480153#M1418801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAP Guru's,&lt;/P&gt;&lt;P&gt;                      Can we provide new number range to be genrated daily,&lt;/P&gt;&lt;P&gt;for eg.NR should be like this DDMMYY+(NEW-SERIAL NO)&lt;/P&gt;&lt;P&gt; posting date 11.12.2009: NR genrated is &lt;STRONG&gt;111209001 to 111209050&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; posting date 12.12.2009: NR genrated is &lt;STRONG&gt;121209001 to 121209060&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if somebody post document for  11.12.2009: NR genrated Should  be genrated  &lt;STRONG&gt;111209051&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am on implementation project , this is client's requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks to me that this is not poosible but Please do suggest, how we can provide a solution for this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; kind regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 13:05:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-dependent-upon-date/m-p/6480153#M1418801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T13:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Number Range dependent upon date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-dependent-upon-date/m-p/6480154#M1418802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;                   Use the FM 'QF05_RANDOM_INTEGER' to generate a random number and concatenate the obtained value with sy-datum field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : l_rnd_numb type i.

CALL FUNCTION 'QF05_RANDOM_INTEGER'
 EXPORTING
   RAN_INT_MAX         = '999'
   RAN_INT_MIN         = '000'
 IMPORTING
   RAN_INT             = d_result
 EXCEPTIONS
  INVALID_INPUT       = 1
   OTHERS              = 2
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

concatenate sy-datum d_result into l_rnd_numb.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 13:15:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-dependent-upon-date/m-p/6480154#M1418802</guid>
      <dc:creator>former_member206377</dc:creator>
      <dc:date>2009-12-17T13:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Number Range dependent upon date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-dependent-upon-date/m-p/6480155#M1418803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vasuki S Patki ,&lt;/P&gt;&lt;P&gt;                                Thanks for reply.&lt;/P&gt;&lt;P&gt;                          But my problem is to post the document in back date, in that case the sy-date will be the current date and i want to pick the document date or posting date mention in the order or invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2009 04:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-dependent-upon-date/m-p/6480155#M1418803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-18T04:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Number Range dependent upon date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-dependent-upon-date/m-p/6480156#M1418804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said  want to pick the document date or posting date mention in the order or invoice. Exactly thats what you have to do.&lt;/P&gt;&lt;P&gt;You will get that posting date field by debugging program. You have to just some efforts for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2009 05:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-dependent-upon-date/m-p/6480156#M1418804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-18T05:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Number Range dependent upon date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-dependent-upon-date/m-p/6480157#M1418805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is recommended from sap not to change the auto generated number range as there could be a chance of missing the number range .. We have refused this scenario to client by explaining the complication which can be faced on implementing it..  Closing the old thread........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 01:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-dependent-upon-date/m-p/6480157#M1418805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-10T01:26:22Z</dc:date>
    </item>
  </channel>
</rss>

