SAP ABAP Data Element /AIN/AIVLL (Element Identifier Variable Length)
Hierarchy
AIN (Software Component) AIN 710: Add-On Installation
   AIE-AII (Application Component) Infrastructure
     /AIN/BARCODE (Package) Auto-ID Barcode Support
Basic Data
Data Element /AIN/AIVLL
Short Description Element Identifier Variable Length  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type NUMC1    
Data Type NUMC   Character string with only digits 
Length 1    
Decimal Places 0    
Output Length 1    
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 Var.length 
Medium 15 Variable length 
Long 22 Places for var.length 
Heading VarLngth 
Documentation

Definition

The system determines the element length using this formula:

element length = element identifier variable length value * multiplier + addition factor.

The element identifier variable length specifies the number of characters after the element identifier that contains the value of the element identifier variable length.

The multiplier and addition factor are specified in the fields Multipl. and Addition Factor respectively.

Use

Dependencies

Example

The element identifier for lot number, as defined in the EAN128 standard, is 23. Assume that you decide to use one character for the element identifier variable length.

Further assume that you have the bar code (233) 1233426. Of the first three numbers (233), 23 is the element identifier, which tells SAP Auto-ID Infrastructure that the characters that follow it have to do with the lot number. Now, assume that in Customizing you have set the element identifier variable length as 1 for element identifier it means that the one character following 23 (that is, 3), is the value of the element identifier variable length.

Further assume that the multiplication factor is 2 and the addition factor is 1. You can now calculate an element length of 7 based on the formula:

element length = element identifier variable length value * multiplier + addition factor.

7 = (3 * 2) + 1

This means that 7 characters must follow the element identifier (233), and that these 7 characters make up the lot number. Therefore, in this example, the lot number is 1233426.

History
Last changed by/on SAP  20141109 
SAP Release Created in 210