Generate number for an object using NUMBER_GET_NEXT
The requirement was to generate a unique internal number for vendor address.
This is a function module to generate a unique internal number in SAP system .
First of all FM NUMBER_RANGE_ENQUEUE
will lock the number range generator and then
The requirement was to generate a unique internal number for vendor address.
This is a function module to generate a unique internal number in SAP system .
First of all FM NUMBER_RANGE_ENQUEUE
will lock the number range generator and then
FM NUMBER_GET_NEXT will get the next available number
FM NUMBER_RANGE_DEQUEUE will unlock the FM