Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/AIN/VC_BARCODE - Define Barcode Types and Application Identifiers

/AIN/VC_BARCODE - Define Barcode Types and Application Identifiers

BAL Application Log Documentation   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

In this IMG activity you define the structure of application identifier types (also known as barcode types). Barcodes may consist of several values, each of which is prefixed by an application identifier (AI). The AI defines a unique set of characteristics for each barcode value such as its length and description.

This IMG activity consists of two views:

  • Application Identifier Type Definition
  • Application Identifier Definition

Follow the steps below to define bar code types and application identifiers:

  1. Define the AI type: This field allows you to specify variations of the UCC/EAN128 format by creating new AI (barcode) types. When you scan bar codes that were not generated by SAP Auto-ID Infrastructure (SAP AII), the system needs to know according to which standard the bar code was created so that it can be read accurately by the scanning device. The AI type allows the system to "decode" this information.
Define the name and the following general parameters for each AI type:
  • Minimum and maximum length

  • AI Type Prefix: an introductory character string that defines the first part of the bar code

  • Application Identifier Delimiter: If the AI uses a variable length data field, it must be closed by a delimiter.

  • Save the entry.

  1. Define the individual AIs for each AI type. You select the appropriate row, and choose Application Identifier in the dialog structure.
You determine the format of the AI using these attributes:
  • Application Identifier (AI): part of the barcode whose function is to precede and identify the fieldnamethat follows it. The AI is user defined and can contain up to 4 characters.

  • AI Part(Partial Field / Subdivision of an Application Identifier): Leave this field blank; it is not currently used.

  • Application: describes how the AI is used, for example, for a delivery number or GTIN. The possible values for applicationare delivered; you cannot change them.

  • Fieldname corresponds to the name of the field on the mobile user interface where you want SAP AII to put the value of this field. You can find the fieldnames defined in the element sets . For example, the fieldname for filter value is FILTER_VALUE.

  • Description: describes the AI .

  • AI Defined.: Used by warehouse management . Always check this box .

  • AI length: defines the fixed or maximum length of the AI

  • AI Delimiter: determines the end of a variable length AI

  • Decimal places: defines the number of decimal places to be applied to the AI

  • Variable length: If you want to shorten the length of a fieldnamevalue, for example to drop trailing zeros, you can define a variable length. If you define a variable length, it overrides the AI length. The system then determines the AI length using this formula: AI length = variable length * multiplier: + addition factor.

  • Multiplier: value that is multiplied by the variable length to arrive at the AI length. AI length = variable length * multiplier: + addition factor.

  • Addition factor: value that is used to determine the AI length. AI length = variable length * multiplier: + addition factor.

  • Dual input indicator: if checked, the AI value can be manually input or read from a barcode

Example 1

Below is an example of a barcode string:

]C1090003700012345300000370000000000310

It consists of:

  • ]C1 - Prefix defined at AI Type level (for example, EAN128)
  • 09 - AI of GTIN (that is, the value after it is GTIN)
  • 00037000123453 - ,,GTIN
  • 00 - AI for SSCC (serial shipping container code)
  • 000370000000000310 - SSCC

Example 2

In this example we create an AI type (barcode type) that includes a single AI for the Electronic Product Code (EPC ).

1. To create a new AI type, open AI Type Definition, and add an entry for the fields in the table below:

Field Value Comment
AI Type MY_TYPE AI Type identifier
Min 2 Minimal length (in characters) of the AI names in our AI type
Max 4 Maximal length (in characters) of the AI names in our AI type
AI Type Prefix ]C1 String value indicating that the following string is barcode
AI Delimiter ]C2 String value indicating end of AI (used for AI's of variable length)
Dual Checked If checked, enables barcode input in both ways: by barcode reading and manually

2. To create Application Identifiers(barcode fields), select the AI Type entry and double-click node Application Identifier. Create new entry and fill the fields:

Field Value Comment
AI Type MY_TYPE AI Type identifier
AI 10 AI identifier: part of barcode string used as prefix for the following AI value
AI Part blank Always leave blank
Application EPC Indicates that value of this AI ('10') contains EPC
Description EPC AI description
Defined Checked Should be checked for all AI's
AI Length 64 Length (in characters) of the AI value. In our case, EPC takes 64 positions in the barcode
AI Delimiter blank Used for AI of variable length to indicate end of AI value in barcode. Not used for this AI since it has fixed length of 64.
Decimal places blank Not used for this AI since EPC has no decimal point
Variable length blank Not used for this AI.
Multiplier blank Only used with variable length AIs.
Addition factor blank Only used with variable length AIs.
Dual   Since Dual indicator was checked at the AI Type level (i.e., for all AI's of this type), the field input is disabled






General Data in Customer Master   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 10572 Date: 20211129 Time: 093418     sap01-206 ( 107 ms )