Class DefaultHandlingUnitService
- All Implemented Interfaces:
BatchService<HandlingUnitServiceBatch>,HandlingUnitService
In every API call, you can make use of the following operations: - Retrieve header information for a handling unit. For handling units processed in warehouse management, warehouse number plus handling unit number must be used as a key. For handling units not relevant for warehouse management, the handling unit number is used as a key. You can use filter criteria to retrieve information based on other selection criteria, for example, delivery reference. - Retrieve item information for a handling unit, which contains information about the products packed in the handling unit. You can apply the filters provided or retrieve all existing data..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_HANDLING_UNIT |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2208 |
| Communication Scenario: | Handling Unit Integration(SAP_COM_0364), Delivery Insights Replication App Integration (Obsolete)(SAP_COM_0571) |
| Scope Items: | Warehouse Outbound Processing(3BS), Handling Unit Management(4MM), Sell from Stock(BD9), Delivery Insights enabled by IoT(4IH) |
| Business Object: | Handling Unit |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.HandlingUnitService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingHandlingUnitService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleHandlingUnitentities.Deprecated.Fetch multipleHandlingUnitItementities.getHandlingUnitByKey(String handlingUnitExternalID, String warehouse) Deprecated.Fetch a singleHandlingUnitentity using key fields.getHandlingUnitItemByKey(String handlingUnitExternalID, String warehouse, UUID stockItemUUID) Deprecated.Fetch a singleHandlingUnitItementity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultHandlingUnitService
public DefaultHandlingUnitService()Deprecated.Creates a service usingHandlingUnitService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:HandlingUnitServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceHandlingUnitService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<HandlingUnitServiceBatch>
-
getAllHandlingUnit
Deprecated.Description copied from interface:HandlingUnitServiceFetch multipleHandlingUnitentities.- Specified by:
getAllHandlingUnitin interfaceHandlingUnitService- Returns:
- A fluent helper to fetch multiple
HandlingUnitentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getHandlingUnitByKey
@Nonnull public HandlingUnitByKeyFluentHelper getHandlingUnitByKey(String handlingUnitExternalID, String warehouse) Deprecated.Description copied from interface:HandlingUnitServiceFetch a singleHandlingUnitentity using key fields.- Specified by:
getHandlingUnitByKeyin interfaceHandlingUnitService- Parameters:
handlingUnitExternalID- External Handling Unit IdentificationConstraints: Not nullable, Maximum length: 20
warehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
HandlingUnitentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllHandlingUnitItem
Deprecated.Description copied from interface:HandlingUnitServiceFetch multipleHandlingUnitItementities.- Specified by:
getAllHandlingUnitItemin interfaceHandlingUnitService- Returns:
- A fluent helper to fetch multiple
HandlingUnitItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getHandlingUnitItemByKey
@Nonnull public HandlingUnitItemByKeyFluentHelper getHandlingUnitItemByKey(String handlingUnitExternalID, String warehouse, UUID stockItemUUID) Deprecated.Description copied from interface:HandlingUnitServiceFetch a singleHandlingUnitItementity using key fields.- Specified by:
getHandlingUnitItemByKeyin interfaceHandlingUnitService- Parameters:
handlingUnitExternalID- External Handling Unit IdentificationConstraints: Not nullable, Maximum length: 20
warehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
stockItemUUID- GUID Stock ItemConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
HandlingUnitItementity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-