on 02-19-2014 3:16 PM
Hi,
We are going to use the userexit "USEREXIT_NUMBER RANGE" to have different numbering for the invoices of each company code.
and then I need to Split this number range for each company code.
My question is: where do we have to create the subranges for eachcompany codes:
COMPANY CODE A -- NUMBER RANGE ID A1 -- FROM 901000000 to 9019999999
COMPANY CODE B -- NUMBER RANGE ID B1 -- FROM 902000000 to 9029999999
etc
The problem is that I could not créate number ranges IDs A1 and A2 because it would be overlapping with nr.range ID 80 previously defined.
Could anyone clarify me this issue?
Thanks in advance,
LG
Hi,
please follow the below Points
1.create a Z table and maintain your parameters like company code + Billing type+Number range
2.Use the Exit- USEREXIT_NUMBER_RANGE (RV60AFZZ)
in the billing ,system will use the above user exit and number range will be determined from the Z-Table and which will be by pass the standard (which is maintained in the Billing Document ).Fill number range used when saving the invoice with the number range from table Z**** for the relevant company code (VBRK_BUKRS) and Billing type (VBRK-FKART).
you can check the Note 595327 for this .
Hope this helps to you , if not please let me know.
regards
sundar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
where do we have to create the subranges for eachcompany codes
Can you reconfirm your above statement as we normally consider Sales Organization as the highest hierarchy for SD. Also please let me know how many sales organizations one company code have.
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello LGI,
Do not try to create the Number range interval "80 from 9000000000 to 9099999999"
Create as per your requirement the two as you mentioned
"COMPANY CODE A -- NUMBER RANGE ID A1 -- FROM 901000000 to 9019999999
COMPANY CODE B -- NUMBER RANGE ID B1 -- FROM 902000000 to 9029999999"
Create a Ztable with the following combination;
Comp Code / Billing Type / Number Range Interval
COMPANY CODE A / F2 / A1
Try to put the logic in the User exit so it will check the combination from the above table and as per the requirement it will create the Billing document number for the specified company code.
Try to do it in the DEV and let me know the outcome.
Thanks,
Suman$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
14 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.