Variant Tables With Database Link Do Not Support The Shorter Material Lengths in Compatibility Mode
Variant Tables With Database Link Do Not Support The Shorter Material Lengths in Compatibility Mode
3334778 - Variant tables with database link do not support the shorter material lengths
in compatibility mode
Component: LO-VCH-VTA (Logistics - General > Advanced Variant Configuration > Variant table Maintenance
in AVC), Version: 3, Released On: 22.05.2023
Symptom
A variant table is being linked to a database table, which contains a material number (MATNR) field. When the material
number field is assigned to a characteristic in the variant table the following error interrupts the processing:
Error while mapping characteristic &1 with field &2. Length mismatch. (CUVT_CHECKS 028)
Other Terms
Variant table, DB-link, database link, CUVT_CHECKS028, MFLE, CU62, dblink
If the compatibility mode is active in a system, the maximum length of character-type characteristics is limited to 30
characters in the characteristic master data transactions. Therefore, it is not possible to extend them to length 40 to
resolve the length mismatch error. After installing the corrections of this SAP Note the variant table field assignment will
consider the current state of the compatibility mode; and if it is active, the corresponding characteristic only has to be 18
characters long to be accepted.
Important remarks:
1. It is possible to define custom material number length limits in each system in transaction OMSL, however, the variant table field mapping
does not consider these settings. It only considers the compatibility mode setting: if it is active the characteristics for MATNR must be at
least 18 characters long, if it is not active the characteristics for MATNR must be at least 40 characters long.
2. The special handling for material numbers is triggered based on data element type, so the linked database field must use the "MATNR" data
element to be considered.
3. If you deactivate the compatibility mode after you have already linked material fields to variant table columns (characteristics) with less than
40 length, you will face dataloss when moving longer database contents into the corresponding variant table. If this occurs you have to extend
the characteristics' length to 40.
Solution
Implement the attached correction instructions or the corresponding support package.
Software Components
Software Component From To And subsequent
SAP_ABA 2
Support Package
Software Component Version Support Package