Interface WarehousePhysicalInventoryService
- All Known Implementing Classes:
DefaultWarehousePhysicalInventoryService
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
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.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.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
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
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllWhsePhysicalInventoryCountItem
@Nonnull GetAllRequestBuilder<WhsePhysicalInventoryCountItem> getAllWhsePhysicalInventoryCountItem()Deprecated.Fetch multipleWhsePhysicalInventoryCountItementities.- 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
Deprecated.Fetch the number of entries from theWhsePhysicalInventoryCountItementity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<WhsePhysicalInventoryCountItem> getWhsePhysicalInventoryCountItemByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence) Deprecated.Fetch a singleWhsePhysicalInventoryCountItementity using key fields.- Parameters:
physicalInventoryDocYear- Document Year of Physical Inventory DocumentConstraints: Not nullable, Maximum length: 4
pInvQuantitySequence- Row Index of Internal TablesConstraints: Not nullable
lineIndexOfPInvItem- Row Index of Internal TablesConstraints: Not nullable
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
physicalInventoryDocNumber- Physical Inventory Document NumberConstraints: Not nullable, Maximum length: 20
eWMWarehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
- 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 CreateRequestBuilder<WhsePhysicalInventoryCountItem> createWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Create a newWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.- 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 UpdateRequestBuilder<WhsePhysicalInventoryCountItem> updateWhsePhysicalInventoryCountItem(@Nonnull WhsePhysicalInventoryCountItem whsePhysicalInventoryCountItem) Deprecated.Update an existingWhsePhysicalInventoryCountItementity and save it to the S/4HANA system.- 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.Fetch multipleWhsePhysicalInventoryItementities.- 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.Fetch the number of entries from theWhsePhysicalInventoryItementity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<WhsePhysicalInventoryItem> getWhsePhysicalInventoryItemByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber) Deprecated.Fetch a singleWhsePhysicalInventoryItementity using key fields.- Parameters:
physicalInventoryDocYear- Document Year of Physical Inventory DocumentConstraints: Not nullable, Maximum length: 4
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
physicalInventoryDocNumber- Physical Inventory Document NumberConstraints: Not nullable, Maximum length: 20
eWMWarehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
- 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 CreateRequestBuilder<WhsePhysicalInventoryItem> createWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Create a newWhsePhysicalInventoryItementity and save it to the S/4HANA system.- 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 UpdateRequestBuilder<WhsePhysicalInventoryItem> updateWhsePhysicalInventoryItem(@Nonnull WhsePhysicalInventoryItem whsePhysicalInventoryItem) Deprecated.Update an existingWhsePhysicalInventoryItementity and save it to the S/4HANA system.- 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
Deprecated.Fetch multipleWhsePhysicalInventorySrlNmbrentities.- 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
Deprecated.Fetch the number of entries from theWhsePhysicalInventorySrlNmbrentity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<WhsePhysicalInventorySrlNmbr> getWhsePhysicalInventorySrlNmbrByKey(String eWMWarehouse, String physicalInventoryDocNumber, String physicalInventoryDocYear, String physicalInventoryItemNumber, Integer lineIndexOfPInvItem, Integer pInvQuantitySequence, Integer eWMPhysInvtrySrlNmbrSqnc) Deprecated.Fetch a singleWhsePhysicalInventorySrlNmbrentity using key fields.- Parameters:
physicalInventoryDocYear- Document Year of Physical Inventory DocumentConstraints: Not nullable, Maximum length: 4
pInvQuantitySequence- Row Index of Internal TablesConstraints: Not nullable
lineIndexOfPInvItem- Row Index of Internal TablesConstraints: Not nullable
physicalInventoryItemNumber- ItemConstraints: Not nullable, Maximum length: 6
physicalInventoryDocNumber- Physical Inventory Document NumberConstraints: Not nullable, Maximum length: 20
eWMPhysInvtrySrlNmbrSqnc- Row Index of Internal TablesConstraints: Not nullable
eWMWarehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
- 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 CreateRequestBuilder<WhsePhysicalInventorySrlNmbr> createWhsePhysicalInventorySrlNmbr(@Nonnull WhsePhysicalInventorySrlNmbr whsePhysicalInventorySrlNmbr) Deprecated.Create a newWhsePhysicalInventorySrlNmbrentity and save it to the S/4HANA system.- 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.
-