Interface WarehouseResourceService
- All Known Implementing Classes:
DefaultWarehouseResourceService
In every API call, you can make use of the following operations: - You can retrieve warehouse resources. Apply any of the filters provided or retrieve all existing data. - You can create and delete warehouse resources. - You can update existing warehouse resources (log on, log off). - You can retrieve the sequence of queues that is assigned to the resource group of a warehouse resource. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | WAREHOUSERESOURCE_0001 |
| API Version: | 1.2.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Warehousing - Process Warehouse Task Integration(SAP_COM_0353) |
| Scope Items: | Resource Management in Warehousing(3W0) |
| Authentication Methods: | x509 |
| Service Group Name: | API_WAREHOUSE_RESOURCE_2 |
| Business Object: | Warehouse Resource |
-
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 theWarehouseResourceentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theWhseResourceGroupSequenceentity collection matching the filter and search expressions.createWarehouseResource(WarehouseResource warehouseResource) Deprecated.Create a newWarehouseResourceentity and save it to the S/4HANA system.createWhseResourceGroupQueueSqnc(WhseResourceGroupSequence whseResourceGroupSequence) Deprecated.Create a newWhseResourceGroupSequenceentity and save it to the S/4HANA system.deleteWarehouseResource(WarehouseResource warehouseResource) Deprecated.Deletes an existingWarehouseResourceentity in the S/4HANA system.Deprecated.Fetch multipleWarehouseResourceentities.Deprecated.Fetch multipleWhseResourceGroupSequenceentities.getWarehouseResourceByKey(String eWMWarehouse, String eWMResource) Deprecated.Fetch a singleWarehouseResourceentity using key fields.getWhseResourceGroupQueueSqncByKey(String eWMWarehouse, String eWMResourceGroup, String eWMResourceGroupQueueSqncNmbr) Deprecated.Fetch a singleWhseResourceGroupSequenceentity using key fields.updateWarehouseResource(WarehouseResource warehouseResource) Deprecated.Update an existingWarehouseResourceentity 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.
-
getAllWarehouseResource
Deprecated.Fetch multipleWarehouseResourceentities.- Returns:
- A request builder to fetch multiple
WarehouseResourceentities. 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.
-
countWarehouseResource
Deprecated.Fetch the number of entries from theWarehouseResourceentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
WarehouseResourceentities. 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.
-
getWarehouseResourceByKey
@Nonnull GetByKeyRequestBuilder<WarehouseResource> getWarehouseResourceByKey(String eWMWarehouse, String eWMResource) Deprecated.Fetch a singleWarehouseResourceentity using key fields.- Parameters:
eWMResource- Resource (Means of Transportation or User)Constraints: Not nullable, Maximum length: 18
eWMWarehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
WarehouseResourceentity 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.
-
createWarehouseResource
@Nonnull CreateRequestBuilder<WarehouseResource> createWarehouseResource(@Nonnull WarehouseResource warehouseResource) Deprecated.Create a newWarehouseResourceentity and save it to the S/4HANA system.- Parameters:
warehouseResource-WarehouseResourceentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
WarehouseResourceentity. To perform execution, call theexecutemethod on the request builder object.
-
updateWarehouseResource
@Nonnull UpdateRequestBuilder<WarehouseResource> updateWarehouseResource(@Nonnull WarehouseResource warehouseResource) Deprecated.Update an existingWarehouseResourceentity and save it to the S/4HANA system.- Parameters:
warehouseResource-WarehouseResourceentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WarehouseResourceentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteWarehouseResource
@Nonnull DeleteRequestBuilder<WarehouseResource> deleteWarehouseResource(@Nonnull WarehouseResource warehouseResource) Deprecated.Deletes an existingWarehouseResourceentity in the S/4HANA system.- Parameters:
warehouseResource-WarehouseResourceentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
WarehouseResourceentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllWhseResourceGroupQueueSqnc
Deprecated.Fetch multipleWhseResourceGroupSequenceentities.- Returns:
- A request builder to fetch multiple
WhseResourceGroupSequenceentities. 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.
-
countWhseResourceGroupQueueSqnc
Deprecated.Fetch the number of entries from theWhseResourceGroupSequenceentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
WhseResourceGroupSequenceentities. 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.
-
getWhseResourceGroupQueueSqncByKey
@Nonnull GetByKeyRequestBuilder<WhseResourceGroupSequence> getWhseResourceGroupQueueSqncByKey(String eWMWarehouse, String eWMResourceGroup, String eWMResourceGroupQueueSqncNmbr) Deprecated.Fetch a singleWhseResourceGroupSequenceentity using key fields.- Parameters:
eWMResourceGroup- Resource GroupConstraints: Not nullable, Maximum length: 4
eWMResourceGroupQueueSqncNmbr- Sequence NumberConstraints: Not nullable, Maximum length: 5
eWMWarehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
WhseResourceGroupSequenceentity 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.
-
createWhseResourceGroupQueueSqnc
@Nonnull CreateRequestBuilder<WhseResourceGroupSequence> createWhseResourceGroupQueueSqnc(@Nonnull WhseResourceGroupSequence whseResourceGroupSequence) Deprecated.Create a newWhseResourceGroupSequenceentity and save it to the S/4HANA system.- Parameters:
whseResourceGroupSequence-WhseResourceGroupSequenceentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
WhseResourceGroupSequenceentity. To perform execution, call theexecutemethod on the request builder object.
-