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

Function to update an external range

Former Member
0 Likes
329

Hello,

I need an internal counter for own development, but I do not want to create a table (Z) to store it. Is it a good idea to use an external range? How can I update it in every use (does exist any function?)?

Thanks in advance,

Ricard.

2 REPLIES 2
Read only

Former Member
0 Likes
296

Hi again,

I have found a function called NUMBER_GET_NEXT. I am trying to use it to get the next number of a sales order document (for example range 02). Does anybody know how to use this function?

Thanks,

Ricard.

Read only

Sm1tje
Active Contributor
0 Likes
296

First create your own number range object in transaction SNRO. Determine the range for this and then you can use the function module number_get_next.

For more information how to use this have a look at the FM documentation (button on the right when displaying function module in transaction SE37). That should give you an idea on how to use it, but first you have to create number range object.

Is it a good idea, sure it's a good idea, that's what number range objects are for.