Skip to Content
avatar image
Former Member

Number Range, Next Number

Hello guys,

I am using the FM 'NUMBER_GET_NEXT' to get the next number of the specified number range object. Is there a way to get the detail of the last number used in that number range. So that, if the last number created in the number range object is not used by any documents, I will use that number instead of calling the FM 'NUMBER_GET_NEXT' to get the next number.

Regards,

Greg

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 12, 2010 at 01:46 PM

    HI,

    Welcome to SDN/SCN

    You can get this info from NRIV Table.

    pass your Number Range Object to OBJECT and execute in SE16/SE11 the current Running number is given by NRLEVEL Field

    In SNRO make the No of Numbers in Buffer to 0

    Cheerz

    Ram

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 12, 2010 at 01:58 PM

    Hi,

    NRIV is the table where number range details are stored. So hit this table to get require information.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 12, 2010 at 02:00 PM

    Thanks guys, it worked 😊

    Cheerzz,

    Greg

    Add comment
    10|10000 characters needed characters exceeded