Interface WarehousePhysicalInventoryService

All Known Implementing Classes:
DefaultWarehousePhysicalInventoryService

@Deprecated public interface WarehousePhysicalInventoryService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

In every API call, you can make use of the following operations: You can retrieve physical inventory (PI) items. You can count PI items. You can change counted PI items. You can mark PI items as Deleted. You can integrate this API with external applications. For the count and change count operations, you can only perform these operations using batch requests. Additionally, you must include the entities Warehouse Physical Inventory Item (WhsePhysicalInventoryItem) and Warehouse Physical Inventory Count Item (WhsePhysicalInventoryCountItem) in the batch requests..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: WHSEPHYSICALINVENTORYDOC_0001
API Version: 1.1.1
Minimum ERP Version: 2302
Communication Scenario: Warehousing - Physical Inventory Integration(SAP_COM_0378)
Scope Items: Warehouse Physical Inventory(3BX)
Authentication Methods: x509
Service Group Name: API_WHSE_PHYSINVTRYITEM_2
Business Object: Warehouse Physical Inventory Document
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull WarehousePhysicalInventoryService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull BatchRequestBuilder batch()
      Deprecated.
      Creates a batch request builder object.
      Returns:
      A request builder to handle batch operation on this service. To perform execution, call the execute method on the request builder object.
    • getAllWhsePhysicalInventoryCountItem

      @Nonnull GetAllRequestBuilder<WhsePhysicalInventoryCountItem> getAllWhsePhysicalInventoryCountItem()
      Deprecated.
      Fetch multiple WhsePhysicalInventoryCountItem entities.
      Returns:
      A request builder to fetch multiple WhsePhysicalInventoryCountItem entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countWhsePhysicalInventoryCountItem

      @Nonnull CountRequestBuilder<WhsePhysicalInventoryCountItem> countWhsePhysicalInventoryCountItem()
      Deprecated.
      Fetch the number of entries from the WhsePhysicalInventoryCountItem entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of WhsePhysicalInventoryCountItem entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getWhsePhysicalInventoryCountItemByKey

      @Nonnull GetByKeyRequestBuilder<WhsePhysicalInventoryCountItem> getWhsePhysicalInventoryCountItemByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence)
      Deprecated.
      Fetch a single WhsePhysicalInventoryCountItem entity using key fields.
      Parameters:
      physicalInventoryDocYear - Document Year of Physical Inventory Document

      Constraints: Not nullable, Maximum length: 4

      pInvQuantitySequence - Row Index of Internal Tables

      Constraints: Not nullable

      lineIndexOfPInvItem - Row Index of Internal Tables

      Constraints: Not nullable

      physicalInventoryItemNumber - Item

      Constraints: Not nullable, Maximum length: 6

      physicalInventoryDocNumber - Physical Inventory Document Number

      Constraints: Not nullable, Maximum length: 20

      eWMWarehouse - Warehouse Number/Warehouse Complex

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A request builder to fetch a single WhsePhysicalInventoryCountItem entity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • createWhsePhysicalInventoryCountItem

      @Nonnull CreateRequestBuilder<WhsePhysicalInventoryCountItem> createWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem)
      Deprecated.
      Create a new WhsePhysicalInventoryCountItem entity and save it to the S/4HANA system.
      Parameters:
      whsePhysicalInventoryCountItem - WhsePhysicalInventoryCountItem entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new WhsePhysicalInventoryCountItem entity. To perform execution, call the execute method on the request builder object.
    • updateWhsePhysicalInventoryCountItem

      @Nonnull UpdateRequestBuilder<WhsePhysicalInventoryCountItem> updateWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem)
      Deprecated.
      Update an existing WhsePhysicalInventoryCountItem entity and save it to the S/4HANA system.
      Parameters:
      whsePhysicalInventoryCountItem - WhsePhysicalInventoryCountItem entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing WhsePhysicalInventoryCountItem entity. To perform execution, call the execute method on the request builder object.
    • getAllWhsePhysicalInventoryItem

      @Nonnull GetAllRequestBuilder<WhsePhysicalInventoryItem> getAllWhsePhysicalInventoryItem()
      Deprecated.
      Fetch multiple WhsePhysicalInventoryItem entities.
      Returns:
      A request builder to fetch multiple WhsePhysicalInventoryItem entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countWhsePhysicalInventoryItem

      @Nonnull CountRequestBuilder<WhsePhysicalInventoryItem> countWhsePhysicalInventoryItem()
      Deprecated.
      Fetch the number of entries from the WhsePhysicalInventoryItem entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of WhsePhysicalInventoryItem entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getWhsePhysicalInventoryItemByKey

      @Nonnull GetByKeyRequestBuilder<WhsePhysicalInventoryItem> getWhsePhysicalInventoryItemByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber)
      Deprecated.
      Fetch a single WhsePhysicalInventoryItem entity using key fields.
      Parameters:
      physicalInventoryDocYear - Document Year of Physical Inventory Document

      Constraints: Not nullable, Maximum length: 4

      physicalInventoryItemNumber - Item

      Constraints: Not nullable, Maximum length: 6

      physicalInventoryDocNumber - Physical Inventory Document Number

      Constraints: Not nullable, Maximum length: 20

      eWMWarehouse - Warehouse Number/Warehouse Complex

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A request builder to fetch a single WhsePhysicalInventoryItem entity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • createWhsePhysicalInventoryItem

      @Nonnull CreateRequestBuilder<WhsePhysicalInventoryItem> createWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem)
      Deprecated.
      Create a new WhsePhysicalInventoryItem entity and save it to the S/4HANA system.
      Parameters:
      whsePhysicalInventoryItem - WhsePhysicalInventoryItem entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new WhsePhysicalInventoryItem entity. To perform execution, call the execute method on the request builder object.
    • updateWhsePhysicalInventoryItem

      @Nonnull UpdateRequestBuilder<WhsePhysicalInventoryItem> updateWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem)
      Deprecated.
      Update an existing WhsePhysicalInventoryItem entity and save it to the S/4HANA system.
      Parameters:
      whsePhysicalInventoryItem - WhsePhysicalInventoryItem entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing WhsePhysicalInventoryItem entity. To perform execution, call the execute method on the request builder object.
    • getAllWhsePhysicalInventorySrlNmbr

      @Nonnull GetAllRequestBuilder<WhsePhysicalInventorySrlNmbr> getAllWhsePhysicalInventorySrlNmbr()
      Deprecated.
      Fetch multiple WhsePhysicalInventorySrlNmbr entities.
      Returns:
      A request builder to fetch multiple WhsePhysicalInventorySrlNmbr entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countWhsePhysicalInventorySrlNmbr

      @Nonnull CountRequestBuilder<WhsePhysicalInventorySrlNmbr> countWhsePhysicalInventorySrlNmbr()
      Deprecated.
      Fetch the number of entries from the WhsePhysicalInventorySrlNmbr entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of WhsePhysicalInventorySrlNmbr entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getWhsePhysicalInventorySrlNmbrByKey

      @Nonnull GetByKeyRequestBuilder<WhsePhysicalInventorySrlNmbr> getWhsePhysicalInventorySrlNmbrByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence, Integer eWMPhysInvtrySrlNmbrSqnc)
      Deprecated.
      Fetch a single WhsePhysicalInventorySrlNmbr entity using key fields.
      Parameters:
      physicalInventoryDocYear - Document Year of Physical Inventory Document

      Constraints: Not nullable, Maximum length: 4

      pInvQuantitySequence - Row Index of Internal Tables

      Constraints: Not nullable

      lineIndexOfPInvItem - Row Index of Internal Tables

      Constraints: Not nullable

      physicalInventoryItemNumber - Item

      Constraints: Not nullable, Maximum length: 6

      physicalInventoryDocNumber - Physical Inventory Document Number

      Constraints: Not nullable, Maximum length: 20

      eWMPhysInvtrySrlNmbrSqnc - Row Index of Internal Tables

      Constraints: Not nullable

      eWMWarehouse - Warehouse Number/Warehouse Complex

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A request builder to fetch a single WhsePhysicalInventorySrlNmbr entity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • createWhsePhysicalInventorySrlNmbr

      @Nonnull CreateRequestBuilder<WhsePhysicalInventorySrlNmbr> createWhsePhysicalInventorySrlNmbr(@Nonnull WhsePhysicalInventorySrlNmbr whsePhysicalInventorySrlNmbr)
      Deprecated.
      Create a new WhsePhysicalInventorySrlNmbr entity and save it to the S/4HANA system.
      Parameters:
      whsePhysicalInventorySrlNmbr - WhsePhysicalInventorySrlNmbr entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new WhsePhysicalInventorySrlNmbr entity. To perform execution, call the execute method on the request builder object.