SAP ABAP Data Element LMATSCH (Length of the template for converting material numbers)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-TS (Application Component) Technical Application Support
     BMG (Package) Material Master: Componentization Interfaces
Basic Data
Data Element LMATSCH
Short Description Length of the template for converting material numbers  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type MATLEN    
Data Type INT2   2-byte integer, only for length field before LCHR or LRAW 
Length 5    
Decimal Places 0    
Output Length 5    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Templ.lgth 
Medium 15 Template length 
Long 20 Template length 
Heading T lgth 
Documentation

Definition

You use a template to define a material number format.

Use

You can insert additional characters into the material number format. You define these characters in the template together with your selection characters.

An underscore (_) stands for a selection character and is replaced in each case with a character from the material number. The other characters are inserted at the appropriate positions as in the template.

The system reads numeric material numbers from right to left and other numbers from left to right.

The length of the template must not exceed the length of the material number.

Procedure

Examples

Example of how to save field contents in table TMCNV:

You have defined, for example, the following data in transaction OMSL:

Length of the material number        12

Template for the material number        __/___-__/__

The system determines the following field contents on the basis of this data and transfers them to table TMCNV:

LMATNR    Length of material number:                                12
LMASKE    Length of template for conversion:                    12
ATRENN    Number of different editing characters:        2 (= /-)
ATRENNX    Number of occurrences of all editing characters:            3 (= /-/)
LNGEFF    Number of significant characters:                    9 (= 12 - 3)
MASKE    Template:                                            __/___-__/__
TZ        List of all occurrences of editing characters:                /-/

Dependencies

History
Last changed by/on SAP  19980909 
SAP Release Created in