2007 Jul 11 10:52 AM
Dear All,
I am assigning number range to billing document as per our client requirement.
We have 5 plants, for 5 plants I want to use same billing document types i.e.
e.g.--- ZDFD , ZGFD , ZNFD etc...
Clients requirement is that -- we have to use same billing document types for different number ranges.
i.e.. for plant 5101 -- billing doc.-- ZDFD- Number Range0100000000 to 0100099999 and
for plant 5201 -- billing doc.ZDFDNumber Range--0100100000 to 0100299999
For that we have assigned number range in tcode == VN01 for number range key 'FA' === 0100000000 to 0100299999
Also we have used the User Exit to assign different number ranges to same billing doc. types "RV60AFZZ".
For that we have created custom table for number ranges with billing documents and plants.
But the problem I am getting is that when we assign our number range to system ,
system gets our number range but afterwords system overwrites the our number by systems number from number range defined in VN01,by using function module "NUMBER_GET_NEXT".
I want the system have to take the number range that I have defined in custom table not from defined in VN01.
So how to avoid system to take number range defined in VN01.
Plz send the reply as early as possible its urgent.
Thanks in advance.
Regards,
Vikram
2008 Oct 14 6:48 AM