Professional Documents
Culture Documents
Number 445428
Version 0015
Processor -
Processing Status new
Impl. State Can be implemented
Language E
Short Text Client-wide selection of "old" serial numbers
Component LO-MD-SN Serial Numbers
Long Text
Symptom
Performance problems occur with the selection of serial numbers.
Other Terms
RIEQUI21, IQ09, IQ08, RISERNROLD, serial numbers, serial number inventory
Solution
Implement the attached source code for the report RISERNROLD.
saphtmlp://htmlviewer.sap.com/051Mg0l27ko1XBOhdNMCcm/HTML000002.htm 8/23/2021
Note Page 2 of 4
1. Selection texts:
2. Text symbols:
Symbol Text
001 Number of "old" serial number records:
002 No "old" serial number records found.
003 "Only new serial numbers exist" indicator set.
004 Selection criteria
005 Client:
006 Material
007 Plant
008 Storage location
009 Serial number
010 No "old" serial numbers exist for the selection.
011 "Only new serial numbers exist" indicator
012 not set (only possible system-wide).
013 Additional selection criteria
Usage
Serial numbers that are in stock and were created before Release 4.5 are subsequently referred to as
"old", and those that are in stock and were created from Release 4.5 onwards are referred to as "new".
Before Release 4.5, the system saved only certain stock data (plant and storage location) of the serial
numbers in the table EQUI. As of Release 4.5, there is the separate stock data table EQBS, in which
the system saves all the stock data (for example, stock type, special stock type, special stock
customer).
"Old" serial numbers generally become "new" as soon as the stock data has been added to the table
EQBS. This always happens automatically for individual serial numbers when you execute a goods
movement for the serial number. If you want to convert all of the "old" serial numbers to "new" ones
in one go, we recommend a serial number inventory (see SAP Notes 375643, 371689 and 372344).
As long as the "old" and "new" serial numbers exist next to each other in the system, the system must
execute a two-fold logic for the serial number selection; this may have a negative impact on
saphtmlp://htmlviewer.sap.com/051Mg0l27ko1XBOhdNMCcm/HTML000002.htm 8/23/2021
Note Page 3 of 4
performance.
However, if only “new” serial numbers now exist for the entire client, the indicator "Nur noch neue
Serialnummern" is set in Customizing and the system selects based on a simple logic. As a result, the
performance is improved.
With this program, you determine how many "old" serial numbers you still have for the entire client.
In addition, if the program detects that there are no longer any "old" serial numbers, it automatically
sets the indicator "Nur noch neue Serialnummern vorhanden" in a Customizing table. As of this point
in time, the system selects only in accordance with the simple logic during the serial number
selection.
Prerequisite:
The program RISERNOLD uses the indicator S_EQBS of the table EQUI for the selection. To avoid
inconsistencies that may occasionally occur, and to ensure that the indicator in this table is set
correctly, you should see SAP Note 316868 in advance and execute the analysis report (RISTEQ07)
provided in it.
1. Procedure
2. Selection criteria
To obtain an overview, you should first only work with the first two selection criteria:
sorted by plant, storage location and the number of "old" serial numbers.
If you do not enter any selection criteria, the system issues only the number of "old" serial numbers in
the relevant client:
c) If there are more than 10000 "old" serial numbers for each client, the system always
issues
a simple list.
d) If there are fewer than 10000 "old" serial numbers for each client, the system issues,
saphtmlp://htmlviewer.sap.com/051Mg0l27ko1XBOhdNMCcm/HTML000002.htm 8/23/2021
Note Page 4 of 4
If you select according to the additional selection criteria, the system cannot, however, set the
indicator "Nur neue Serialnummern vorhanden", because to do this, you must ensure that there are no
longer any "old" serial numbers for the entire client. In this case, you must execute the program again
for the entire client as a final step.
Valid Releases
SAP Application
• 46B
• 46C
• 470
• 500
• 600
• 602
• 603
• 604
• 605
• 606
• 616
• 617
• 618
• 617
• 100
• 102
• 103
saphtmlp://htmlviewer.sap.com/051Mg0l27ko1XBOhdNMCcm/HTML000002.htm 8/23/2021