Label layout and printing

A label layout defines the contents of a label. In the Label Layouts (whwmd5520m000) session, you can create and maintain labels that can be used for:

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.

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.

    You can find the label expressions in the Expression columns next to the Field columns in the tables of the current topic. The barcode expressions are listed in the Barcode Expressions columns.

Note: To include bar codes in label layouts, refer to Print bar codes.

Using label codes

A label layout can contain a number of label fields in the form of 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.

Print receipt and shipment labels without handling units

If handling units are not used, you can print labels for:

  • Received items
  • Items to be shipped

For more information, refer to Print receipt and shipment labels without handling units.

Note: If you use package definitions, you can specify that labels are automatically created for specific parts of the handling-unit structure.

Inbound procedures

For inbound procedures you can print the following fields on the labels:

Field Expression Barcode Expression
Ship From Type lb.shfr.type bc.lb.shfr.type
Ship From Code lb.shfr.code bc.lb.shfr.code
Ship To Type lb.shto.type bc.lb.shto.type
Ship To Code lb.shto.code bc.lb.shto.code
Ship From Location lb.shfr.loca bc.lb.shfr.loca
Ship To Location lb.shto.loca bc.lb.shto.loca
Run number lb.run.number bc.lb.run.number
Mission lb.mission bc.lb.mission
Item lb.item bc.lb.item
Item Search Key I lb.item.sr.ky1 bc.lb.item.sr.ky1
Item Search Key II lb.item.sr.ky2 bc.lb.item.sr.ky2
Item Signal lb.item.signal bc.lb.item.signal
Item Signal Description lb.item.sgnl.d bc.lb.item.sgnl.d
Item Quantity lb.quan.str bc.lb.quan.str
Item Quantity Inventory Unit lb.quan.inv bc.lb.quan.inv
Business Partner Item Code lb.cus.itm bc.lb.cus.itm
Business Partner Item Revision lb.cus.itm.rev bc.lb.cus.itm.rev
Unit lb.unit bc.lb.unit
Order Origin lb.order.orig bc.lb.order.orig
Order Number lb.order bc.lb.order
Order Set lb.order.set bc.lb.order.set
Order Line lb.order.line bc.lb.order.line
Order Line Sequence lb.order.seq bc.lb.order.seq
Advice Number lb.advice bc.lb.advice
Owner lb.owner bc.lb.owner
Owner Name lb.owner.name bc.lb.owner.name
Lot Code lb.lot bc.lb.lot
Serial Number lb.serial bc.lb.serial
Inventory Date lb.inv.date bc.lb.inv.date
Package Definition lb.pack.def bc.lb.pack.def
Assembly Kit lb.ass.kit bc.lb.ass.kit
Line Station lb.ln.station bc.lb.ln.station
Job Sequence lb.job.seq bc.lb.job.seq
Parent Serial lb.parent.seri bc.lb.parent.seri
Assembly Order lb.ass.order bc.lb.ass.order
Order Reference lb.reference bc.lb.reference
Bom Line lb.bom.line bc.lb.bom.line
Item Description lb.item.desc bc.lb.item.desc
Manufacturer lb.manuf bc.lb.manuf
Manufacturer Description lb.manuf.desc bc.lb.manuf.desc
Manufacturer Part No. lb.manuf.prt.n bc.lb.manuf.prt.n
Manufacturer Part No. Description lb.manuf.prt.d bc.lb.manuf.prt.d
Receipt Date lb.rec.date bc.lb.rec.date

Outbound procedures

For outbound procedures you can print the following fields on the labels:

