Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem in number range assignment

Former Member
0 Likes
657

Hi All,

we have requirement to create a number range object(SNRO). Using FM NUMBER_GET_NEXT creating numbers.

Here i am facing problem, when i am executing FM directly it is getting next number. But it is not updating it as current number in number range object(SNRO). Sometimes i see it skip 5 number in between n update as current number(not in the sequence)

if anybody worked on similor case, please revert bask when you find the time.

Thanks,

Madhavi

Edited by: kishan P on Nov 23, 2010 2:22 PM

2 REPLIES 2
Read only

Former Member
0 Likes
478

Use the function module "NUMBER_RANGE_GET_BUFFERED" to get last number if Buffering is activated. See this Thread for reference. [Reverting the Number assigned using NUMBER_GET_NEXT|].

Read only

Former Member
0 Likes
478

It looks like buffer issue of number range.

Do as following to come out form the problem.

Goto SNRO and Enter the Number range name

Click on Change.

Then form Menu-> EDIT ->Buffering -> Select No Buffering..

Also remove the number in buffer to 0 which is 10 by default.

Save and Try now..