2007 Jun 19 10:41 AM
Hi All Sap Experts
Please tell me How to create Number Range
I tried with the Transaction Code " SNRO "
But Im getting The following error
Dialog box title : " Buffering Methods ".
Message in the Dialog box is :
-Numbers may be lost!
-Do not use for Financial accounting Documents!!
?. Do you want set this Buffering method?
And another error is :
Dialog box title : " Transport number range intervals "
Message in the Dialog box is :
The number range intervals are not included in automatic customizing changes.
Transport all changes made within range interval maintenance must be
triggered manually.
In the initial screen for range interval maintenance function
<b> Interval</b> --> <b>Transport</b>
Please note the information that you get when transporting intervals.
So please tell me the solution for this error.
Thank you
Basu
Another is
Hi All Sap Experts
Please tell me How to create Number Range
I tried with the Transaction Code " SNRO "
But Im getting The following error
Dialog box title : " Buffering Methods ".
Message in the Dialog box is :
-Numbers may be lost!
-Do not use for Financial accounting Documents!!
?. Do you want set this Buffering method?
And another error is :
Dialog box title : " Transport number range intervals "
Message in the Dialog box is :
The number range intervals are not included in automatic customizing changes.
Transport all changes made within range interval maintenance must be
triggered manually.
In the initial screen for range interval maintenance function
<b> Interval</b> --> <b>Transport</b>
Please note the information that you get when transporting intervals.
So please tell me the solution for this error.
Thank you
Basu
Another is
2007 Jun 19 10:42 AM
hi,
Create number range object using OYSN.
Then call the following function modules.
FORM get_next_id CHANGING p_discrep.
DATA: last_id LIKE zrecaudit-discrep,
quant LIKE inri-quantity, "dummy
code LIKE inri-returncode. "returncode
CALL FUNCTION 'NUMBER_RANGE_ENQUEUE'
EXPORTING
object = 'ZRECAUDIT'
EXCEPTIONS
foreign_lock = 1
object_not_found = 2
system_failure = 3
OTHERS = 4.
IF sy-subrc = 0.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01'
object = 'ZRECAUDIT'
IMPORTING
number = last_id
quantity = quant
returncode = code
EXCEPTIONS
interval_not_found = 1
number_range_not_intern = 2
object_not_found = 3
quantity_is_0 = 4
quantity_is_not_1 = 5
interval_overflow = 6
buffer_overflow = 7
OTHERS = 8.
CALL FUNCTION 'NUMBER_RANGE_DEQUEUE'
EXPORTING
object = 'ZRECAUDIT'
EXCEPTIONS
object_not_found = 1
OTHERS = 2.
ENDIF.
ENDFORM. " get_next_id
<u><i><b>refer the links</b></i></u>
http://www.sap-img.com/ge003.htm
http://www.sap-basis-abap.com/sapmm009.htm
http://www.erpgenie.com/abap/code/abap33.htm
http://www.kabai.com/abaps/z26.htm
Rgds
Anversha
2007 Jun 19 10:45 AM
Hi,
I don't there is a automated way of doing as the dates do NOT follow a numbering sequence. What you can do is to create a number range for getting the last two digits every day and manually concatenate the date with the serial number.
However, as you have to reset the counter every day that might be a issue.
GO THROUGH THIS LINK.
/people/vikash.agrawal/blog/2006/04/05/load-lots-of-data-147faster148-with-buffering-number-range
NUMBER_GET_NEXT Get the next unique number in a number range. Use tcode SNRO for maintaining number ranges.
SNRO
Maintain number ranges (use FM 'NUMBER_GET_NEXT' to retrieve next number in range.)
Regarsd
2007 Jun 19 11:14 AM
Hi All Sap Experts
Please tell me How to create Number Range
I tried with the Transaction Code " SNRO "
But Im getting The following error
Dialog box title : " Buffering Methods ".
Message in the Dialog box is :
-Numbers may be lost!
-Do not use for Financial accounting Documents!!
?. Do you want set this Buffering method?
And another error is :
Dialog box title : " Transport number range intervals "
Message in the Dialog box is :
The number range intervals are not included in automatic customizing changes.
Transport all changes made within range interval maintenance must be
triggered manually.
In the initial screen for range interval maintenance function
Interval --> Transport
Please note the information that you get when transporting intervals.
So please tell me the solution for this error.
Thank you
Basu
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |