‎2008 Jan 27 4:54 AM
I have to create a batch for co01 tcode. in that i have to use Number range Object based on 3 parameters. those may varie in runtime.there are 731 combinations are there. for each combination have to use a new Number range start from "0000" to "9999". how can i get a particular number range in runtime.
‎2008 Jan 27 8:31 AM
You have several possibilities.
Here you have two:
1. use tx SE37 and search for number (at least, one of these FM returns a sequential number for a given key)
2. create custom table with two fields: key(10) and currentvalue (int) everytime you need a value, update this custom table with the key you have and adding 1 to currentvalue.
Cheers,
Satish.
‎2008 Jan 27 5:21 AM
Hi Venkat, try like this.
Use include MV45AFZZ in SAPMV45A Program
FORM USEREXIT_NUMBER_RANGE.
pls reward if found helpful.
cheers,
Hema.
‎2008 Jan 27 8:31 AM
You have several possibilities.
Here you have two:
1. use tx SE37 and search for number (at least, one of these FM returns a sequential number for a given key)
2. create custom table with two fields: key(10) and currentvalue (int) everytime you need a value, update this custom table with the key you have and adding 1 to currentvalue.
Cheers,
Satish.