SAP Labeling Toolbox

Free tools for SAP EHS, GHS compliance, ZPL programming, GS1 Digital Link, and IDoc integration. No login required.

GHS / CLPSAP EHS GLMZPL-II GS1 Digital LinkIDoc LABELS01Zebra Printers EU MDR / FDABarTender / NiceLabel

By Sandip Shinde — SAP Enterprise Labeling Architect · IFF · Shell · J&J · Seagate

GHS / CLP Phrase Lookup

Search H-phrases (hazard), P-phrases (precautionary), and EUH-phrases. Full EU CLP Regulation 1272/2008 catalog. Use to validate your SAP EHS GLM phrase catalog in CBIH52.

GHS Pictogram Reference

All 9 GHS pictograms with codes, hazard classes covered, and SAP EHS GLM configuration reference. Click any pictogram to copy the ZPL bitmap placeholder code.

Pictogram → Hazard Class Mapping

CodeNameKey Hazard ClassesSAP GLM Pictogram ID

ZPL-II Label Preview

Enter ZPL code and preview label rendering via Labelary API. Supports Zebra ZPL-II. Select label size and printer DPI. Great for testing templates before pushing to production printers.

ZPL Code

ZPL Quick Reference

CommandPurposeExample
^XA / ^XZStart / End label^XA ... ^XZ
^PWPrint width (dots)^PW812 (4" @ 203dpi)
^LLLabel length (dots)^LL1218 (6" @ 203dpi)
^FOField origin (x,y)^FO40,50
^AFont selection^A0N,28,28
^FD / ^FSField data / stop^FDHello World^FS
^FBText block (word wrap)^FB400,5,0,L
^BCNCode-128 / GS1-128^BCN,80,Y,N,N
^BXNDatamatrix barcode^BXN,5,200
^BQNQR code^BQN,2,3
^GBGraphic box^GB400,4,4^FS
^FNVariable field^FN1^FS (SAP var)

Preview

Enter ZPL and click Preview

GS1 Digital Link URI Generator

Generate compliant GS1 Digital Link URIs for product labels. Replaces GS1-128 linear barcodes per GS1 Digital Link Standard 1.1. EU FMCG mandate 2027. Enter GTIN and attributes to build the URI and QR payload.

Input — Product Identifiers

Generated GS1 Digital Link URI

Fill in the form and click Generate URI

2027 Readiness Checklist

☐ GTIN registered with GS1 (company prefix obtained)
☐ GS1 resolver domain configured (id.gs1.org or company domain)
☐ BarTender/NiceLabel template has QR barcode element
☐ SAP provides lot + expiry + serial to label template
☐ EPCIS 2.0 event capture configured
☐ QR code scan tested with GS1 scanner app
☐ FMCG retailer GS1 compliance declaration done
Book GS1 2027 Readiness Assessment

SAP IDoc LABELS01 XML Builder

Build a test LABELS01 IDoc XML payload to validate your BarTender/NiceLabel integration. Paste the generated XML into SAP WE19 (IDoc test tool) to simulate an inbound label print trigger.

IDoc Field Values

Generated IDoc XML

How to use: Copy XML → SAP WE19 → Create IDoc from → XML/Flat File → Paste → Execute → Check WE02 for status → Confirm label printed in BarTender/NiceLabel

Label System Migration Risk Calculator

Assess the risk level of migrating your label system (BarTender → NiceLabel, ECC → S/4HANA, or legacy → SAP). Answer 10 questions to get a risk score and recommended approach.

Risk Assessment Questions

What the score means

0–30 Low: Standard migration, 4–8 weeks, no specialist required.
31–60 Medium: Structured project with dedicated SAP labeling resource.
61–100 High: Complex migration requiring specialist. High cutover risk.
Get Migration Proposal from LabelNex

SAP Labeling Quick Reference

Essential T-codes, tables, and configuration paths for SAP EHS/GLM, IDoc integration, MDG governance, and ZPL programming. Bookmark this page.

SAP EHS / GLM — Key T-codes

T-CodeDescriptionWhen to use
CBIH52Edit Phrase LibraryCreate/edit H-phrases, P-phrases, EUH phrases for GHS labels
CBIH01Edit SubstanceCreate and manage chemical substance records
CBIH11Substance ListDisplay list of all substances in EHS
CBRNCM01Edit DG ClassificationConfigure dangerous goods classification per UN model regulations
CBRNPHRASEPhrase AssignmentAssign H/P phrases to substances
CBIH71Substance ReportReport on substances and their GHS classification
CBIH72Hazardous Substance ListREACH/GHS compliant substance listing
NACEOutput DeterminationConfigure EHS label output type and conditions

IDoc / ALE — Key T-codes

T-CodeDescriptionWhen to use
WE20Partner ProfilesDefine how IDocs are sent to BarTender/NiceLabel partner
WE21Port DefinitionCreate HTTP/RFC/file port for IDoc transmission
WE19Test IDoc ProcessingCreate and test IDocs manually without business event
WE02IDoc MonitorView all IDocs and their status. Debug failed prints.
BD87ALE MonitoringReprocess failed IDocs. View error analysis.
SM59RFC DestinationsConfigure HTTP connection to BarTender/NiceLabel server
WE60IDoc DocumentationView segment and field documentation for LABELS01
WE30IDoc TypeView and extend IDoc basic types

SAP MDG — Key T-codes

T-CodeDescriptionWhen to use
USMD20Display/Process Change RequestView and act on MDG change requests for label data
USMD21Display ObjectView single MDG-governed object (material, substance)
USMD22Mass ProcessingProcess multiple change requests at once
USMD_REQUCreate Change RequestInitiate a new MDG change request for label template update
MDGIMGMDG ConfigurationAccess MDG customizing — data model, workflows, UI
SE18BAdI BuilderImplement BAdI USMD_ACTIVATION_POST for label publish

Key Database Tables

TableDescriptionKey Fields
ESTRPHRASESETEHS Phrase SetsPHRASE_SET_ID, DESCRIPT
ESTRPHRASEEHS Phrase TextsPHRASE_SET_ID, PHRASE_ID, LANGU, PHRASE_TEXT
ESTSTOFFEHS SubstancesSUBSTID, SUBSTANCE, MATID
EDIDCIDoc Control RecordsDOCNUM, DIRECT, STATUS, RCVPRT, RCVPOR
EDID4IDoc Data RecordsDOCNUM, SEGNUM, SDATA
EDIDSIDoc Status RecordsDOCNUM, LOGDAT, STATUS
USMD_VALUEMDG Attribute ValuesPARAM_ID, VALUE_CHAR
NASTOutput DeterminationKAPPL, OBJKY, KSCHL, NACHA, STATUS