Hi ,
Requirement is , want to have purchase order number plant wise. I know that we can have different number ranges for different document types in standard SAP. But how to achieve different number ranges for purchase order plant wise.?
Is there any user exits available for this?
regards,
abi
MM06E003 Exit Name
Biswajit
I dont think it is possibe to have diffrent number range for PO plant wise.
As u can have diffrent report to get the PO created for that plant
Hi,
Why they need purchase order number range plant wise?. If they want define diffrent document types.
Thank you
Sap MM
in standard SAP functionality is the possiblility to have items from several plants in one PO. hence a PO number by plant does not make sense, except you ensure that items of several plants can never be entered to one PO.
Hi Jurgen,
Thanks for your explanation. But client requirement is , want to have separate number range for plant wise in PO. In this case, in PO all the line items will have the same plant not different one. Is there any work around to achieve this?
Regards,
abi
Hi
I think it is not possible to have plant wise number range for PO. If you tell your business requirement we can try to give better solution.
Regards
Antony
Hi,
For each plant have different document type and assign diff number range for the doc type.
check for the user exit avalable for the appication EF.
Regards,
Smitha
Hi smitha,
You can not have different document types for different plants , it is not plant level.
Any other way is there to achieve ?
Regards,
abi
Hi,
it is possible through a BADI to get the separate number ranges for plant wise PR/PO,
but u need to maintain a customised table with number ranges and plants,
whenever the user try to save a PO/PR the syatem will pick the number range from the customised table,
that BADI is ME_PROCESS_PO_CUST,
it is very useful if any client has number of plants like 30 or 40 plants,
and it is easy track the PO from where it has raised.
rgds
you forgot to say that you have to prevent having items for more of one plant in a PO then.
By the way I have more than 500 plants in the system and do not need to use extra number ranges to know from which plant the PO was raised. A very few people will be able to know 500 different number ranges to immediatly this Po was raised from plant xxxx.
abi,
set PO number range to external in config.
Use either the exit or the BADI previously mentioned.
Functions:
1. On call PO create, stick any old number in initially (you don't know the Plant yet)
2. On Save or Check, check only one Plant for all items on PO, error message if not.
3. On exit, if PO not saved, you haven't referenced the 'real' PO numbers so just allow exit
4. On exit, if PO saved, call bespoke number range tables (take next number for given Plant, update last PO number).
It would be worth checking the confirmation of PO create includes the 'real' PO number too.
Regards,
Nick
HI,
I think you wants a identification of PO with plant wise. So just you need to a small customization in PO format for PO Number Block to you ABAP people.
For Example : Your plant is : 1000 and PO number 5000000456, So its should be display as 1000-5000000456.
From
Ramesh Kumar
Hi Ramesh,
Going by your logic. What will happen if Items from multiple plants are included in a PO?
Thank you,
Naveen
The number will be picked either from the first or from the last plant, making your logic even more nonsense.
it was already said that you have to take care yourself that nobody can enter items of different plants in one PO if you want this logic.