Field Expression Barcode Expression
Ship From Type lb.shfr.type bc.lb.shfr.type
Ship From Code lb.shfr.code bc.lb.shfr.code
Ship To Type lb.shto.type bc.lb.shto.type
Ship To Code lb.shto.code bc.lb.shto.code
Ship From Location lb.shfr.loca bc.lb.shfr.loca
Ship To Location lb.shto.loca bc.lb.shto.loca
DUNS Number lb.duns.number bc.lb.duns.number
Run Number lb.run.number bc.lb.run.number
Mission lb.mission bc.lb.mission
Item lb.item bc.lb.item
Item Search Key I lb.item.sr.ky1 bc.lb.item.sr.ky1
Item Search Key II lb.item.sr.ky2 bc.lb.item.sr.ky2
Item Signal lb.item.signal bc.lb.item.signal
Item Signal Description lb.item.sgnl.d bc.lb.item.sgnl.d
Business Partner Item Code lb.cus.itm bc.lb.cus.itm
Business Partner Item Revision lb.cus.itm.rev bc.lb.cus.itm.rev
Effectivitiy Unit lb.eff.unit bc.lb.eff.unit
Quantity in Storage Unit lb.quan.str bc.lb.quan.str
Quantity in Inventory Unit lb.quan.inv bc.lb.quan.inv
Unit lb.unit bc.lb.unit
Order Origin lb.order.orig bc.lb.order.orig
Order Number lb.order bc.lb.order
Order Set lb.order.set bc.lb.order.set
Order Line lb.order.line bc.lb.order.line
Order Line Sequence lb.order.seq bc.lb.order.seq
Advice Number lb.advice bc.lb.advice
Owner lb.owner bc.lb.owner
Owner Name lb.owner.name bc.lb.owner.name
Lot lb.lot bc.lb.lot
Serial lb.serial bc.lb.serial
Inventory Date lb.inv.date bc.lb.inv.date
Package Definition lb.pack.def bc.lb.pack.def
Assembly Kit lb.ass.kit bc.lb.ass.kit
Line Station lb.ln.station bc.lb.ln.station
Job Sequence lb.job.seq bc.lb.job.seq
Parent Serial lb.parent.seri bc.lb.parent.seri
Assembly Order lb.ass.order bc.lb.ass.order
Order Reference lb.reference bc.lb.reference
Bom Line lb.bom.line bc.lb.bom.line
Item Description lb.item.desc bc.lb.item.desc
Delivery Point lb.del.point bc.lb.del.point
Delivery Point Description 1 lb.dp.dsca.1 bc.lb.dp.dsca.1
Delivery Point Description 2 lb.dp.dsca.2 bc.lb.dp.dsca.2
Machine lb.machin bc.lb.machin
Machine Description lb.machin.desc bc.lb.machin.desc
Operation lb.operation bc.lb.operation
Task lb.task bc.lb.task
Task Description lb.task.desc bc.lb.task.desc
Work Center lb.work.cent bc.lb.work.cent
Work Center Description lb.work.c.desc bc.lb.work.c.desc

Inspections

For inspections you can print these fields on the labels:

FieldExpressionBarcode Expression
Inspection Date lb.insp.date bc.lb.insp.date
HU Insp. Date Time Zonelb.insp.date.tbc.lb.insp.date.t
HU Insp. Date UTC lb.insp.date.u bc.lb.insp.date.u
Destroy Reasonlb.insp.dest.rbc.lb.insp.dest.r
Approved Quantity in Inventory Unitlb.insp.appr.qbc.lb.insp.appr.q
Destroyed Quantitylb.insp.dest.qbc.lb.insp.dest.q
Rejected Quantity in Inventory Unitlb.insp.reje.qbc.lb.insp.reje.q
Reject Reasonlb.insp.reje.rbc.lb.insp.reje.r
Userlb.insp.userbc.lb.insp.user

Inspection

1
lb.inspectbc.lb.inspect

The labels are filled from the Inspection Lines (whinh2131m000) session for inbound and outbound inspections. For inventory inspections, the labels are filled from the Handling Unit Process Inventory Inspection (whinh2533m000) session.

Handling units

For handling units you can print the following fields on the labels:

