Interface WarehouseResourceService
- All Superinterfaces:
BatchService<WarehouseResourceServiceBatch>
- 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)..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_WAREHOUSE_RESOURCE |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2208 |
| Communication Scenario: | Warehousing - Process Warehouse Task Integration(SAP_COM_0353) |
| Scope Items: | Resource Management in Warehousing(3W0) |
| 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 TypeMethodDescriptioncreateWarehouseResource(WarehouseResource warehouseResource) Deprecated.Create a newWarehouseResourceentity and save it to the S/4HANA system.deleteWarehouseResource(WarehouseResource warehouseResource) Deprecated.Deletes an existingWarehouseResourceentity in the S/4HANA system.Deprecated.Fetch multipleWarehouseResourceentities.getWarehouseResourceByKey(String warehouse, String warehouseResource) Deprecated.Fetch a singleWarehouseResourceentity using key fields.logoffFromWarehouseResource(String warehouse, String warehouseResource) Deprecated.Creates a fluent helper for the LogoffFromWarehouseResource OData function import.logonToWarehouseResource(String warehouse, String warehouseResource) Deprecated.Creates a fluent helper for the LogonToWarehouseResource OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
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.
-
getAllWarehouseResource
Deprecated.Fetch multipleWarehouseResourceentities.- Returns:
- A fluent helper to fetch multiple
WarehouseResourceentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getWarehouseResourceByKey
@Nonnull WarehouseResourceByKeyFluentHelper getWarehouseResourceByKey(String warehouse, String warehouseResource) Deprecated.Fetch a singleWarehouseResourceentity using key fields.- Parameters:
warehouseResource- Resource (Means of Transportation or User)Constraints: Not nullable, Maximum length: 18
warehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
WarehouseResourceentity 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 theexecutemethod on the fluent helper object.
-
createWarehouseResource
@Nonnull WarehouseResourceCreateFluentHelper 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 fluent helper to create a new
WarehouseResourceentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteWarehouseResource
@Nonnull WarehouseResourceDeleteFluentHelper 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 fluent helper to delete an existing
WarehouseResourceentity. To perform execution, call theexecutemethod on the fluent helper object.
-
logoffFromWarehouseResource
@Nonnull LogoffFromWarehouseResourceFluentHelper logoffFromWarehouseResource(@Nonnull String warehouse, @Nonnull String warehouseResource) Deprecated.Creates a fluent helper for the LogoffFromWarehouseResource OData function import.
- Parameters:
warehouseResource- ResourceConstraints: Not nullable, Maximum length: 18
Original parameter name from the Odata EDM: WarehouseResource
warehouse- Warehouse NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Warehouse
- Returns:
- A fluent helper object that will execute the LogoffFromWarehouseResource OData function import
with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
logonToWarehouseResource
@Nonnull LogonToWarehouseResourceFluentHelper logonToWarehouseResource(@Nonnull String warehouse, @Nonnull String warehouseResource) Deprecated.Creates a fluent helper for the LogonToWarehouseResource OData function import.
- Parameters:
warehouseResource- ResourceConstraints: Not nullable, Maximum length: 18
Original parameter name from the Odata EDM: WarehouseResource
warehouse- Warehouse NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Warehouse
- Returns:
- A fluent helper object that will execute the LogonToWarehouseResource OData function import with
the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-