01-17-2008 12:59 PM
Good Morning,
When using function NUMBER_GET_NEXT to get the next number in a range created by us (Z3_REGARAN) the system can't get the next number.
The problem is that, when performing module LOCAL_BUFFER inside function NUMBER_GET_NEXT and when calling function (inside perform LOCAL_BUFFER):
CALL 'ThNoGet' ID 'BNRIV' FIELD BNRIV
ID 'NO' FIELD G_NOIVBUFFER
ID 'QUAN' FIELD P_QUANTITY
ID 'PERCENT' FIELD TNRO-PERCENTAGE
ID 'NONRSWAP' FIELD TNRO-NONRSWAP.
the sy-subrc generated is 11 (Buffer Overflow).
How can i solve this, the Number Range Object seems ok...
Regards,
Pedro Gaspar
01-17-2008 1:07 PM
I think this is due to SAP buffer is too small to hold the number ranges in buffer,
Try to reduce the "No. of numbers in buffer" or make it 0 in the SNRO
that will resolve this issue
a®
01-17-2008 1:07 PM
I think this is due to SAP buffer is too small to hold the number ranges in buffer,
Try to reduce the "No. of numbers in buffer" or make it 0 in the SNRO
that will resolve this issue
a®
01-17-2008 2:30 PM