Interface ProductAssignmentToDistributionCenterService
- All Known Implementing Classes:
DefaultProductAssignmentToDistributionCenterService
You can use this service to manage product assignments to distribution centers. By defining relationships between products and a distribution center, you can form the overall assortment of a distribution center. Note that distribution centers are handled as a special type of assortment users. Thus, when defining relationships between products and distribution centers, you do not have to create assortment modules. Instead, you can assign the products directly to the distribution centers without using visible assortment modules. The process of defining such relationships is referred to as listing. On each API call, you can perform the following operations: - You can create product assignments to distribution centers. - You can read product assignments to distribution centers. - You can update product assignments to distribution centers, more specifically, you can update a product’s assignment period for a distribution center. - You can delete product assignments to distribution centers..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_API_RFM_PROD_DC_LISTING_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Product Assignment to Distribution Center Integration(SAP_COM_0792) |
| Scope Items: | Assortments(3I5) |
| Authentication Methods: | x509 |
| Service Group Name: | API_RFM_PROD_DC_LISTING |
| Business Object: | Product |
-
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 TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theProductDistrCtrListingentity collection matching the filter and search expressions.createProductDistrCtrListing(ProductDistrCtrListing productDistrCtrListing) Deprecated.Create a newProductDistrCtrListingentity and save it to the S/4HANA system.deleteProductDistrCtrListing(ProductDistrCtrListing productDistrCtrListing) Deprecated.Deletes an existingProductDistrCtrListingentity in the S/4HANA system.Deprecated.Fetch multipleProductDistrCtrListingentities.getProductDistrCtrListingByKey(String product, String assortmentModuleUser, String site) Deprecated.Fetch a singleProductDistrCtrListingentity using key fields.updateProductDistrCtrListing(ProductDistrCtrListing productDistrCtrListing) Deprecated.Update an existingProductDistrCtrListingentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
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.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProductDistrCtrListing
Deprecated.Fetch multipleProductDistrCtrListingentities.- Returns:
- A request builder to fetch multiple
ProductDistrCtrListingentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countProductDistrCtrListing
Deprecated.Fetch the number of entries from theProductDistrCtrListingentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ProductDistrCtrListingentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getProductDistrCtrListingByKey
@Nonnull GetByKeyRequestBuilder<ProductDistrCtrListing> getProductDistrCtrListingByKey(String product, String assortmentModuleUser, String site) Deprecated.Fetch a singleProductDistrCtrListingentity using key fields.- Parameters:
product- Structured materialConstraints: Not nullable, Maximum length: 18
site- PlantConstraints: Not nullable, Maximum length: 4
assortmentModuleUser- Assortment UserConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
ProductDistrCtrListingentity 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 theexecutemethod on the request builder object.
-
createProductDistrCtrListing
@Nonnull CreateRequestBuilder<ProductDistrCtrListing> createProductDistrCtrListing(@Nonnull ProductDistrCtrListing productDistrCtrListing) Deprecated.Create a newProductDistrCtrListingentity and save it to the S/4HANA system.- Parameters:
productDistrCtrListing-ProductDistrCtrListingentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProductDistrCtrListingentity. To perform execution, call theexecutemethod on the request builder object.
-
updateProductDistrCtrListing
@Nonnull UpdateRequestBuilder<ProductDistrCtrListing> updateProductDistrCtrListing(@Nonnull ProductDistrCtrListing productDistrCtrListing) Deprecated.Update an existingProductDistrCtrListingentity and save it to the S/4HANA system.- Parameters:
productDistrCtrListing-ProductDistrCtrListingentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProductDistrCtrListingentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProductDistrCtrListing
@Nonnull DeleteRequestBuilder<ProductDistrCtrListing> deleteProductDistrCtrListing(@Nonnull ProductDistrCtrListing productDistrCtrListing) Deprecated.Deletes an existingProductDistrCtrListingentity in the S/4HANA system.- Parameters:
productDistrCtrListing-ProductDistrCtrListingentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ProductDistrCtrListingentity. To perform execution, call theexecutemethod on the request builder object.
-