Interface CustomerMaterialService

All Superinterfaces:
BatchService<CustomerMaterialServiceBatch>
All Known Implementing Classes:
DefaultCustomerMaterialService

@Deprecated public interface CustomerMaterialService extends BatchService<CustomerMaterialServiceBatch>
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

The service contains one entity only for customer material. If there are any issues when creating, reading, updating, or deleting the customer material, the system displays error messages in the response.

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_CUSTOMER_MATERIAL_SRV
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Customer Material Info Record Integration(SAP_COM_0134)
Scope Items: Sell from Stock(BD9), Sell from Stock(OD9)
Authentication Methods: x509
Business Object: Customer Material
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull CustomerMaterialService 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.
    • getAllCustomerMaterial

      @Nonnull CustomerMaterialFluentHelper getAllCustomerMaterial()
      Deprecated.
      Fetch multiple CustomerMaterial entities.
      Returns:
      A fluent helper to fetch multiple CustomerMaterial entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • getCustomerMaterialByKey

      @Nonnull CustomerMaterialByKeyFluentHelper getCustomerMaterialByKey(String salesOrganization, String distributionChannel, String customer, String material)
      Deprecated.
      Fetch a single CustomerMaterial entity using key fields.
      Parameters:
      material - Product Number

      Constraints: Not nullable, Maximum length: 40

      distributionChannel - Distribution Channel

      Constraints: Not nullable, Maximum length: 2

      salesOrganization - Sales Organization

      Constraints: Not nullable, Maximum length: 4

      customer - Customer number

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A fluent helper to fetch a single CustomerMaterial entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • createCustomerMaterial

      @Nonnull CustomerMaterialCreateFluentHelper createCustomerMaterial(@Nonnull CustomerMaterial customerMaterial)
      Deprecated.
      Create a new CustomerMaterial entity and save it to the S/4HANA system.
      Parameters:
      customerMaterial - CustomerMaterial entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new CustomerMaterial entity. To perform execution, call the execute method on the fluent helper object.
    • updateCustomerMaterial

      @Nonnull CustomerMaterialUpdateFluentHelper updateCustomerMaterial(@Nonnull CustomerMaterial customerMaterial)
      Deprecated.
      Update an existing CustomerMaterial entity and save it to the S/4HANA system.
      Parameters:
      customerMaterial - CustomerMaterial entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing CustomerMaterial entity. To perform execution, call the execute method on the fluent helper object.
    • deleteCustomerMaterial

      @Nonnull CustomerMaterialDeleteFluentHelper deleteCustomerMaterial(@Nonnull CustomerMaterial customerMaterial)
      Deprecated.
      Deletes an existing CustomerMaterial entity in the S/4HANA system.
      Parameters:
      customerMaterial - CustomerMaterial entity object that will be deleted in the S/4HANA system.
      Returns:
      A fluent helper to delete an existing CustomerMaterial entity. To perform execution, call the execute method on the fluent helper object.