Number Range, Next Number
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.
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