Field Expression Barcode Expression
Handling Unit lb.handl.unit bc.lb.handl.unit
From Handling Unit lb.from.huid bc.lb.from.huid
Handling Unit Version lb.version bc.lb.version
Visible lb.visible bc.lb.visible
Ship From Type lb.shfr.type bc.lb.shfr.type
Ship From Code lb.shfr.code bc.lb.shfr.code
Ship From Company lb.shfr.comp bc.lb.shfr.comp
Ship To Type lb.shto.type bc.lb.shto.type
Ship To Code lb.shto.code bc.lb.shto.code
Ship To Company lb.shto.comp bc.lb.shto.comp
Reference lb.reference bc.lb.reference
Parent Handling Unit lb.parent.huid bc.lb.parent.huid
Status lb.status bc.lb.status
Complete lb.complete bc.lb.complete
Rejected lb.rejected bc.lb.rejected
Multi Item lb.multi.item bc.lb.multi.item
Item lb.item bc.lb.item
Item Description lb.item.desc bc.lb.item.desc
Effectivity Unit lb.eff.unit bc.lb.eff.unit
Item Search Key I lb.item.sr.ky1 bc.lb.item.sr.ky1
Item Search Key II lb.item.sr.ky2 bc.lb.item.sr.ky2
Item Signal lb.item.signal bc.lb.item.signal
Item Signal Description lb.item.sgnl.d bc.lb.item.sgnl.d
Lot lb.lot bc.lb.lot
Inventory Date lb.inv.date bc.lb.inv.date
Serial lb.serial bc.lb.serial
Quantity in Storage Unit lb.quan.str bc.lb.quan.str
Unit lb.unit bc.lb.unit
Quantity in Inventory Unit lb.quan.inv bc.lb.quan.inv
Package Definition lb.pack.def bc.lb.pack.def
Packaging Item lb.pack.item bc.lb.pack.item
Asset Tag lb.asset.tag bc.lb.asset.tag
Quantity of Packaging Item lb.quan.pack bc.lb.quan.pack
Business Partner Item Code lb.cus.itm bc.lb.cus.itm
Business Partner Item Revision lb.cus.itm.rev bc.lb.cus.itm.rev
Warehouse lb.warehouse bc.lb.warehouse
Location lb.location bc.lb.location
Gross Weight lb.gross.wght bc.lb.gross.wght
Net Weight lb.net.wght bc.lb.net.wght
Weight Unit lb.weight.unit bc.lb.weight.unit
Volume lb.volume bc.lb.volume
Floorspace lb.floor.space bc.lb.floor.space
Height lb.height bc.lb.height
Width lb.width bc.lb.width
Depth lb.depth bc.lb.depth
Dimension Unit lb.dim.unit bc.lb.dim.unit
Blocked lb.blocked bc.lb.blocked
Blocked for Counting lb.counting bc.lb.counting
Transaction Date lb.trans.date bc.lb.trans.date
Log Name lb.log.name bc.lb.log.name
Manufacturer lb.manuf bc.lb.manuf
Manufacturer Description lb.manuf.desc bc.lb.manuf.desc
Manufacturer Part No. lb.manuf.prt.n bc.lb.manuf.prt.n
Manufacturer Part No. Desc lb.manuf.prt.d bc.lb.manuf.prt.d
Owner lb.owner bc.lb.owner
Owner Name lb.owner.name bc.lb.owner.name
Ownership lb.ownership bc.lb.ownership
Multi Owner lb.multi.owner bc.lb.multi.owner
Order Origin lb.order.orig bc.lb.order.orig
Order Number lb.order bc.lb.order
Order Set lb.order.set bc.lb.order.set
Order Line lb.order.line bc.lb.order.line
Order Sequence lb.order.seq bc.lb.order.seq
Bom Line lb.bom.line bc.lb.bom.line
Receipt lb.receipt bc.lb.receipt
Receipt Line lb.receipt.ln bc.lb.receipt.ln
Shipment lb.shipment bc.lb.shipment
Shipment Line lb.shipment.ln bc.lb.shipment.ln
Load lb.load bc.lb.load
Container lb.container bc.lb.container
Assembly Kit lb.ass.kit bc.lb.ass.kit
Line Station lb.ln.station bc.lb.ln.station
Job Sequence lb.job.seq bc.lb.job.seq
Parent Serial lb.parent.seri bc.lb.parent.seri
Assembly Order lb.ass.order bc.lb.ass.order
Inspection lb.inspect bc.lb.inspect
Cross Docking lb.crossdock bc.lb.crossdock
Destination Location lb.dest.loc bc.lb.dest.loc
Receipt Carrier lb.rec.carr bc.lb.rec.carr
Ship From Address Name 1 lb.sf.ad01 bc.lb.sf.ad01
Ship From Address Name 2 lb.sf.ad02 bc.lb.sf.ad02
Ship From Address 1 lb.sf.ad03 bc.lb.sf.ad03
Ship From Address 2 lb.sf.ad04 bc.lb.sf.ad04
Ship From Address House Number lb.sf.ad05 bc.lb.sf.ad05
Ship From Address Po Boxnr lb.sf.ad06 bc.lb.sf.ad06
Ship From Address City lb.sf.ad07 bc.lb.sf.ad07
Ship From Address City 2 lb.sf.ad08 bc.lb.sf.ad08
Ship From Address Zip Code lb.sf.ad09 bc.lb.sf.ad09
Ship From Address Country lb.sf.ad10 bc.lb.sf.ad10
Ship To Address Name 1 lb.st.ad01 bc.lb.st.ad01
Ship To Address Name 2 lb.st.ad02 bc.lb.st.ad02
Ship To Address 1 lb.st.ad03 bc.lb.st.ad03
Ship To Address 2 lb.st.ad04 bc.lb.st.ad04
Ship To Address House Number lb.st.ad05 bc.lb.st.ad05
Ship To Address Po Boxnr lb.st.ad06 bc.lb.st.ad06
Ship To Address City lb.st.ad07 bc.lb.st.ad07
Ship To Address City 2 lb.st.ad08 bc.lb.st.ad08
Ship To Address Zip Code lb.st.ad09 bc.lb.st.ad09
Ship To Address Country lb.st.ad10 bc.lb.st.ad10
Receipt Load lb.rec.load bc.lb.rec.load
Receipt Shipment lb.rec.shpm bc.lb.rec.shpm
Shipment Delivery Terms lb.shpm.tod bc.lb.shpm.tod
Shipment Point of Title Passage lb.shpm.potp bc.lb.shpm.potp
Shipment Carrier Pro Number lb.shpm.cpro bc.lb.shpm.cpro
Tracking Number lb.track.nr bc.lb.track.nr
Shipment Planned Delivery Date lb.shpm.deld bc.lb.shpm.deld
Shipment Planned Receipt Date lb.shpm.prdt bc.lb.shpm.prdt
Shipment Customs Value lb.shpm.cval bc.lb.shpm.cval
Shipment Customs Value Currency lb.shpm.curr bc.lb.shpm.curr
Load Carrier/LSP lb.load.carr bc.lb.load.carr
Load Route lb.load.route bc.lb.load.route
Shipment Reference lb.ship.ref bc.lb.ship.ref
Delivery Point lb.del.point bc.lb.del.point
Delivery Point Description 1 lb.dp.dsca.1 bc.lb.dp.dsca.1
Delivery Point Description 2 lb.dp.dsca.2 bc.lb.dp.dsca.2
Allocated to Business Partner lb.alloc.bp bc.lb.alloc.bp
Allocated to Order Origin lb.alloc.oorg bc.lb.alloc.oorg
Allocated to Order lb.alloc.order bc.lb.alloc.order
Allocated to Order Reference lb.alloc.oref bc.lb.alloc.oref
Allocated to Reference lb.alloc.ref bc.lb.alloc.ref
Rejection lb.quarantine bc.lb.quarantine
Product Variant lb.prod.var bc.lb.prod.var
Additional info field 1 lb.addinfo.1 bc.lb.addinfo.1
Additional info field 2 lb.addinfo.2 bc.lb.addinfo.2
Additional info field 3 lb.addinfo.3 bc.lb.addinfo.3
Additional info field 4 lb.addinfo.4 bc.lb.addinfo.4
Additional info field 5 lb.addinfo.5 bc.lb.addinfo.5
Additional info field 6 lb.addinfo.6 bc.lb.addinfo.6
Additional info field 7 lb.addinfo.7 bc.lb.addinfo.7
Additional info field 8 lb.addinfo.8 bc.lb.addinfo.8
Additional info field 9 lb.addinfo.9 bc.lb.addinfo.9
Additional info field 10 lb.addinfo.10 bc.lb.addinfo.10
Note: For handling unit structures, labels are printed for bottom-level handling units. If a bottom-level handling unit contains multiple stock points, the stock point information is not printed on the label. This is because the label field cannot contain more than one code. For example, if the handling unit contains three stock points and the label definition includes the Inventory Date field (lb.inv.date), which is a stock point detail, LN does not "know" which of the three inventory dates to print.

