12-12-2008 7:00 AM
hi experts:
I use this function to get the next number,but I have one problem here, the numbers are not one by one,for example,I get the number "1000000001",but the next one is "1000000009",but not 1000000002.
Does anybody would like to solve this problem?Thanks.
the code is:
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01'
object = 'ZYFK_NUM'
IMPORTING
number = head_id
returncode = returncode1
EXCEPTIONS
interval_not_found = 1
number_range_not_intern = 2
object_not_found = 3
quantity_is_0 = 4.
12-12-2008 7:03 AM
Hi
I think you have mentioned No. of numbers in buffer as 10 in the SNRO tcode please reset it to 0.
Regards
Ramchander Rao.
12-12-2008 7:03 AM
Hi
I think you have mentioned No. of numbers in buffer as 10 in the SNRO tcode please reset it to 0.
Regards
Ramchander Rao.
12-13-2008 3:09 PM
thanks.
I have set the buffer as 0,but the situation still boring me.
how it can be solved?
thanks all!
12-13-2008 4:10 PM
Hi,
In your function module there is a import parameter Bypass_buffer ( or similar kind as i am unable to access SAP moment)
call function 'NUMBER_GET_NEXT'
exporting
---
bypass_buffer = 'X'. "Please check this is one of the parameters)
try this out.
or updata NRIV table to set the initial number back to 1000000000.
update table NRIV set nrlevel = 1000000000 WHERE object = 'your created object name' and
subobject name = 'your created subobject name'
or just wait till the buffered numbers get completed ( up to 1000000009) then onwards as you set 0 buffering you will get normal numbers.
Best Regards
Ramchander Rao.K
Edited by: ramchander krishnamraju on Dec 14, 2008 5:59 AM
12-15-2008 1:09 AM
12-12-2008 7:10 AM
12-12-2008 7:11 AM
Dear Huiqing,
http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa0372493111d182b70000e829fbfe/frameset.htm
Regards,
Flavya