NUMBER_GET_NEXT: how it gets the number
How the FM NUMBER_GET_NEXT, get the next number evethough the last generated number was not stored in database.
Thanks with Regards,
Jogeswara Rao K replied
See the sample code
CALL FUNCTION 'NUMBER_GET_NEXT'
nr_range_nr = '01'
object = 'ZPMDD'
quantity = '1'
number = v_number.
Here ZPMDD is the number range object created in SNRO from where this fm gets the last created number. Means prior to use of this fm you need to create an object in SNRO and specify the range.