Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Number Range

Former Member
0 Likes
796

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

5 REPLIES 5
Read only

Former Member
0 Likes
752

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

Read only

Former Member
0 Likes
752

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

Read only

0 Likes
752

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

Read only

Former Member
0 Likes
752

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?

Read only

0 Likes
752

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