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

Generate Internal Numbers

Former Member
0 Likes
395

Hi,

I have to generate internal numbers in the program.

Requirement is each time user clicks on button A, then a number with 12 digits should generate (Ex: 891000000001).

And, if he will click on button B, then, the previous internal number should appear (Ex: 891000000000).

I have used a custom table to store this number each time user clicks.

But, Is there any standard function module to generate this? Because this will increase performance and a custom Ztable creation.

Please reply me ASAP.

1 ACCEPTED SOLUTION
Read only

naveen_inuganti2
Active Contributor
0 Likes
357

Transaction Code: SNRO.

Function Module: NUMBER_GET_NEXT.

Will resolve your problem. Search in SCN with above FM name for more clarification.

Thanks,

Naveen.I

Hi,

I have to generate internal numbers in the program.

Requirement is each time user clicks on button A, then a number with 12 digits should generate (Ex: 891000000001).

And, if he will click on button B, then, the previous internal number should appear (Ex: 891000000000).

I have used a custom table to store this number each time user clicks.

But, Is there any standard function module to generate this? Because this will increase performance and a custom Ztable creation.

Please reply me ASAP.

1 REPLY 1
Read only

naveen_inuganti2
Active Contributor
0 Likes
358

Transaction Code: SNRO.

Function Module: NUMBER_GET_NEXT.

Will resolve your problem. Search in SCN with above FM name for more clarification.

Thanks,

Naveen.I