Class DefaultWarehouseResourceService
- All Implemented Interfaces:
BatchService<WarehouseResourceServiceBatch>,WarehouseResourceService
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
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.WarehouseResourceService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingWarehouseResourceService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createWarehouseResource(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.
-
Constructor Details
-
DefaultWarehouseResourceService
public DefaultWarehouseResourceService()Deprecated.Creates a service usingWarehouseResourceService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:WarehouseResourceServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceWarehouseResourceService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<WarehouseResourceServiceBatch>
-
getAllWarehouseResource
Deprecated.Description copied from interface:WarehouseResourceServiceFetch multipleWarehouseResourceentities.- Specified by:
getAllWarehouseResourcein interfaceWarehouseResourceService- 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 public WarehouseResourceByKeyFluentHelper getWarehouseResourceByKey(String warehouse, String warehouseResource) Deprecated.Description copied from interface:WarehouseResourceServiceFetch a singleWarehouseResourceentity using key fields.- Specified by:
getWarehouseResourceByKeyin interfaceWarehouseResourceService- Parameters:
warehouse- Warehouse Number/Warehouse ComplexConstraints: Not nullable, Maximum length: 4
warehouseResource- Resource (Means of Transportation or User)Constraints: Not nullable, Maximum length: 18
- 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 public WarehouseResourceCreateFluentHelper createWarehouseResource(@Nonnull WarehouseResource warehouseResource) Deprecated.Description copied from interface:WarehouseResourceServiceCreate a newWarehouseResourceentity and save it to the S/4HANA system.- Specified by:
createWarehouseResourcein interfaceWarehouseResourceService- 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 public WarehouseResourceDeleteFluentHelper deleteWarehouseResource(@Nonnull WarehouseResource warehouseResource) Deprecated.Description copied from interface:WarehouseResourceServiceDeletes an existingWarehouseResourceentity in the S/4HANA system.- Specified by:
deleteWarehouseResourcein interfaceWarehouseResourceService- 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 public LogoffFromWarehouseResourceFluentHelper logoffFromWarehouseResource(@Nonnull String warehouse, @Nonnull String warehouseResource) Deprecated.Description copied from interface:WarehouseResourceServiceCreates a fluent helper for the LogoffFromWarehouseResource OData function import.
- Specified by:
logoffFromWarehouseResourcein interfaceWarehouseResourceService- Parameters:
warehouse- Warehouse NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Warehouse
warehouseResource- ResourceConstraints: Not nullable, Maximum length: 18
Original parameter name from the Odata EDM: WarehouseResource
- 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 public LogonToWarehouseResourceFluentHelper logonToWarehouseResource(@Nonnull String warehouse, @Nonnull String warehouseResource) Deprecated.Description copied from interface:WarehouseResourceServiceCreates a fluent helper for the LogonToWarehouseResource OData function import.
- Specified by:
logonToWarehouseResourcein interfaceWarehouseResourceService- Parameters:
warehouse- Warehouse NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Warehouse
warehouseResource- ResourceConstraints: Not nullable, Maximum length: 18
Original parameter name from the Odata EDM: WarehouseResource
- 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.
-