07-27-2007 9:34 AM
Hi Abapers,
I'm trying to assign a field a number based on a range (SNRO), but when I use the 'classic' function module 'NUMBER_GET_NEXT' what I get it's just an error message which reads that I should assign an internal range (for anybody info, is the RV_BELEG for a kind of sales orders.
Should I program a self-obtain function module for getting that next number, or may I use an standard module?
Best Regards.
07-27-2007 9:40 AM
hi
there r two type of ranges defined
internal
external
internal means you need not specify the no system will automatically generate the no.
external range means you need to give the no.
in you case it must be assigned an internal range and thats why when you r trying to assign a field number it throws an error .
regards
vijay
<b>reward points if helpful</b>
07-27-2007 9:51 AM
Hi
I would strongly suggest that you use the Standard function module. But pls read the Function module documentation. It clearly helps you out for the solution. It also has sample coding.
Reward points id useful.
- Irudayaraj Peter
07-01-2013 5:20 AM
What is the solution, I am also getting the same error.
Thanks and regards
Abhimanyu