‎2008 Apr 23 7:54 PM
Dear All:
I am writing a custom application which requires a new custom table with a
unique sequential number as part of the key.
I was thinking of letting my program just lookup the last sequential number
used in this table, just before incrementing that number by 1 and then
writing out the new record to this table.
Are there better ways of doing this?
Any ideas much appreciated.
‎2008 Apr 26 6:39 PM
use the function 'NUMBER_GET_NEXT'. In the table NRIV you have toinsert
some information about the range of the numbers you wish to have.
‎2008 Apr 23 8:10 PM
Create a new Object from T-CODE - SNRO. Give an Interval and use the FM NUMBER_GET_NEXT to get the next number.
Hope this helps.
Amandeep
‎2008 Apr 26 6:39 PM
use the function 'NUMBER_GET_NEXT'. In the table NRIV you have toinsert
some information about the range of the numbers you wish to have.