‎2007 Jul 17 5:48 PM
Hi,
Is it possible for me to maintain a number range, that generates a number with respect to a company and also with respect to a plant? If Possible how.
Regards
Maneesh Chandran
‎2007 Jul 17 5:49 PM
Hi
Yes you can.
U need to create a your own range by trx SNRO.
When u create the range you need to assign WERKS_D as data element for the subobject, u don't need to use company code because every plant can be assigned to onlu one company code.
Max
‎2007 Jul 17 5:50 PM
Hi
Using the Transactions SNRO and SNUM create a Number range object and maintain the Number ranges with different id's
Then in the respective application documnet you can write some code in a user exit and see that based on the plant and Company code a particular range has to be created.
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Jul 17 6:20 PM
Hi,
Using one number range object can i generata a number for subobject company and plant(i need to give teo sub object). at present only one sub object is there. is it possible to maintian two sub object.
waiting for your reply
Maneesh Chandran
‎2007 Jul 17 5:57 PM
It doesn't work like that. You will create a number range object and several number ranges within that using tcode SNRO. After that you can call the function module NUMBER_GET_NEXT to get the next number as you need. But to tie it to a company code and plant will not be possible. What exactly is this number going to represent?
‎2007 Jul 17 6:17 PM
Hi,
Actually i need to generate a number range plant and series group wise. example two plants are there 1000 and 2000 , And four series group a1, a , b1 and b2. A1 and a2 are linked to plant 1000 and other two are linked to another plant. now if am generating a document for plant 1000 with series group A1 i need to generate one number. Can that be done. I think in one number range only one sub object can be maintain. Plz help me out
Maneesh Chandran