To define label layouts

To define a label layout, in the Label Layouts (whwmd5520m000) session, complete these steps:

  1. Specify the code and description of the label layout in the Label Layout and Description fields.
  2. If required, specify the Barcode Type and the Barcode Height [Lines].
  3. Select the label layout and start the text editor on the toolbar.
  4. In the text editor, specify the expressions and, if required, the barcode expressions, of the fields whose contents you want to include in the label. See the next sections of this topic.

    You can find the label expressions and barcode expressions in Label fields, expressions, and bar code expressions.

In the Label Layout by Activities (whwmd5121m000) session, you can adjust the label layouts for specific outbound, receipt, shipment, or inspection activities.

You can print label layouts in the Print Label Layouts (whwmd5420m000) session.

Defining expressions

A label layout can contain a number of label fields represented by label codes called expressions. An expression must be preceded by a hash sign (#), "lb," and a dot ( #lb.).

On the printed label, the label code is replaced with the value of the corresponding label field.

Example: #lb.item.desc will print a bar code of the item description.

When a label is printed, the field value is printed at the exact spot of the hash sign (# ) that you placed in the text editor.

To avoid field values from overlapping on the printed label, you must allow for sufficient space between the # signs in the layout definition.

If the # signs are placed on different lines in the layout definition, overlapping of the field values is unlikely. In the next example, the item and item description fields are printed on different lines:

ITEM: #lb.item
DESCR: #lb.item.desc

Overlapping may occur if you put the label fields on the same line, as in this example:

#lb.item.desc#lb.quan.inv

The #lb.quan.inv expression represents the item quantity in inventory unit.

In this example, the space between both # signs is 12 positions. In the text editor, one space represents one position.

If the printed field value of #lb.item.desc spans more than 12 positions, the value of the #lb.quan.inv expression will overwrite the value of the #lb.item.desc expression.

To determine the required number of positions between the # signs, you must check the field length of the fields that you use as label fields.

This is done by checking the domain length of the field that you are using as a label field. In the example, the item.desc field uses the tcitem.dscr domain, which has a length of 60 positions.

Therefore, to prevent #lb.quan.inv from overlapping and overwriting the value of #lb.item.desc, the space between the # signs of both fields must be at least 61 positions.

On the other hand, if you are sure that the field value of #lb.item.desc never exceeds 10 positions, an 11 position space between the # signs would be sufficient.