12-24-2014 2:09 PM
Hi guys,
I have an issue with function module NUMBER_GET_NEXT, it is returning old numbers from previous years
for example I'm passing this parameters:
NUMBER_GET_NEXT
NR_RANGE_NR | 01 |
OBJECT | ZWTY_MAST |
QUANTITY | 00000000000000000001 |
and it is returning
NUMBER | 007000139 |
In the transaction SNRO I have:
Intervals:
No | From number | To Number | Current Number |
01 007000000 007999999 7000146
Can somebody reply?
thanks a lot
12-24-2014 2:31 PM
In SNRO for the Number Range Object, if To Year is checked, the numbers are reset every year.
For such cases, you need to pass the year in the parameter TOYEAR when calling FM NUMBER_GET_NEXT
12-24-2014 2:31 PM
In SNRO for the Number Range Object, if To Year is checked, the numbers are reset every year.
For such cases, you need to pass the year in the parameter TOYEAR when calling FM NUMBER_GET_NEXT
12-24-2014 3:08 PM
Hi,
Please check SNRO in To-year flag is checked or not?
and also check that "No interval rolling" flag....
else old number will get roll again....
Regards,
Naga
12-24-2014 3:40 PM
12-24-2014 3:40 PM