@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultSupplierItemService") public class DefaultSupplierItemService extends Object implements ServiceWithNavigableEntities, SupplierItemService
You can use this service to create, read and update supplier item. The service is based on the OData protocol and can be consumed by external systems.
Reference: SAP API Business Hub
OData Service: | SUPPLIERITEM_0001 |
API Version: | 1 |
Communication Scenario: | Field Logistics - Manage Supplier Item Integration (SAP_COM_0732) |
Scope Items: | Field Logistics Planning and Execution – Supplier Items (4AH) |
Authentication Methods: | Basic, x509 |
Service Group Name: | API_SUPPLIERITEM |
Business Object: | FldLogsSupplierItem |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSupplierItemService()
Creates a service using
SupplierItemService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
BatchRequestBuilder |
batch()
Creates a batch request builder object.
|
CountRequestBuilder<SupplierItem> |
countSupplierItem()
Fetch the number of entries from the
SupplierItem entity
collection matching the filter and search expressions. |
CreateRequestBuilder<SupplierItem> |
createSupplierItem(SupplierItem supplierItem)
Create a new
SupplierItem
entity and save it to the S/4HANA system. |
GetAllRequestBuilder<SupplierItem> |
getAllSupplierItem()
Fetch multiple
SupplierItem entities. |
String |
getServicePath()
Getter for the OData service root path.
|
GetByKeyRequestBuilder<SupplierItem> |
getSupplierItemByKey(UUID fldLogsSuplrItemUUID)
Fetch a single
SupplierItem entity using key fields. |
UpdateRequestBuilder<SupplierItem> |
updateSupplierItem(SupplierItem supplierItem)
Update an existing
SupplierItem entity and save it to the S/4HANA system. |
DefaultSupplierItemService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEntity
public DefaultSupplierItemService()
SupplierItemService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSupplierItemService withServicePath(@Nonnull String servicePath)
SupplierItemService
withServicePath
in interface SupplierItemService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
SupplierItemService
batch
in interface SupplierItemService
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<SupplierItem> getAllSupplierItem()
SupplierItemService
SupplierItem
entities.getAllSupplierItem
in interface SupplierItemService
SupplierItem
entities. This request builder allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<SupplierItem> countSupplierItem()
SupplierItemService
SupplierItem
entity
collection matching the filter and search expressions.countSupplierItem
in interface SupplierItemService
SupplierItem
entities. This request builder allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<SupplierItem> getSupplierItemByKey(@Nonnull UUID fldLogsSuplrItemUUID)
SupplierItemService
SupplierItem
entity using key fields.getSupplierItemByKey
in interface SupplierItemService
fldLogsSuplrItemUUID
- Supplier Item UUID
Constraints: Not nullable
SupplierItem
entity 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 the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<SupplierItem> createSupplierItem(@Nonnull SupplierItem supplierItem)
SupplierItemService
SupplierItem
entity and save it to the S/4HANA system.createSupplierItem
in interface SupplierItemService
supplierItem
- SupplierItem
entity object that will be created in the S/4HANA system.SupplierItem
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public UpdateRequestBuilder<SupplierItem> updateSupplierItem(@Nonnull SupplierItem supplierItem)
SupplierItemService
SupplierItem
entity and save it to the S/4HANA system.updateSupplierItem
in interface SupplierItemService
supplierItem
- SupplierItem
entity object that will be updated in the S/4HANA system.SupplierItem
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public String getServicePath()
ServiceWithNavigableEntities
getServicePath
in interface ServiceWithNavigableEntities
Copyright © 2021 SAP SE. All rights reserved.