RV_BELEG Number assignment Buffering
SD is serialized with number range object RV_BELEG:
CAUTION: On Okt/8th/97, an important component was added to this note. If you have already implemented the note, note the following addition:
To ensure that there are no gaps in invoice lists, change Include LV60AU11 as described below.
The number range object RV_BELEG is not buffered (as delivered) and, normally, should not be buffered for a billing document, or, in Italy, for the delivery note (for completeness reasons).
For releases up to 3.0: apply Note 23698 and then proceed as follows:
Buffer object 'RV_BELEG' but not for the number intervals of the
billing document and delivery note.
Call Transaction SNRO -> Object name 'RV_BELEG' -> Change -> Edit -> Set-up buffering -> Main memory
Number of numbers in buffer 100.
Development requests 26219 and 26233 were submitted in 1996 to solve the problem.
As of Release 4.5A, in the delivery for delivery documents you can separately deactivate the buffering of the number range object RV_BELEG. To do this in Customizing maintain the corresponding parameter under 'Global shipping settings' (Table TVSHP).
For Releases earlier than 4.5A, in the delivery and for the other sales document categories if necessary transfer the following modifications into your system:
- 1. Prevent buffering for the billing document
------------------------------------------ Include LV60AU02:
----------------
...
...
...
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
NR_RANGE_NR = DA_NUMKI
OBJECT = 'RV_BELEG'
IGNORE_BUFFER = 'X' "<--- MOD
IMPORTING
NUMBER = XVBRK-VBELN.
...
...
...
- 2. Prevent buffering for billing documents (invoice lists)
----------------------------------------
Include LV60AU11:
---------------------------------------
...
... CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
NR_RANGE_NR = DA_NUMKI
OBJECT = 'RV_BELEG'
IGNORE_BUFFER = 'X' "<--- MOD
IMPORTING
NUMBER = XVBRK-VBELN.
...
...
- 3. Prevent buffering for delivery note
- 4. (Releases up to and including 3.1I): ----------------------------------------
Include FV50XF0B, Routine BELEG_SICHERN:
---------------------------------------
...
...
...
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
OBJECT = 'RV_BELEG'
IGNORE_BUFFER = 'X' "<--- MOD
IMPORTING
NUMBER = XLIKP-VBELN.
RETURNCODE = RETC
...
...
...
(Releases as of 4.0)
---------------------------------------
Include FV50XF0B, Routine NUMMERNVERGABE_LIEFERUNG:
As of Release 4.5B, the indicator 'IGNBF' 'No doc.number buffering' of table TVSHP is evaluated. If this global setting is not made, buffering can be carried out, as in Release 4.0B, by means of the following program change.
---------------------------------------
...
...
...
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
NR_RANGE_NR = TMP_NUMKI
OBJECT = 'RV_BELEG'
IGNORE_BUFFER = 'X' "<--- MOD
IMPORTING
NUMBER = XLIKP-VBELN.
...
...
...
Additional key words
NRIV, VL04, locks
No comments:
Post a Comment