# Number Range Object-1

Number Range Object-1

Number Range- Its a sequential collection of numbers with a definite range.

Ex- From    0000000001     T0      9999999999

### Why do we need number range and number range objects in SAP?

In SAP system, we create many master data like Customers, Vendors, Materials, etc which are uniquely identified by a number or transactional data like Sales Orders, Deliveries, Billing Documents in SD module, Purchase Orders in MM module and Accounting Documents in FI module which are represented by unique number.

Each of the customers,  vendors , materials , sales orders , purchase orders or accounting documents should have a unique number. So we need a number range number for each of these.

If we use one number range for all the entities like customers, vendors and materials, it should be ok but not as good as business need. Consider that we have a number range  from 0000000001   to 9999999999. Now if we use 0000000001 as a number to identify one customer, the same number 0000000001 can’t be used for any vendor name or material number. As the top level entities are different, SAP comes up with Number Range Object concept.

To identify Customers – a customer number range object is defined which can use a number range. For ex-

Customer Number Range Object as  – CUST_OBJ

Number Range can be- 0000000001   ->     9999999999

Similarly to Identify Vendors,

Vendor Number Range Object  as – VEND_OBJ

Number Range can be- 0000000001   ->     9999999999

Similarly to Identify Materials,

Material Number Range Object  – MAT_OBJ

Number Range can be- 1000000000   ->     9999999999

### What is Number Range Interval?

Consider the Customer Number rage Object  as – CUST_OBJ   with Number Range can be- 0000000001   ->    9999999999.

In SAP system  customers can be created for any country , now lets consider the case that the business wants to identify all customers of a particular country  with a sub range of the number range. So to do this, the original number range can be split into multiple non overlapping sub ranges called number range intervals.

Interval  – 01            –      0000000001              -> 1999999999

Interval  – 02            –      2000000000             -> 2999999999

Interval – 03             –       3000000000             -> 3999999999

Interval – 04             –       4000000000             -> 4999999999

Interval – 05             –       5000000000             -> 5999999999

Interval – 06             –       6000000000             -> 6999999999

Interval – 07             –       7000000000             -> 7999999999

Interval – 08             –       8000000000             -> 8999999999

Interval – 09             –       9000000000             -> 9999999999