Ansicht
Dokumentation
MGA00003 - Material Master (Industry and Retail): Number Display
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up ABAP Short ReferenceThis documentation is copyright by SAP AG.
Description
You use this customer enhancement to influence the display of material numbers. This requires you to make at least the following functions available:
- Conversion of the number from the database format to the display format (output)
- Conversion of the number from the display format to the database format (input)
SAP Conversion
Besides the following options, you can set some conversions (such as templates and leading zeros) in Customizing for the Material Master:
- You can dispense with the SAP conversion entirely.
- In this case, you use the following customer exits:
- EXIT_SAPLOMCV_001
- EXIT_SAPLOMCV_901
- You must then set the exception IGNORE_REST.
- You can intervene before the SAP conversion.
- In this case, you use the following customer exits:
- EXIT_SAPLOMCV_001
- EXIT_SAPLOMCV_901
- Here, you do not set the exception IGNORE_REST.
- You can intervene after the SAP conversion.
- In this case, you use the following customer exits:
- EXIT_SAPLOMCV_002
- EXIT_SAPLOMCV_902
- You can mix the above options.
-
Example
You always want to change the SAP display format in your customer exit. In this case, you change the output after the SAP conversion (EXIT_SAPLOMCV_902), and the input before the SAP conversion (EXIT_SAPLOMCV_001).
Searching for Material Numbers / Number Ranges
Please be aware of possible problems when searching for material numbers and possible problems with material number ranges.
Example
You have defined the conversion ### -> MAT-###. The user enters M* as the search term. The result depends on your program. For example:
- All materials since for the user all numbers begin with MAT-
- All numbers of the type MAT-M*
The input conversion essentially determines whether the search provides useful results.
Additional Information
Sample coding has been provided for customer exits EXIT_SAPLOMCV_001 and EXIT_SAPLOMCV_902.
PERFORM Short Reference General Material Data
This documentation is copyright by SAP AG.
Length: 3058 Date: 20240426 Time: 184929 sap01-206 ( 32 ms )