<?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 reset in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193291#M1625435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got the solution..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the replies......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2011 12:09:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-09T12:09:47Z</dc:date>
    <item>
      <title>Number range reset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193285#M1625429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a Number Range Object,  to get Employee numbers. I my report when the User presses the Button "ADD EMP/Create EMP" I am getting the current number using number range object. So a pop up with current number and details to be entered for the Number like EMP Name, Module etc..., &lt;/P&gt;&lt;P&gt;Eg: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CREATING&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;EMP Number: 00005 (Current number from Number range object)&lt;/P&gt;&lt;P&gt;Emp Name   : SAPUSER&lt;/P&gt;&lt;P&gt;Module           : ABAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      YES   NO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its fine if i create the EMP and save it(YES). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now again i try create a new EMP by clicking ADD EMP/Create EMP button.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WITH OUT CREATING AND CANCEL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;EMP Number: 00006 (Current number from Number range object)&lt;/P&gt;&lt;P&gt;Emp Name   : &lt;/P&gt;&lt;P&gt;Module           : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                YES    NO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i select NO, and again try to create EMP Details by clicking ADD EMP/Create EMP button. I am getting the current number to be &lt;STRONG&gt;00007&lt;/STRONG&gt; missing number &lt;STRONG&gt;00006&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i want to reset in the current number to &lt;STRONG&gt;00006&lt;/STRONG&gt; which displayed earlier &amp;amp; not used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help me out in this issue.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 10:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193285#M1625429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-08T10:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Number range reset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193286#M1625430</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;  Thats how number ranges work if you are using function module "NUMBER_GET_NEXT"  try setting IGNORE_BUFFER = "X" to use numbers that might not have actually been used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 10:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193286#M1625430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-08T10:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Number range reset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193287#M1625431</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;Yes I am using the FM 'NUMBER_GET_NEXT' but by setting IGNORE_BUFFER  = 'X'. It stilling getting incremented.. its not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 10:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193287#M1625431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-08T10:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Number range reset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193288#M1625432</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;do not display the new number in the screen, only the fields that need to be entered by the user. You should only get the next number when the user has pressed SAVE. After successful save inform the user of the newly created customer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really need to display the new customer number before save, you should get the number before the call to the screen'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 10:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193288#M1625432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-08T10:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Number range reset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193289#M1625433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;use the function module 'Confirm_to_ok' and return the answer,it ll be eithr 1 or 0,if teh value is oen call the function module .number_get_next if its zero reset the values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 10:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193289#M1625433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-08T10:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Number range reset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193290#M1625434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must ignore the number range buffer (&lt;STRONG&gt;) AND execute a [ROLLBACK|http://help.sap.com/abapdocu_70/en/ABAPROLLBACK.htm] (&lt;/STRONG&gt;*) to release the number range and undo the incrementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could only assign the number during the SAVE operation : when 'SAVE', NUMBER_GET_NEXT with IGNORE_BUFFER set, INSERT table, [COMMIT|http://help.sap.com/abapdocu_70/en/ABAPCOMMIT.htm] (and send a status TYPE 'S' message with the actual number created.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(*) [How the Number Range Buffer Works|http://help.sap.com/saphelp_nw04/helpdata/en/95/3d5540b8cdcd01e10000000a155106/frameset.htm]&lt;/P&gt;&lt;P&gt;(**) But beware of [Implicit Database Commits|http://help.sap.com/abapdocu_70/en/ABENDB_COMMIT.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 11:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193290#M1625434</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-09-08T11:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Number range reset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193291#M1625435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got the solution..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the replies......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 12:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-reset/m-p/8193291#M1625435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-09T12:09:47Z</dc:date>
    </item>
  </channel>
</rss>