UTC date and time zone fields

For inbound procedures, outbound procedures, and handling units you can print UTC date and time zone fields on labels. On the date fields that are printed, the UTC representation of the date is printed and on the time zone fields, the time zone of the warehouse or the ship-from or ship-to addresses are printed.

You can print these UTC date and time zone fields on the labels:

UTC and Time zone: Handling units

Field Expression Barcode Expression
HU Trans. Date UTC lb.trns.date.u bc.lb.trns.date.u
HU Trans. Date Time Zone lb.trns.date.t bc.lb.trns.date.t
HU Insp. Date Time Zone lb.insp.date.t bc.lb.insp.date.t
HU Insp. Date UTC lb.insp.date.u bc.lb.insp.date.u

The HU Insp. Date fields are printed for handling-unit inventory inspections.

UTC and Time zone: Inbound, Outbound and Handling Unit

Field Expression Barcode Expression
Inventory Date UTC lb.inv.date.u bc.lb.inv.date.u
Inventory Date Time Zone lb.inv.date.t bc.lb.inv.date.t

UTC and Time zone: Inbound

Field Expression Barcode Expression
Receipt Date UTC lb.rec.date.u bc.lb.rec.date.u
Receipt Date Time Zone lb.rec.date.t bc.lb.rec.date.t

