public interface ProductSubstitutionService
This service enables you to create plant, application and time range specific product substitution. Additionally, these substitutions can be sequenced, and grouped using predefined groups.
Reference: SAP API Business Hub
OData Service: | PRODUCTSUBSTITUTION_0001 |
API Version: | 1 |
Communication Scenario: | Master Data - Product Substitution Integration (SAP_COM_0707) |
Scope Items: | Advanced Available-to-Promise Processing (1JW) |
Authentication Methods: | Basic, x509 |
Service Group Name: | API_PRODUCTSUBSTITUTION |
Business Object: | ProductSubstitution |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
BatchRequestBuilder |
batch()
Creates a batch request builder object.
|
CountRequestBuilder<ProdSubstn> |
countProdSubstn()
Fetch the number of entries from the
ProdSubstn entity
collection matching the filter and search expressions. |
CreateRequestBuilder<ProdSubstn> |
createProdSubstn(ProdSubstn prodSubstn)
Create a new
ProdSubstn entity and save it to the S/4HANA system. |
DeleteRequestBuilder<ProdSubstn> |
deleteProdSubstn(ProdSubstn prodSubstn)
Deletes an existing
ProdSubstn entity in the S/4HANA system. |
GetAllRequestBuilder<ProdSubstn> |
getAllProdSubstn()
Fetch multiple
ProdSubstn entities. |
GetByKeyRequestBuilder<ProdSubstn> |
getProdSubstnByKey(UUID mDSubstnUUID)
Fetch a single
ProdSubstn entity using key fields. |
UpdateRequestBuilder<ProdSubstn> |
updateProdSubstn(ProdSubstn prodSubstn)
Update an existing
ProdSubstn entity and save it to the S/4HANA system. |
ProductSubstitutionService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull ProductSubstitutionService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull BatchRequestBuilder batch()
execute
method on the request builder object.@Nonnull GetAllRequestBuilder<ProdSubstn> getAllProdSubstn()
ProdSubstn
entities.ProdSubstn
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 CountRequestBuilder<ProdSubstn> countProdSubstn()
ProdSubstn
entity
collection matching the filter and search expressions.ProdSubstn
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 GetByKeyRequestBuilder<ProdSubstn> getProdSubstnByKey(@Nonnull UUID mDSubstnUUID)
ProdSubstn
entity using key fields.mDSubstnUUID
- Substitution UUID
Constraints: Not nullable
ProdSubstn
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 CreateRequestBuilder<ProdSubstn> createProdSubstn(@Nonnull ProdSubstn prodSubstn)
ProdSubstn
entity and save it to the S/4HANA system.prodSubstn
- ProdSubstn
entity object that will be created in the S/4HANA system.ProdSubstn
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull UpdateRequestBuilder<ProdSubstn> updateProdSubstn(@Nonnull ProdSubstn prodSubstn)
ProdSubstn
entity and save it to the S/4HANA system.prodSubstn
- ProdSubstn
entity object that will be updated in the S/4HANA system.ProdSubstn
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull DeleteRequestBuilder<ProdSubstn> deleteProdSubstn(@Nonnull ProdSubstn prodSubstn)
ProdSubstn
entity in the S/4HANA system.prodSubstn
- ProdSubstn
entity object that will be deleted in the S/4HANA system.ProdSubstn
entity. To perform execution, call the
execute
method on the request builder object.Copyright © 2021 SAP SE. All rights reserved.