Symptom
The system prevents creating a handling unit with an SSCC that does not belong to the site’s GS1 prefix.
Error message: "Pack failed: GS1 company prefix in SSCC is not defined in SSCC configuration"
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Pack Handling Units - Advanced app.
- Enter the plant, work center, and storage bin for the packing area.
- In Create HU, enter an existing SSCC that originates from a different site’s GS1 prefix, choose an HU type, and provide a storage bin.
- Start the packing process and observe the error message.
Cause
In SAP S/4HANA Cloud, each warehouse requires that all Handling Units (HUs) being manually created at a warehouse use the same number range object, even if the HUs have different GS1 company prefixes.
When multiple number range objects are assigned within the same warehouse, the system validation blocks the creation of HUs that do not match the warehouse-assigned number range object.
This triggers the error: "Pack failed: GS1 company prefix 123 in SSCC 123 is not defined in SSCC configuration"
This behavior is standard system logic, ensuring consistency in SSCC number assignment within a warehouse.
Resolution
To resolve the issue, ensure that the SSCC configuration for the affected warehouse is correctly maintained:
- Go to the configuration activity:
- Maintain SSCC Generation for Each Warehouse Number
or - Define Number Range Intervals for SSCC
- Maintain SSCC Generation for Each Warehouse Number
- Select the relevant warehouse.
- Ensure that all required GS1 Company Prefixes (e.g.
12345678) are properly maintained for the warehouse. - Verify that:
- Each GS1 prefix is assigned to a valid number range interval
- The number range intervals are correctly defined and active
- The configuration is consistent for all entries belonging to the same warehouse
- If multiple business units or factories are used, ensure that all required GS1 prefixes are explicitly maintained in the configuration for the warehouse.
- Save the configuration and retry the Handling Unit creation process.
- The SSCC generation logic requires consistency between GS1 prefixes and number range intervals per warehouse. Incorrect or missing assignments will result in rejection of externally provided SSCC numbers during Handling Unit creation.
See Also
SAP Help Portal - Configuration for Handling Units
Keywords
sscc, gs1 company prefix, handling unit, hu creation, pack failed, prefix not defined, ewm, warehouse, number range intervals, sscc configuration, reuse sscc, intercompany, restaging, packing, hu management , KBA , SCM-EWM-WC-2CL , Work Center (Public Cloud) , Problem
SAP Knowledge Base Article - Public