Number range based on plant
Hi All,
I have requirement, cliant wants number range based on plant, for example
we have three plants under 1 company code AXXX,BXXX,CXXX the requirment is when we create a PO the PO number should start with Aor B or C starting letter of the plant.
we know that we can use differnet document type but here we want to use only one document type I.e NB document type.
Please let me know steps to do this,
Thanks in advance.
Thanks&Regards,
Chand
Hi
It is posibel to create number ranges per plant
But my suggestion you have only three plant then create differnt doc type for plant,there are many report depend on plant,and we can use differnt plant in po also so it will effect
chek following link
[Purchase order number ranges plant wise;
Regards
Kailas ugale
Similar Messages
-
SD number range based on company codes
Dear all,
We have two company codes in one client.We want to create separate SD number ranges based on company codes.Is there any possibilities to do this.Please advice.
Regards,
Abdul jabbarAbdul,
If you have different doc types for two company codes then you can maintain different number ranges in standard for two company codes.
If you have same doc types for two company codes then you have to go for enhancement.
1. Create one ztable: Maintain the entries like below.
company code
SD document categ.
Document type
Sequence Number
Prefix code
Object name
Number range number
2XX1
C
ZXXX
1
A01
Z_XXX_X1
01
2XX1
C
ZXXX
1
A01
Z_XXX_X1
01
2XX1
C
ZXXX
1
A01
Z_XXX_X1
01
2XX1
C
ZXXX
1
A01
Z_XXX_X1
01
2XX1
H
ZXXX
1
A01
Z_XXX_X1
01
2XX1
H
ZXXX
1
A01
Z_XXX_X1
01
2XX1
H
ZXXX
1
A01
Z_XXX_X1
01
2XX1
H
ZXXX
1
A01
Z_XXX_X1
01
2XX1
H
ZXXX
1
A01
Z_XXX_X1
01
2XX1
J
ZXXX
1
A02
Z_XXX_X1
02
2XX1
J
ZXXX
1
A02
Z_XXX_X1
02
2XX1
J
ZXXX
1
A02
Z_XXX_X1
02
2XX1
J
ZXXX
1
A02
Z_XXX_X1
02
2XX1
J
ZXXX
1
A02
Z_XXX_X1
02
2XX1
K
ZXXX
1
A01
Z_XXX_X1
01
2XX1
K
ZXXX
1
A01
Z_XXX_X1
01
2XX1
L
ZXXX
1
A01
Z_XXX_X1
01
2XX1
M
ZXXX
1
A05
Z_XXX_X1
05
2XX1
M
ZXXX
1
A05
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XX_X1
10
2XX2
N
ZXXX
1
A10
Z_XXX_X1
10
2XX2
N
ZXXX
1
A09
Z_XXX_X1
09
2XX2
O
ZXXX
1
A08
Z_XXX_X1
08
2XX2
O
ZXXX
1
A08
Z_XXX_X1
08
2XX2
O
ZXXX
1
A08
Z_XXX_X1
08
2XX2
O
ZXXX
1
A08
Z_XXX_X1
08
2XX2
O
ZXXX
1
A08
Z_XXX_X1
08
2XX2
P
ZXXX
1
A09
Z_XXX_X1
09
2XX2
S
ZXXX
1
A08
Z_XXX_X1
08
2XX2
S
ZXXX
1
A08
Z_XXX_X1
08
2XX2
S
ZXXX
1
A08
Z_XXX_X1
08
2XX2
T
ZXXX
1
A07
Z_XXX_X1
07
2XX2
T
ZXXX
1
A07
Z_XXX_X1
07
2. In SNRO Maitain the number Ranges interval
First system take the number range interval and searches for the entry in ztable and prefix the code as per the ztable enteries.
By this u can differentiate the number ranges by company code.
Revert back to the forum if need any clarification.
Thank$
Hidayath -
Diiferenet Internal Number Ranges by Depot(Plant) wise
Hi Experts,
I have a requirement in SD for Different Internal Number ranges by Depot(plant wise.
For example, my client having 8 depots(Plants). For each Depot client need different number range, means for depot 1 client need one range that is 9000 to 10000. For depot 2 client need number range like 10001 to 20000 like this for 8 depots but document type(sales order, billing, delivery, invoice) is same for 8 depots. How can i achieve this?
As I am fresher I am not getting any clue. If any one did this please provide me the details how to achieve this.
Thanks & Regards,
Muralikrishna
Moderator Message: Do some R&D of your own first.
Edited by: kishan P on Nov 15, 2010 2:24 PMHi Gnana Kumar,
I seen this link, here mentioned that develop the z table with fields like VKORG, FKART, NUMKI. Can I add Depot(plant) filed also?
and here client is having only one Sales Organization.
Thanks & Regards,
Muralikrishna -
Define PO Number Range for XYZ plant
HI,
I want to create the Number Range for PO.
Scenerio: -
I m working in ABC Plant and we define the number ranges for PO i.e starts with 4500000000 series.
But now we have 2nd plant XYZ. So we want to create new runmber range for that (should be start 5500000000).
Plz let me know, how can i define new number ranges for XYZ plant.
RegardsDear Friend,
with respect to plant PO document type restriction not possible, so in this case copy the NB document type define the new document type
SPRO>>MM>>Purchasing>>Purchase order>>Define the no ranges and assign the no range to document type
SPRO>>MM>>Purchasing>>Purchase order>>Define the Document type here you assign that no .range to your document type
Regards
Pramod -
PO Number ranges based on company code
Hi all,
I have a small problem,
when saving a purchase order, diffrent number ranges must be assigned based on the company code,
i found that the below user exit can be used, where i can use EBELN as the purchase order number,
but, how to assign the PO number exactly in between numbers, that is how to assign number ranges.
like:
for companycode 2000, all the PO numbers must lie between 10000000 to 19999999.
for companycode 3000, all the PO numbers must lie between 20000000 to 29999999.
The User exit i found is :
Enhancement: MM06E003
FM: EXIT_SAPMM06E_001
Include: ZXM06U17
I am also creating a ztabel, with number ranges assigned to each combination of company code and purchase org.
But how must i assign the EBELN must be between those number range.
Thanks.
Edited by: vinay k on Mar 22, 2009 1:14 AMHi suresh,
Thank you for the reply,
but the link you gave just says , what i explained above, do u have any more suggestions,
how should i make the system to choose a doc number in the given number range ? *
i read in some threads, we can use ranges,
can anyone tell how to use it, in our scenario.
Thanks. -
Two PR Number Range at single plant
Hi,
Actually we are running MRP, and we want Two type of number range of Purchase Requisition at single plant.
Pls advice it's feasible or not.
Thanx
Paramjeet.Dear santosh,
You can able to maintain different number ranges for PR Base on the document type.
You create one doc type for MRP and assign one number range for it.
For all PR you use the Std doc type NB and assign a number range.
hope this may resolve your issue.
Regards,
velu -
Number range based on different business area for same document type
Hi All,
The scenario is my client wants to give the different number range for a particular document type based on different business area.
Is there any user exit by which I can restrict the same.
Regards,
MeenakshiHello,
Document number ranges are created per company code and fiscal year. You cannot create / restrict the document number ranges per business area.
Business areas a independent of all organizational values, they cut across all company codes.
Regards,
Ravi -
Number range based on change type
Gurus,
In SAP PLM "Engineering Change Management",
my requirement is to have couple of INTERNAL change numbers defined and they should be generated based on the change type.
That mean, for change type "ZAAA", first internal number range(00001 to 49999) should be used, for change type "ZBBB", second internal number range(50000 to 99999) should be used and so on...
Any thoughts on what is the easiest way to achieve this.
Thanks
VardhanHello Vardhan,
This is possible through development only.
We also have similar situation except the number is alphanumeric.
Regards
Prasad K -
Number Range for Returnable Gate Pass.
Dear All,
We Issue an Returnable Gate Pass with Material .
These RGP has common series for all the plants.
For example, in 1200 plant we have issued RGP with series number 4900003295 dated 21.07.08 and in 1400 plant we have issued RGP srl no. 4900003235 dated 03.07.08. The system is generating the number from one Number series only.
This is serious problem.
My Client wants to get the different Number Range for RGP issued from Different Plants.
Points will be awarded .
Please reply.
AVHello,
Please note that Number Range is at Client Level hence you cannot have different number range for different plants. Th same is not possible in SAP.
However there is a workaround, in MIGO we have GR/IR field. In this field we can go in for automatic number range based on Plant. By doing this you can explain you client that though the Material Document number range will remain the same but still by looking at the GR/IR number you can easily differentiate as to which Plant.
You can define the same in Materials Management>Inventory Management and Physical Inventory > Number Assignment > Define Number Assignment for Goods Receipt/Issue Slips
Regards -
Dear All,
Can you please suggest me how to create invoice number ranges based on plants.
One of our customer is having 2 plants. They want to maintain the number ranges based on the plants.
Both the plants are in same company code. Billing type also same.
Please suggest.
Regards,
Rajesh LHi,
First, define the number range based on plant wise in VN01.
For example:
Plant A = P001
Plant B = P002
Your two number ranges may be as followed:
P1 = P001XXXXXXX
P2 = P002XXXXXXX
"xxx* represents the recurring number.
Your requirement can then be achieved using user exit USEREXIT_NUMBER_RANGE found in program RV60AFZZ.
You can then use the following logic to do your coding:
1. Where tcode = VF01 AND VBRK-VKORG = 1000 AND VBRK-FKART = ZF2 or ZF3, ZF4 etc... AND VBRP-WERKS = P001
2. Use internal number range = P1 (i.e. "us_range_intern = 'P1')
3. Repeat the same command for Plant B (i.e. "us_range_intern = 'P2').
Note: In this example I have included the example with inclusion of Sales Org + Billing Type + Plant to arrive at a number range. You may want to define your own restriction(s).
But since you mentioned that the Billing Type are the same, you may want to exclude FKART and allow it to apply to ALL Billing type or alternatively just restrict to ONE Billing type.
Hope this helps.
ABAP would be able to easily assist you with these coding.
Thanks. -
how to generate plant based number ranges, can somebody send me the logic for the same and where to assign the same
thanks....Hi Rajan,
1.Even if you create each sales office as a plant,as per the standard you will not get any number for that plant or sales office right you need to define only the name and discription there is no number range avail for plant creation or sales office creation am I right !
2.You can control the number range at sales order only like if the sales order creates under that sales office you can get specific number range which is related to that sales office through User Exit.
Go through this user exit
USEREXIT_NUMBER_RANGE (program MV45AFZZ)
I hope it will help you
Regards,
Murali. -
Hi all,
My client is having 3 plants under one company code at different locations. He is requesting for different number ranges for all FI postings to plant specific number ranges.
Is is possible to define different number ranges for each plant wise iHello,
This seems to be a requirement for indian taxataion. we had the same scenario and the solution which we followed
is created a user exit which will pick up diffferent number ranges from a Z table which had a combination of company code plant & FI number group. It is activated both from Miro invoicing side and also during FI posting.. For FI postings you have to have a validation to make sure the plant number is inserted in any available fields like (ref key1 or ref key2 which we used ). It reallly involves much of integration between MM & FI.
Hope this helps
regards
Pbb -
Number Range : Plant and Document Type in PO
Dear All,
We have a requirement that PR and PO should have different number range but we cannot create new Document Type.
Is there any User Exit by which we can use same Document Type and have different Number range for different Plants. Both in PR and PO.
Please suggest.
Regards,
VikasPurchase Requisition
Function Module: EXIT_SAPMM06B_001 - Purchase Requisition
Exit Name: M06B0003
Include: ZXM06U18
Purchase Order
Function Module: EXIT_SAPMM06E_001 - Purchase Order
Exit Name: MM06E003
Include: ZXM06U17 -
Plant specific customer master number range
HI Friends,
Is their is any option available in SAP for assigning plant specific number range to customer master record ?
Regards,
Chetan.Dear Chentan,
No you cannot maintain Plant specific number ranges. WHat you can do is create seperate Customer account groups (SH, SP, BP, PY) for each Plant & assign unique number rages to eacg group.
But the above is recomended only if you have couple of plants say 2 or 3 plants. If you have multiple plants then it would to confusions. Also the standard system would not give Customer's outstanding Plant-wise & it can only give company code wise.
Thus having seperate Customer's number range for each plant does not seems to be much beneficial...
Hope the above helps.. .
Reward if useful...
Thanks,
Jignesh Mehta
Mumbai
98700 10230 -
Seperate Number Range Goods Receipt with accordance with plant
Hi expert
I want to different number range accordance with plant, if 2 plant are there i need different range for both the plant
Regard
Nabil> I want to different number range accordance with plant, if 2 plant are there i need different range for both the plant
Hi Nabil..
If you are referring to Material Document No Range for GR/GI then plant wise numbering is not in standard sap. You have to build a customized program to achieve it.
However you can consider GR/GI slip numbers (manual or automatic) settings to enable different numbering apart from Material Doc number if that meets your requirement. You can do this in OMC1
Regards
Shiva
Maybe you are looking for
-
I can't update iPhoto and i movie i photo and i movie the message appear message appear
i can't update iPhoto and i movie i photo and i movie the message appears These apps cannot be accepted by your Apple ID. These apps were already assigned to another Apple ID, and they will be available in that Apple ID's Purchases list. If you don't
-
Legend for a line chart displaying incorrectly
Hi All, I am working with a line chart in webi XI R2. for example conssider the island resort marketing universe. we have 3 resort names like bahamas,US,France and the corresponding "revenue" for year 1999,2000,2001. Now i want a line chart for each
-
Calling a method from custom Class in WD Application
Hi, I wrote a piece of code in method SEARCH for my WD Application. Instead of diectly callling the method I would like to create a class and then call the method. How do we proceed? Do we use SE24 first or can we start creating class from WD applica
-
Command line to automate disk management in 2008 R2
Hi, I am looking for some command line tools to allow me to manage disks in Windows 2008 R2. My idea is to automate some task, such as importing foreign disks, so that I can schedule the task in a regular basis. I know there are various powershell c
-
Class object saving performce issue - (Workflow activity)
Hi, I created a custom activity with a class object. If I call WorkflowDesigner.Save(filename) method, it takes a lot of time for saving class object. public class Abc: AsyncCodeActivity public Class1 Class1Obj get