UTC and Time zone: Outbound

Field Expression Barcode Expression
Shipment Pl Del Dt UTC lb.shpm.deld.u bc.lb.shpm.deld.u
Shipment Pl Del Dt Time Zone lb.shpm.deld.t bc.lb.shpm.deld.t
Shipment Pl Rec Dt UTC lb.shpm.prdt.u bc.lb.shpm.prdt.u
Shipment Pl Rec Dt Time Zone lb.shpm.prdt.t bc.lb.shpm.prdt.t

Kanban

For Kanban you can print the following fields on the labels:

Field Expression Barcode Expression
Item lb.item bc.lb.item
Packaging Item lb.pack.item bc.lb.pack.item
Quantity in Inventory Unit lb.quan.inv bc.lb.quan.inv
Unit lb.unit bc.lb.unit
Ship From Type lb.shfr.type bc.lb.shfr.type
Ship From Code lb.shfr.code bc.lb.shfr.code
Ship To Type lb.shto.type bc.lb.shto.type
Ship To Code lb.shto.code bc.lb.shto.code
Handling Remark lb.hand.rmrk bc.lb.hand.rmrk
Kanban ID lb.kanban.id bc.lb.kanban.id
Location lb.location bc.lb.location
Row of Location for Transfer lb.dloc.row bc.lb.dloc.row
Level Location for Transfer lb.dloc.lev bc.lb.dloc.lev
Bin of Location for Transfer lb.dlob.bin bc.lb.dlob.bin
Description of Location for Transfer lb.dloc.desc bc.lb.dloc.desc
Item Description lb.item.desc bc.lb.item.desc
Work Center lb.work.cent bc.lb.work.cent
Supplying Location lb.supp.loc bc.lb.supp.loc
Row of Supply Location lb.sloc.row bc.lb.sloc.row
Level of Supply Location lb.sloc.lev bc.lb.sloc.lev
Bin of Supply Location lb.sloc.bin bc.lb.sloc.bin
Description of Supply Location lb.sloc.desc bc.lb.sloc.desc

Supply location

The supply location is the fixed location as defined for the supply warehouse and item in the Fixed Locations (whwmd3502m000) session. The user can only print this field on the label if the goods are supplied from a warehouse. For more information, refer to Line Supply Settings .

If more than one fixed location exists for each warehouse/item, the fixed location with the highest priority, in other words, the lowest value, is printed.

Row, level and bin are part of the location definition in the Warehouse - Location (whwmd3100s000) session.

Kanban deliveries are actually made to the shop floor warehouse that supports the work center. The work center can only be printed if the shop floor warehouse supports a work center.

1 This field indicates whether the data relate to an inspection. The value in this field can be Yes or No.