‎2008 Jan 17 8:11 AM
Hello gurus, I have the following problem:
When using the FM NUMBER_GET_NEXT in a program in test run, if the number retrieved has not been saved to database I want to retrieve the same value next time I run the program.
Is this possible?
Is there a way to reinitialize the counter if the database commit has not been released?
Thanks in advance!
Reward points waiting for you.
‎2008 Jan 17 8:24 AM
Hi Jorge,
Is it possible not to call the FM incase of test run?
Alternatively, if it is something like a simulation run instead of using the FM
1. Read the entry from NRIV for the object directly
2. Increment in the program and use the same.
So this way the number range object will not be skipped.
Kind Regards
Eswar
‎2008 Jan 17 8:18 AM
Hi Jorge,
In my opinion this is not possible. Each time NUMBER_GET_NEXT is called the next number(s) will be issued.
Regards,
John.
‎2008 Jan 17 8:24 AM
Hi Jorge,
Is it possible not to call the FM incase of test run?
Alternatively, if it is something like a simulation run instead of using the FM
1. Read the entry from NRIV for the object directly
2. Increment in the program and use the same.
So this way the number range object will not be skipped.
Kind Regards
Eswar