Number range for sales document type
Hi,
I am having 1 client under that 5 company codes, ade according to that 5 plants & 5 sales organization.
so for one comapany code including all there are 15 sales document types same for other also
my question is
How can I assign number range for all that?
If i am going to maintain seperate document type it goes to 75
which userexit will help me out for this?
without userexit what is the otherway?
regards,
Rahul
Not only at order level, you will have to use exits at delivery and billing document level also.
For sales documents:
Exit USEREXIT_NUMBER_RANGE in MV45AFZZ
For delivery documents:
Exit USEREXIT_NUMBER_RANGE in MV50AFZ1
For billing documents:
Exit USEREXIT_NUMBER_RANGE in RV60AFZZ
You need to give tables for maintaining numbers for sales, delivery and billing documents. In the exit a select query can be written to fetch the data based on the parameters like sale orgainzation, company code etc.
Regards,
GSL.
Similar Messages
-
Number Ranges for sales document type
Dear All,
I have four company codes. I am assigning the same sales order type for all company codes.
I want to have diffrent number ranges for diffrent company codes for same sales order type. Is this possible?
Please advise
Regards,
Deepu PillaiDear Deepu,
A similar kind of requirement, has been stated in to the following thread:
[Different S.O. No. Range|Re: User Exit No for assign a different internal document number to VA01;
Include Program: MV45AFZZ
User-Exit: USEREXIT_NUMBER_RANGE
In the above thread, the routine has been modified as per the requirement "Different S.O. No. as per Sales Org."
You may Discuss the same with ABAPer to modify Routine in FORM USEREXITNUMBER_RANGE_; as per the requirement: "Different S.O. No. as per Company Code"
The user exit is called up in the FORM routine BELEG_SICHERN.
You need define the number range depending on the selling company (VKBUR)
Tabl
Best Regards,
Amit
Note: For further assistance, if Reqd.:
[SD Doc. No. Range Enhancement|http://www.saptechsolutions.com/pdf/SDDocumentNumberRangeEnhancements.pdf] -
External number range for Sales Document
hi,
I have a requirement to generate external number range for sales document. I tried this user exit (MV45AFZZ) to generate external number.
FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.
Endform.
between these form and enform i written my logic and passing to US_RANGE_INTERN. But can one suggest where to write to generate external number range.
Can any one help me out.
Thanks and regards,
Vijay.Hi
Here you can assign a different number range for your sales order.
The number range is linked to the order type (field VBAK-AUART), this link is done in customizing.
It usually uses this routine if it can't assign the range in customzing because (for example) for different sales area it need have different number ranges for the same order type.
So you should create an external range by trx SNRO and then assign the number before entering in the main screen of va01 or saving the document.
When you need to assign the number depends on how you want to manage your range.
If you assign the number in entering you has to make sure to not assign the same number document to severals order to be created in the same time by several useers.
Max -
User exit for VA01 - No range for sales document type
Dear Experts,
In our project, we have 8 sales organizations and these are assigned to 8 different company codes. Actually our client doesnt want to maintain different document types for each Sales Organization. We need to maintain one document type for all the sales organizations and different No ranges for each sales organization. So can any one guide me on User exit available for this purpose.
Thanks & Regards,
Rahulhi,
pls refer to the following user exit.
Include prog : MV45AFZZ
USEREXIT_NUMBER_RANGE
Use this user exit to define the number ranges for internal document number assignment depending on the required fields. For example, if you want to define the number range depending on the sales organization (VKORG) or on the selling company (VKBUR), use this user exit.
The user exit is called up in the FORM routine BELEG_SICHERN.
reg
Deepak -
Year wise Number Ranges for Sales Documents
Hi,
Can any body tell me how to reset number ranges of SD Documents when fiscal year chane.
ThanksHi Kapildev,
In standard functionality this function is not there you need to look forward for user exit.
Check this:
User exits in the program MV45AFZZ
USEREXIT_NUMBER_RANGE
Use this user exit to define the number ranges for internal document number assignment
depending on the required fields. For example, if you want to define the number range
depending on the sales organization (VKORG) or on the selling company (VKBUR), use
this user exit.
The user exit is called up in the FORM routine BELEG_SICHERN.
Thanks,
Swamy H P -
Multiple Number Ranges for AP Document Type not getting triggered
Hi all,
We are posting receivables in the system using BAPI_CTRACDOCUMENT_CREATE. We have huge data of 3.9 million records for which receivables has to be posted. So multiple number ranges has been configured in the system for AP document type.
The issue is even though multiple number ranges for mass processing are configured in the below location in SPRO, none of them are getting triggered. The number range at the first level on the screen is only getting triggered, due to this it is taking lot of time to post documents. Any help on this?
Financial Accounting(new)
Contracts Accounts Receivable and Payables
BasicFunctions
Postings and Documents
Document
Maintain Document Assignments
Document Types
Maintain Document Types and Assign Number Ranges
Regards,
Karthick.Karthick:
Mass ranges are only used for FICA parallel mass activities. For your situation, you can define and assign multiple ranges for individual processing in the same IMG activity. Those would then be chosen for your mass postings.
regards,
bill. -
The number range for sales documents
Hi all,
I have difined a new number range intervals, but the "current number" doesn't match with saved sales documents' number.
I guess that's because there are old saved sales documents are remained in the system which had saved before I defined a new number range intervals.
Is there any way to delete past saved sales orders so that newly defined numbers are going to be assigned?
Thank you.To Lakshmipathi,
Thank you for your prompt reply. very appreciated.
ok, so now I understand that I can't delete saved sales orders from the system if these are important documents such as billings.
so If it's impossible to delete old documents in the system, I still need sales documents' number to match the numbers which I have newly defined.
For example, I recently defined a interval no. as below,
Interval No. From Numer To Number Current Number
Z1 010000000 019999999 010000503
I have assigned the interval no. "Z1" to a sales order type. and then created a sale order using the sales order type.
The sales order No. showed "010000504" which looks fine. But when I go back to the customizing to see how the "Z1"'s current number has changed,(I expected it to be "010000504"), I find the current number now became totally random number such as "010000913".
From here, again when I create sales orders, it is "010000505", "010000506", "010000507",,,,,and so on.
But the current number doesn't change at all from "010000913".
I'm lost and need a kind help from SAP pro.
Thank you very much,
Best regard
Misaki Nagaya -
Document Number Range for Sales Documents
Hi,
Can we maintain Same number range at company code level?
eg. client 800
company code:- X(Sales order no 1001)
company code:- Y(Sales order no 1001)
Regards,
Amol.Hi,
You need to develop a new table for intervals and for number ranges use standard table NRIV for from and to numbers. The tabel structure as -
Company Code Billing Type Interval No
1000 F2 01
2000 F2 02
NRIV Table
Interval No From To
01 10000 20000
02 11000 21000
But as your requirement of same series will not happen in same client.
Rewards if it helps
Regards
Goutham -
Regarding number ranges for sales documents.
Dear Guru's,
There are 2 number range fields in defining a sales document(i.e Int. & Ext.).
Actually we specify either internal or external ,but if we specify both what will happen.
Thanks in advance,
CherukuriHi,
The number ranges can be either external or internal. If it is external internal you need to mark it in the VN01 and at the same time delete the internal assignment number in the VOV8. If the internal assignment field in VOV8 is not blank the system will keep generating internal numbers.
If it is external no. range the current no. that is being used cannot be seen on the VN01 screen. And while creating the sales order itself the sytem will prompt you to enter a number between the available range. If you dont enter the same system will not allow you to proceed further.
Kind Regards
Chakradhar -
How to determine number range for billing document based on company code ..
Hi Friends!!
can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
Amit...plz help me!!Hi Amit,
1. Define different Billing Document number ranges in SPRO -> Sales & Dist -> Billing -> Define number ranges for billing docs. (VN01). Make sure that all are internal number ranges.
e.g.
NO. From number To Number Current number Ext
A1 0930000000 0930999999
A2 0940000000 0940999999
A3 0950000000 0950999999
2. Define a Ztable ZNUMB_RANGE as follows
Comp. Code | Tax departure country | Billing Doc Type | Number Range
100 IN F2 A1
200 IN F2 A2
200 US F2 A3
3. In user exit RV60AFZZ (USEREXIT_NUMBER_RANGE)
Read table ZNUMB_RANGE for Number Range with Comp. Code, Tax country and Billing Doc.
If found pass this number range value to us_range_intern.
us_range_intern is a standard SAP variable which tells program which number range use to create the current document which is under process.
Let me know if you are clear.
Thanks,
Mandar -
Number ranges for material document (migo) and inventory documents
Hi Gurus,
We need a different number ranges for goods receipt documents and inventory documents because we have different company merged in to one box.Can any body tell me on what basis we differenciate the number ranges how to configure it.
If we take PO, we have different doc types and we assign number ranges to those documents. in case of Miro , it is the single transaction code used by different companies and how to give different number ranges.
Regards,
Sri........Hi,
I think number ranges of inventory documents are on client level not on company code wise . because even though your creating new document and assigned different number ranges for the documents but these while assigning ranges to T codes (MIGO or MIRO) you dont have option like company codes ( tcode OMBA) so number ranges for inventory documents are at client level not at company code level. -
Define a number range for settlement documents
Hello,
We are getting below error while doing T-code AIBU asset settlement.
Define a number range for settlement documents
Message no. KD 522
Diagnosis
No number range for settlement documents defined in controlling area ACA2.
The settlement document is a document type in its own right, which is used for cancelling settlements and repeating month-end closes.
Procedure
Define a number range for settlement documents. Choose Maintain number ranges for settlement documents.
Thanks,
RatnamHi......
Try to use the following T.code : SNUM,
1. Group -> Maintain and Group -> Insert
2. Give your number range a description.
3. Specify one interval for the number range. If you use up this range, you can add more intervals.
4. Select one or more of the controlling areas listed in the block "Not assigned".
5. Place the cursor on the number range to which you want to assign the selected controlling areas.
6. Use Assign element group to assign the controlling area(s) to the appropriate number range and save your entries.
Note that all intervals for the selected number range object are deleted in the target system first. After the import, only the intervals you export are present. The number statuses are imported with their values at the time of export.
Dependent tables are not transported or converted. Note that the appropriate application table is also transported for number range objects used for group maintenance.
And use :OKG6
I hope you will get some idea.
Regards
vamsi -
No. range for WA document type
Hi All,
Its a client requirement that they want to create No. Range for WA document type for each plant... we have more 300 plants all over india... how to achieve this.. plz suggest any user exit i need to use
ThanksYou can use functional module MB_CREATE_MATERIAL_DOCUMENT by using Z table.
Check the similar discussion for more details Number range for MIGO and MIRO at plant level.
Regards
Dev -
External number range for billing document (Invoices)
Hi guys,
I have a requirement from one of client to implement external number range for billing documents.
I can only see a provision for internal number range in customising for Billing document type.
Please can you assist me with detailson how to set up external number range for billing documents (Invoices).
Thanks, FelixHi Felix
I think the similar requirement is in Venezuela also.
So pl. check the SAP Note 849438 . As per the note :-
The solution is delivered in the indicated support packages. In case you can not implement the correspondin support package for your release immediately, please follow the procedure described below:
1. In the Data Dictionary Editor (transaction SE11) please open the definition of domain J_1AOFFNREL, go to the fixed values and add value 'P' with description 'Number Assingment using Prenumbered Forms' in a position so that the possible values remain sorted alphabetically.
2. In the Message Editor (transaction SE91) please go to message class ICC_CN and add the new message 837 with text '&1: Official doc. numbering is not available for delivery documents!'.
3. If you are implementing the note in release 4.6C, please create the following function modules:
o OFF_NUMBER_LOCAL_ASSIGN_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_ASSIGN_TW
o OFF_NUMBER_LOCAL_NUMBERING_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_NUMBERING_TW
o XBLNR_BUILD_AND_SPLIT_VE in function group IDSDCNUTIL, and then copy the interface (all parameters and exceptions) of the function module XBLNR_BUILD_AND_SPLIT_PECL
4. Implement the source code corrections as shown below.
The following customizing actions should be also executed when the solution by delivered by the corresponding support package. If you applied the solution manually, then please use the IMG activities listed in the section Cross-Application Components -> General Application Functions -> Cross-Application Document Numbering -> Taiwan as a reference. After the installation of the corresponding support package the customizing node for Venezuela can be used.
1. Enable the use of business place for country Venezuela as described in the OSS Note 726537.
2. Define the necessary document classes and configure the document types you would like to get an official document number as relevant for official document numbering in the desired mode. Please check the OSS Note 571376 for some explanations about the meaning of the different settings.
3. Define the necessary number ranges and intervals and assign them to the combination of company code, business place, document class and validity period. If you use the customizing activity for Taiwan, then please leave the prefix field empty.
Regards
Amitesh -
Number range for billing document..its urgent!!
Hi Friends!!
can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
Amit...Hi,
Look at object RV_BELEG in t.code snro. It is the number range object for SD Documents. Click on Number Ranges and then Intervals to view the different number ranges and associated intervals.
Now look at t.code 0vlk, which is Define Delivery Type. If you double-click on a delivery type BV it goes to more detail. See the field: "NR int. assgt.". This is the number range for delivery type BV.
This number range will be used in any company code or tax departure country that this delivery type is used in.
Regards,
Shamma
Maybe you are looking for
-
i recently bought a macbook pro and i made a new apple id. my last macbook had a different id as well and i was wondering if there's a way of transferring all my music from the other laptop to the new one without having to use my old apple id? if it
-
Hi folks... Just got my Xperia Tablet Z, opened it about an hour ago. About half an hour into playing with it, a blue line appeared on my screen from top to bottom (in landscape mode). Do you think this is anything I can attempt to fix myself or shou
-
Why can't I download past purchases?
I have a lot of songs that I purchased on ny old Mac. I have "authorized" my new one, but still can't get those songs downloaded on my new Macbook. Any suggestions?
-
Merging multiple records onto one page
I have two questions for successfully setting up a mail merge: 1. I have a .csv file that contains multiple records. All but one column contains one line of text. I have one column in the record that contains several paragraphs of text. Problem:
-
Help Recover Photos in iPhoto6
While working in iphoto 6, my computer was accidently turned off resulting in iphoto crash. My photos are no longer accessable in iphoto, however, thumbs and albums are fine. I found all of the missing photos, about 15,000, in a file called "Recovere