cancel
Showing results for 
Search instead for 
Did you mean: 

Number Range

Former Member
0 Kudos

Hi,

I am creating a new Z FORM which is same as FORMABSENC.

To get the number range for that FORM can i use T-Code SNUM and declare the number range or is there any other method to do.

Thank you,

Ramu N.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186746
Active Contributor
0 Kudos

Hi,

It's usually better to use Fm NUMBER_GET_NEXT

It's a released, well documented function module.

Kind regards, Rob Dielemans

Former Member
0 Kudos

Hi Rob,

I am using the same FM NUMBER_GET_NEXT. In this FM we have a select on TNRO.

My Object Name is not in the TNRO table. So i should first make an entry into that table.

How to make an entry into that table? by SNUM T-Code or there is any other process.

Thank you,

Ramu N.

former_member186746
Active Contributor
0 Kudos

Hi Ramu,

Number ranges are normally maintained by transaction SNRO.

You can create your own number ranges with that as well.

After creating, it will update the table NRIV (this table stores all of the number ranges and their current value)

Fm NUMBER_GET_NEXT is the best way to update a number range, because this function module also handles problems related to buffers.

Kind regards, Rob Dielemans

Answers (0)