2010 Oct 26 4:04 AM
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
2010 Oct 26 4:37 AM
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
2010 Oct 26 4:37 AM
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