SAP EWM & Cloud Barcode Integration
A comprehensive technical walkthrough for generating Warehouse Task, Handling Unit (HU), and Shipping labels in SAP EWM using modern RESTful architecture.
Quick Navigation
Configure BTP Connectivity
Establish a secure path for your EWM system (On-Premise or S/4HANA Cloud) to communicate with the Barcodesoft API.
- Path: SAP BTP Cockpit > Connectivity > Destinations
- Name:
BARCODESOFT_API - URL:
https://www.barcodesoft.com - Proxy Type: Internet
Create the ABAP Utility Class
In Transaction SE24, create ZCL_EWM_BARCODE_UTIL to encapsulate the REST logic.
METHOD get_barcode_url.
" Constructing the URL for GS1-128
DATA(lv_token) = 'YOUR_API_TOKEN'.
DATA(lv_data) = cl_http_utility=>escape_url( iv_hu_number ).
rv_url = |https://www.barcodesoft.com/barcode.ashx?token={ lv_token }&data={ lv_data }&type=32&format=png|.
ENDMETHOD.
Integrate with EWM PPF
EWM uses the Post Processing Framework to trigger labels via Action Profiles.
- Go to SPPFCADM and select Application
/SCWM/WHR. - Define a new Action Definition for Cloud Label Printing.
- Implement BAdI
EVAL_SCHED_CONDITION_PPFto trigger execution based on HU status.
Adobe Document Services (IFbA)
Embed the cloud-generated image directly into your SFP (Adobe Form) layout.
Interface Setup
Define GV_BARCODE_IMAGE as type XSTRING. Map it as an Image Graphic.
Layout Binding
Insert an Image Field. Set binding to $.GV_BARCODE_IMAGE and Mime Type to image/png.
RF Framework & ITS Mobile
For on-screen barcodes in RF guns, embed the URL directly into the HTML template.
<img src="https://www.barcodesoft.com/barcode/v1/linear/gs1128?data=(02)12345678901234(10)12345678901234567890&width=720px&height=180px" />
Critical Technical Notes
- Performance: Use BTP Integration Suite (CPI) for caching tokens.
- Symbology:
type=32for GS1-128;type=36for Data Matrix.
- DPI: Use
dpi=600for 2D codes on small parts labels. - Connectivity: Ensure SAP Cloud Connector allows outbound traffic to barcodesoft.com.
Need a specific ABAP implementation snippet for Warehouse Task printing?
Request Technical Support