Application Development 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: 

FM 'Number_get_next'

Former Member
0 Kudos
342

I am using FM 'Number_get_next' to generate next number in user exit of standard transaction. I have two questions related to that.

1) Will new numbers be generated if multiple users are accessing the t-code same time? How will this be handled?

2) If the record is not commited, the number range should not be updated, but i am using the FM before save use rexit to generate the number

Please advice.

Thanks,

AP

1 ACCEPTED SOLUTION

former_member451655
Active Participant
0 Kudos
146

Hi ,

NUMBER_GET_NEXT it self has its own mechanism to control enqueue & dequeue based on work processes , you don't need to worry about multiple user sessions . Until you make a commit , session will hold its own number thrown by the FM , the next session has to wait till object get released .

Br,

Dilum

1 REPLY 1

former_member451655
Active Participant
0 Kudos
147

Hi ,

NUMBER_GET_NEXT it self has its own mechanism to control enqueue & dequeue based on work processes , you don't need to worry about multiple user sessions . Until you make a commit , session will hold its own number thrown by the FM , the next session has to wait till object get released .

Br,

Dilum