Skip to Content
author's profile photo Former Member
Former Member

FM 'Number_get_next'

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 26, 2010 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.