Class DefaultWarehousePhysicalInventoryService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,WarehousePhysicalInventoryService
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..
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 Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.WarehousePhysicalInventoryService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingWarehousePhysicalInventoryService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theWhsePhysicalInventoryCountItementity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theWhsePhysicalInventoryItementity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theWhsePhysicalInventorySrlNmbrentity collection matching the filter and search expressions.createWhsePhysicalInventoryCountItem(WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Create a newWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.createWhsePhysicalInventoryItem(WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Create a newWhsePhysicalInventoryItementity and save it to the S/4HANA system.createWhsePhysicalInventorySrlNmbr(WhsePhysicalInventorySrlNmbr whsePhysicalInventorySrlNmbr) Deprecated.Create a newWhsePhysicalInventorySrlNmbrentity and save it to the S/4HANA system.Deprecated.Fetch multipleWhsePhysicalInventoryCountItementities.Deprecated.Fetch multipleWhsePhysicalInventoryItementities.Deprecated.Fetch multipleWhsePhysicalInventorySrlNmbrentities.Deprecated.getWhsePhysicalInventoryCountItemByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence) Deprecated.Fetch a singleWhsePhysicalInventoryCountItementity using key fields.getWhsePhysicalInventoryItemByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber) Deprecated.Fetch a singleWhsePhysicalInventoryItementity using key fields.getWhsePhysicalInventorySrlNmbrByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence, Integer eWMPhysInvtrySrlNmbrSqnc) Deprecated.Fetch a singleWhsePhysicalInventorySrlNmbrentity using key fields.updateWhsePhysicalInventoryCountItem(WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Update an existingWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.updateWhsePhysicalInventoryItem(WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Update an existingWhsePhysicalInventoryItementity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultWarehousePhysicalInventoryService
public DefaultWarehousePhysicalInventoryService()Deprecated.Creates a service usingWarehousePhysicalInventoryService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultWarehousePhysicalInventoryService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceWarehousePhysicalInventoryService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceCreates a batch request builder object.- Specified by:
batchin interfaceWarehousePhysicalInventoryService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllWhsePhysicalInventoryCountItem
@Nonnull public GetAllRequestBuilder<WhsePhysicalInventoryCountItem> getAllWhsePhysicalInventoryCountItem()Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch multipleWhsePhysicalInventoryCountItementities.- Specified by:
getAllWhsePhysicalInventoryCountItemin interfaceWarehousePhysicalInventoryService- Returns:
- A request builder to fetch multiple
WhsePhysicalInventoryCountItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWhsePhysicalInventoryCountItem
@Nonnull public CountRequestBuilder<WhsePhysicalInventoryCountItem> countWhsePhysicalInventoryCountItem()Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch the number of entries from theWhsePhysicalInventoryCountItementity collection matching the filter and search expressions.- Specified by:
countWhsePhysicalInventoryCountItemin interfaceWarehousePhysicalInventoryService- Returns:
- A request builder to fetch the count of
WhsePhysicalInventoryCountItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWhsePhysicalInventoryCountItemByKey
@Nonnull public GetByKeyRequestBuilder<WhsePhysicalInventoryCountItem> getWhsePhysicalInventoryCountItemByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch a singleWhsePhysicalInventoryCountItementity using key fields.- Specified by:
getWhsePhysicalInventoryCountItemByKeyin interfaceWarehousePhysicalInventoryService- Parameters:
eWMWarehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
physicalInventoryDocNumber- Physical Inventory Document NumberConstraints: Not nullable, Maximum length: 20
physicalInventoryDocYear- Document Year of Physical Inventory DocumentConstraints: Not nullable, Maximum length: 4
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
lineIndexOfPInvItem- Row Index of Internal TablesConstraints: Not nullable
pInvQuantitySequence- Row Index of Internal TablesConstraints: Not nullable
- Returns:
- A request builder to fetch a single
WhsePhysicalInventoryCountItementity 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 theexecutemethod on the request builder object.
-
createWhsePhysicalInventoryCountItem
@Nonnull public CreateRequestBuilder<WhsePhysicalInventoryCountItem> createWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceCreate a newWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.- Specified by:
createWhsePhysicalInventoryCountItemin interfaceWarehousePhysicalInventoryService- Parameters:
whsePhysicalInventoryCountItem-WhsePhysicalInventoryCountItementity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
WhsePhysicalInventoryCountItementity. To perform execution, call theexecutemethod on the request builder object.
-
updateWhsePhysicalInventoryCountItem
@Nonnull public UpdateRequestBuilder<WhsePhysicalInventoryCountItem> updateWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceUpdate an existingWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.- Specified by:
updateWhsePhysicalInventoryCountItemin interfaceWarehousePhysicalInventoryService- Parameters:
whsePhysicalInventoryCountItem-WhsePhysicalInventoryCountItementity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WhsePhysicalInventoryCountItementity. To perform execution, call theexecutemethod on the request builder object.
-
getAllWhsePhysicalInventoryItem
Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch multipleWhsePhysicalInventoryItementities.- Specified by:
getAllWhsePhysicalInventoryItemin interfaceWarehousePhysicalInventoryService- Returns:
- A request builder to fetch multiple
WhsePhysicalInventoryItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWhsePhysicalInventoryItem
Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch the number of entries from theWhsePhysicalInventoryItementity collection matching the filter and search expressions.- Specified by:
countWhsePhysicalInventoryItemin interfaceWarehousePhysicalInventoryService- Returns:
- A request builder to fetch the count of
WhsePhysicalInventoryItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWhsePhysicalInventoryItemByKey
@Nonnull public GetByKeyRequestBuilder<WhsePhysicalInventoryItem> getWhsePhysicalInventoryItemByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch a singleWhsePhysicalInventoryItementity using key fields.- Specified by:
getWhsePhysicalInventoryItemByKeyin interfaceWarehousePhysicalInventoryService- Parameters:
eWMWarehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
physicalInventoryDocNumber- Physical Inventory Document NumberConstraints: Not nullable, Maximum length: 20
physicalInventoryDocYear- Document Year of Physical Inventory DocumentConstraints: Not nullable, Maximum length: 4
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
- Returns:
- A request builder to fetch a single
WhsePhysicalInventoryItementity 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 theexecutemethod on the request builder object.
-
createWhsePhysicalInventoryItem
@Nonnull public CreateRequestBuilder<WhsePhysicalInventoryItem> createWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceCreate a newWhsePhysicalInventoryItementity and save it to the S/4HANA system.- Specified by:
createWhsePhysicalInventoryItemin interfaceWarehousePhysicalInventoryService- Parameters:
whsePhysicalInventoryItem-WhsePhysicalInventoryItementity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
WhsePhysicalInventoryItementity. To perform execution, call theexecutemethod on the request builder object.
-
updateWhsePhysicalInventoryItem
@Nonnull public UpdateRequestBuilder<WhsePhysicalInventoryItem> updateWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceUpdate an existingWhsePhysicalInventoryItementity and save it to the S/4HANA system.- Specified by:
updateWhsePhysicalInventoryItemin interfaceWarehousePhysicalInventoryService- Parameters:
whsePhysicalInventoryItem-WhsePhysicalInventoryItementity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WhsePhysicalInventoryItementity. To perform execution, call theexecutemethod on the request builder object.
-
getAllWhsePhysicalInventorySrlNmbr
@Nonnull public GetAllRequestBuilder<WhsePhysicalInventorySrlNmbr> getAllWhsePhysicalInventorySrlNmbr()Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch multipleWhsePhysicalInventorySrlNmbrentities.- Specified by:
getAllWhsePhysicalInventorySrlNmbrin interfaceWarehousePhysicalInventoryService- Returns:
- A request builder to fetch multiple
WhsePhysicalInventorySrlNmbrentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWhsePhysicalInventorySrlNmbr
@Nonnull public CountRequestBuilder<WhsePhysicalInventorySrlNmbr> countWhsePhysicalInventorySrlNmbr()Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch the number of entries from theWhsePhysicalInventorySrlNmbrentity collection matching the filter and search expressions.- Specified by:
countWhsePhysicalInventorySrlNmbrin interfaceWarehousePhysicalInventoryService- Returns:
- A request builder to fetch the count of
WhsePhysicalInventorySrlNmbrentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWhsePhysicalInventorySrlNmbrByKey
@Nonnull public GetByKeyRequestBuilder<WhsePhysicalInventorySrlNmbr> getWhsePhysicalInventorySrlNmbrByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence, Integer eWMPhysInvtrySrlNmbrSqnc) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceFetch a singleWhsePhysicalInventorySrlNmbrentity using key fields.- Specified by:
getWhsePhysicalInventorySrlNmbrByKeyin interfaceWarehousePhysicalInventoryService- Parameters:
eWMWarehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
physicalInventoryDocNumber- Physical Inventory Document NumberConstraints: Not nullable, Maximum length: 20
physicalInventoryDocYear- Document Year of Physical Inventory DocumentConstraints: Not nullable, Maximum length: 4
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
lineIndexOfPInvItem- Row Index of Internal TablesConstraints: Not nullable
pInvQuantitySequence- Row Index of Internal TablesConstraints: Not nullable
eWMPhysInvtrySrlNmbrSqnc- Row Index of Internal TablesConstraints: Not nullable
- Returns:
- A request builder to fetch a single
WhsePhysicalInventorySrlNmbrentity 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 theexecutemethod on the request builder object.
-
createWhsePhysicalInventorySrlNmbr
@Nonnull public CreateRequestBuilder<WhsePhysicalInventorySrlNmbr> createWhsePhysicalInventorySrlNmbr(@Nonnull WhsePhysicalInventorySrlNmbr whsePhysicalInventorySrlNmbr) Deprecated.Description copied from interface:WarehousePhysicalInventoryServiceCreate a newWhsePhysicalInventorySrlNmbrentity and save it to the S/4HANA system.- Specified by:
createWhsePhysicalInventorySrlNmbrin interfaceWarehousePhysicalInventoryService- Parameters:
whsePhysicalInventorySrlNmbr-WhsePhysicalInventorySrlNmbrentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
WhsePhysicalInventorySrlNmbrentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-