Interface ProductAssignmentToDistributionCenterService

All Known Implementing Classes:
DefaultProductAssignmentToDistributionCenterService

@Deprecated public interface ProductAssignmentToDistributionCenterService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

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..

Business Documentation

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 Details

  • Method Details

    • withServicePath

      @Nonnull ProductAssignmentToDistributionCenterService withServicePath(@Nonnull String servicePath)
      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

      @Nonnull BatchRequestBuilder batch()
      Deprecated.
      Creates a batch request builder object.
      Returns:
      A request builder to handle batch operation on this service. To perform execution, call the execute method on the request builder object.
    • getAllProductDistrCtrListing

      @Nonnull GetAllRequestBuilder<ProductDistrCtrListing> getAllProductDistrCtrListing()
      Deprecated.
      Fetch multiple ProductDistrCtrListing entities.
      Returns:
      A request builder to fetch multiple ProductDistrCtrListing 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.
    • countProductDistrCtrListing

      @Nonnull CountRequestBuilder<ProductDistrCtrListing> countProductDistrCtrListing()
      Deprecated.
      Fetch the number of entries from the ProductDistrCtrListing entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of ProductDistrCtrListing 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.
    • getProductDistrCtrListingByKey

      @Nonnull GetByKeyRequestBuilder<ProductDistrCtrListing> getProductDistrCtrListingByKey(String product, String assortmentModuleUser, String site)
      Deprecated.
      Fetch a single ProductDistrCtrListing entity using key fields.
      Parameters:
      product - Structured material

      Constraints: Not nullable, Maximum length: 18

      site - Plant

      Constraints: Not nullable, Maximum length: 4

      assortmentModuleUser - Assortment User

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A request builder to fetch a single ProductDistrCtrListing 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.
    • createProductDistrCtrListing

      @Nonnull CreateRequestBuilder<ProductDistrCtrListing> createProductDistrCtrListing(@Nonnull ProductDistrCtrListing productDistrCtrListing)
      Deprecated.
      Create a new ProductDistrCtrListing entity and save it to the S/4HANA system.
      Parameters:
      productDistrCtrListing - ProductDistrCtrListing entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new ProductDistrCtrListing entity. To perform execution, call the execute method on the request builder object.
    • updateProductDistrCtrListing

      @Nonnull UpdateRequestBuilder<ProductDistrCtrListing> updateProductDistrCtrListing(@Nonnull ProductDistrCtrListing productDistrCtrListing)
      Deprecated.
      Update an existing ProductDistrCtrListing entity and save it to the S/4HANA system.
      Parameters:
      productDistrCtrListing - ProductDistrCtrListing entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing ProductDistrCtrListing entity. To perform execution, call the execute method on the request builder object.
    • deleteProductDistrCtrListing

      @Nonnull DeleteRequestBuilder<ProductDistrCtrListing> deleteProductDistrCtrListing(@Nonnull ProductDistrCtrListing productDistrCtrListing)
      Deprecated.
      Deletes an existing ProductDistrCtrListing entity in the S/4HANA system.
      Parameters:
      productDistrCtrListing - ProductDistrCtrListing entity object that will be deleted in the S/4HANA system.
      Returns:
      A request builder to delete an existing ProductDistrCtrListing entity. To perform execution, call the execute method on the request builder object.