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
1,014

how to create number range

I need something from 0001 to 9999

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
989

It needs to be an assignment number. It should start from 0001 and go upto 9999.

I dont know how to create an interval

Go to transaction <b>SNRO</b> to create it and use FM <b>NUMBER_GET_NEXT</b> to get numbers in your report. -;)

Greetings,

Blag.

7 REPLIES 7
Read only

Former Member
0 Likes
989

Hi,

Go to transaction SNRO. There you need to give the number range object name.

Then create intervals for the same. SNR0 is the function group. and the NUMBER_GET_NEXT is the function module to use.

http://help.sap.com/saphelp_47x200/helpdata/en/2a/fa02e3493111d182b70000e829fbfe/frameset.htm

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
989

For what you want to create the no. range?

Regards,

Amey

Read only

Former Member
0 Likes
989

Go to transaction <b>SNRO</b> to create it and use FM <b>NUMBER_GET_NEXT</b> to get numbers in your report. -;)

Greetings,

Blag.

Read only

Former Member
0 Likes
990

It needs to be an assignment number. It should start from 0001 and go upto 9999.

I dont know how to create an interval

Read only

0 Likes
989

As we told you...You must go to tx. SNRO... -;)

Press "Create", assign data element and corresponding data, press "Range Numbers" and "Intervals", use the FROMNUMBER and TONUMBER fields. Save and Activate.

Then, using "NUMBER_GET_NEXT" you can get the correlative range in your program.

Greetings,

Blag.

Read only

0 Likes
989

Megan, no need to open a new thread. We could have continued with your previous

Regards,

Rich Heilman

Read only

Former Member
0 Likes
989

Hi Rich

Thank you for all your assistance. You are really a great resource on SDN. Today is just a bad day for me!!