Show TOC

Background documentationUse of Bar Codes

 

Bar Codes Using a Bar Code Library

For symbols of symbol type Parameter and symbols of symbol type Specification, you can generate bar codes using the Static Bar Code expansion mode.

To be able to generate bar codes using the Static Bar Code expansion mode, a bar code library must be implemented on the WWI generation server. When the report is generated, this library generates the bar code as a graphic, which you insert into the report template.

The advantage of this type of bar code generation is that all bar code types from the bar code library can be generated. This is because bar code libraries can usually generate not only one-dimensional but also two-dimensional bar codes.

Bar Codes Using Fonts

To enable the SAP system to output values as bar codes using fonts, you need to carry out the following steps.

  1. Acquire the required font for your bar code and install it.

  2. Write your own conversion program (ABAP function module) that adjusts the values. The interface must correspond to the function module C128_DUMMY_CONVERSION_METHOD.

  3. Use the function module C128_DUMMY_CONVERSION_METHOD as the method for the corresponding symbol in the report template (expansion mode M) or in the symbol definition.

  4. Format the symbol in the report template using the relevant font.

Prerequisites

Bar Codes Using a Bar Code Library
  • The bar code library is used with a WWI generation server. For this, you have installed and configured a WWI generation server as of SP 31. You do this by carrying out the Customizing activity Configure WWI Server for Print Request Generation in Customizing for Global Label Management.

  • You have implemented Global Label Management and have carried out the Customizing activity Install Bar Code Library.

Activities

Recommendation Recommendation

We recommend generating bar codes using a bar code library instead of using fonts.

End of the recommendation.
Bar Codes Using a Bar Code Library

SAP does not ship a bar code library, but instead provides an interface that can be implemented by bar code manufacturers. This means you first have to acquire a suitable bar code library and install it on your WWI generation server.

For more information about the required interface and details on manufacturers of bar code libraries, see SAP Note 25344Information published on SAP site.

Once the bar code library has been installed, the WWI generation server can integrate it and generate bar codes.