public interface ProductExclusionService
This service enables you to create product exclusions based on various factors like time range validities, plant-specific, and application-specific. Additionally, predefined groups can be applied on these product exclusions.
Reference: SAP API Business Hub
OData Service: | PRODUCTEXCLUSION_0001 |
API Version: | 1 |
Communication Scenario: | Master Data - Product Exclusion Integration (SAP_COM_0708) |
Scope Items: | Advanced Available-to-Promise Processing (1JW) |
Authentication Methods: | Basic, x509 |
Service Group Name: | API_PRODSUBSTNEXCLSN |
Business Object: | ProductExclusion |
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<ProdSubstnExclsn> |
countProdSubstnExclsn()
Fetch the number of entries from the
ProdSubstnExclsn
entity collection matching the filter and search expressions. |
CreateRequestBuilder<ProdSubstnExclsn> |
createProdSubstnExclsn(ProdSubstnExclsn prodSubstnExclsn)
Create a new
ProdSubstnExclsn entity and save it to the S/4HANA system. |
DeleteRequestBuilder<ProdSubstnExclsn> |
deleteProdSubstnExclsn(ProdSubstnExclsn prodSubstnExclsn)
Deletes an existing
ProdSubstnExclsn
entity in the S/4HANA system. |
GetAllRequestBuilder<ProdSubstnExclsn> |
getAllProdSubstnExclsn()
Fetch multiple
ProdSubstnExclsn entities. |
GetByKeyRequestBuilder<ProdSubstnExclsn> |
getProdSubstnExclsnByKey(UUID mDSubstnUUID)
Fetch a single
ProdSubstnExclsn entity using key fields. |
UpdateRequestBuilder<ProdSubstnExclsn> |
updateProdSubstnExclsn(ProdSubstnExclsn prodSubstnExclsn)
Update an existing
ProdSubstnExclsn entity and save it to the S/4HANA system. |
ProductExclusionService |
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 ProductExclusionService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull BatchRequestBuilder batch()
execute
method on the request builder object.@Nonnull GetAllRequestBuilder<ProdSubstnExclsn> getAllProdSubstnExclsn()
ProdSubstnExclsn
entities.ProdSubstnExclsn
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<ProdSubstnExclsn> countProdSubstnExclsn()
ProdSubstnExclsn
entity collection matching the filter and search expressions.ProdSubstnExclsn
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<ProdSubstnExclsn> getProdSubstnExclsnByKey(@Nonnull UUID mDSubstnUUID)
ProdSubstnExclsn
entity using key fields.mDSubstnUUID
- Substitution UUID
Constraints: Not nullable
ProdSubstnExclsn
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<ProdSubstnExclsn> createProdSubstnExclsn(@Nonnull ProdSubstnExclsn prodSubstnExclsn)
ProdSubstnExclsn
entity and save it to the S/4HANA system.prodSubstnExclsn
- ProdSubstnExclsn
entity object that will be created in the S/4HANA system.ProdSubstnExclsn
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull UpdateRequestBuilder<ProdSubstnExclsn> updateProdSubstnExclsn(@Nonnull ProdSubstnExclsn prodSubstnExclsn)
ProdSubstnExclsn
entity and save it to the S/4HANA system.prodSubstnExclsn
- ProdSubstnExclsn
entity object that will be updated in the S/4HANA system.ProdSubstnExclsn
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull DeleteRequestBuilder<ProdSubstnExclsn> deleteProdSubstnExclsn(@Nonnull ProdSubstnExclsn prodSubstnExclsn)
ProdSubstnExclsn
entity in the S/4HANA system.prodSubstnExclsn
- ProdSubstnExclsn
entity object that will be deleted in the S/4HANA system.ProdSubstnExclsn
entity. To perform execution, call the
execute
method on the request builder object.Copyright © 2021 SAP SE. All rights reserved.