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

Restore Number Range value

Former Member
0 Likes
1,016

Hi,

I am using a number range in order to fill certain field's value in a customer Infotype.

How can I restore the Number Range value if the Infotype's update wasn't successful.

Is there any FM that restore's the Number Range's value to the previous one ?

Thanks in advance,

Rotem.

1 ACCEPTED SOLUTION
Read only

Peranandam
Contributor
0 Likes
956

check funciton group SNRO, SNR1, SNR2 and SNR3 you will be get FM for reset your number range.

Hi,

I am using a number range in order to fill certain field's value in a customer Infotype.

How can I restore the Number Range value if the Infotype's update wasn't successful.

Is there any FM that restore's the Number Range's value to the previous one ?

Thanks in advance,

Rotem.

4 REPLIES 4
Read only

Peranandam
Contributor
0 Likes
957

check funciton group SNRO, SNR1, SNR2 and SNR3 you will be get FM for reset your number range.

Read only

0 Likes
956

Hi,

I don't want to reset the number range's value.

I want to restore it's previous value if my IT update have failed.

Read only

0 Likes
956

Hi

in your prog Check if update fials if yes reset the current number of the number range using Fm to the one you have ( generated -1) .

Regards

vinay

Read only

Former Member
0 Likes
956

Hi,

In general, Number Ranges cannot be restored, that is why its better to do all checks before getting the next number of the number range.

Once the number range's number is incremented it cannot be reversed.

So this will definitely introduce some gaps in the assigned numbers.

Regards

Karthik D