Class DefaultHandlingUnitService

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultHandlingUnitService
All Implemented Interfaces:
BatchService<HandlingUnitServiceBatch>, HandlingUnitService

@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultHandlingUnitService") @Deprecated public class DefaultHandlingUnitService extends Object implements HandlingUnitService
Deprecated.
The service and all its related classes are deprecated as of release 2105 (May 2021). Please use the odata generator to generate the VDM.

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..

Business Documentation

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
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultHandlingUnitService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: HandlingUnitService
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface HandlingUnitService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull public DefaultHandlingUnitServiceBatch batch()
      Deprecated.
      Specified by:
      batch in interface BatchService<HandlingUnitServiceBatch>
    • getAllHandlingUnit

      @Nonnull public HandlingUnitFluentHelper getAllHandlingUnit()
      Deprecated.
      Description copied from interface: HandlingUnitService
      Fetch multiple HandlingUnit entities.
      Specified by:
      getAllHandlingUnit in interface HandlingUnitService
      Returns:
      A fluent helper to fetch multiple HandlingUnit entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • getHandlingUnitByKey

      @Nonnull public HandlingUnitByKeyFluentHelper getHandlingUnitByKey(String handlingUnitExternalID, String warehouse)
      Deprecated.
      Description copied from interface: HandlingUnitService
      Fetch a single HandlingUnit entity using key fields.
      Specified by:
      getHandlingUnitByKey in interface HandlingUnitService
      Parameters:
      handlingUnitExternalID - External Handling Unit Identification

      Constraints: Not nullable, Maximum length: 20

      warehouse - Warehouse Number/Warehouse Complex

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A fluent helper to fetch a single HandlingUnit entity 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 the execute method on the fluent helper object.
    • getAllHandlingUnitItem

      @Nonnull public HandlingUnitItemFluentHelper getAllHandlingUnitItem()
      Deprecated.
      Description copied from interface: HandlingUnitService
      Fetch multiple HandlingUnitItem entities.
      Specified by:
      getAllHandlingUnitItem in interface HandlingUnitService
      Returns:
      A fluent helper to fetch multiple HandlingUnitItem entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • getHandlingUnitItemByKey

      @Nonnull public HandlingUnitItemByKeyFluentHelper getHandlingUnitItemByKey(String handlingUnitExternalID, String warehouse, UUID stockItemUUID)
      Deprecated.
      Description copied from interface: HandlingUnitService
      Fetch a single HandlingUnitItem entity using key fields.
      Specified by:
      getHandlingUnitItemByKey in interface HandlingUnitService
      Parameters:
      handlingUnitExternalID - External Handling Unit Identification

      Constraints: Not nullable, Maximum length: 20

      warehouse - Warehouse Number/Warehouse Complex

      Constraints: Not nullable, Maximum length: 4

      stockItemUUID - GUID Stock Item

      Constraints: Not nullable

      Returns:
      A fluent helper to fetch a single HandlingUnitItem entity 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 the execute method on the fluent helper object.