cancel
Showing results for 
Search instead for 
Did you mean: 

Number Range for Purchase order

Former Member
0 Kudos

Hi MM Masters,

Kindly give the solution in SAP for the following scenario.

The organisation consists of 5 company codes and 16 plants.

How to maintain the Number ranges for the Purchase orders Plantwise?

This requirement is for easy identification of Purchase orders on the basis of plants.

Like for Plant 1 - 4500000000 to 4500050000

Plant 2 - 4500050001 to 4500060000

Plant 3 - 4500060001 to 4500070000 etc.

Kindly guide me. This requirement is urgent.

Regards

Yoganarasimha

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi

In Std SAP, Number ranges cannot be created at Plant Level because 1 PO can consist of items required for more than 1 Plant.

However, you can create 1 Doc type for each Plant and then create Number range for teh Doc types. But, it has to be ensured during PO that the correct Doc type is used. This can be ensured using Authorizations.

Hope this clarifies.

Thanks

Former Member
0 Kudos

Hello Ravi Kumar,

Ramki and Manish has suggested the very good and very strait forward way to handle this scenario. That will help you incase you create different document type, but if you want to continue with only one document type then you need to use userexit. Two user exits are available for number ranges,

M06B0003 - Number range and document number

M06B0004 - Number range and document number

Hope this helps.

Reagerds,

Arif Mansuri

Former Member
0 Kudos

Hi Ariz

We are also facing this situation, where diff number range is req for diff plants.

Could you please give more details on using this user exit, if possible coding to do that.

Thanks in advance

Raj

Former Member
0 Kudos

Hello Raj,

You need to define number range as usual, but when using the user exit at that time you need to give logic as per your requirement. Purchase order will allow to create two different line item for two different plant under the same company code so you need to consider that also (if using company specific or multi plant assignment for one purchase organization).

Work with developer for coding and expain him/her the logic, I am not technical expert so regret for not helping on coding.

Hope this helps.

Arif Mansuri

Former Member
0 Kudos

Hi Ravi,

PO number range can not be define at plant level,it is always at document type level.

In your case you have to create different document type for plant1&2&3.

Then you can assign different no.range to all three PO document type.

Hope it will help you.

Regards,

Manish Agarwal

Don’t forget to give point if useful ans.

Former Member
0 Kudos

Hi

create different PO document types for different plants and then you can have different number ranges

hope this helps

regds

Manan

Ramki
Active Contributor
0 Kudos

Hi

This is simple to configure and difficult to implement!

1) Create a PO document type for each Plant. Assign a different number range as you want for each of these doc types.

2) Ensure while defining roles/authorizations that a plant user is authorized to create only their plant's doc type.

Best regards

Ramki