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.
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 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 TypeMethodDescriptioncreateCustomerMaterial(CustomerMaterial customerMaterial) Deprecated.Create a newCustomerMaterialentity and save it to the S/4HANA system.deleteCustomerMaterial(CustomerMaterial customerMaterial) Deprecated.Deletes an existingCustomerMaterialentity in the S/4HANA system.Deprecated.Fetch multipleCustomerMaterialentities.getCustomerMaterialByKey(String salesOrganization, String distributionChannel, String customer, String material) Deprecated.Fetch a singleCustomerMaterialentity using key fields.updateCustomerMaterial(CustomerMaterial customerMaterial) Deprecated.Update an existingCustomerMaterialentity 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.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
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.
-
getAllCustomerMaterial
Deprecated.Fetch multipleCustomerMaterialentities.- Returns:
- A fluent helper to fetch multiple
CustomerMaterialentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getCustomerMaterialByKey
@Nonnull CustomerMaterialByKeyFluentHelper getCustomerMaterialByKey(String salesOrganization, String distributionChannel, String customer, String material) Deprecated.Fetch a singleCustomerMaterialentity using key fields.- Parameters:
material- Product NumberConstraints: Not nullable, Maximum length: 40
distributionChannel- Distribution ChannelConstraints: Not nullable, Maximum length: 2
salesOrganization- Sales OrganizationConstraints: Not nullable, Maximum length: 4
customer- Customer numberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
CustomerMaterialentity 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 theexecutemethod on the fluent helper object.
-
createCustomerMaterial
@Nonnull CustomerMaterialCreateFluentHelper createCustomerMaterial(@Nonnull CustomerMaterial customerMaterial) Deprecated.Create a newCustomerMaterialentity and save it to the S/4HANA system.- Parameters:
customerMaterial-CustomerMaterialentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
CustomerMaterialentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateCustomerMaterial
@Nonnull CustomerMaterialUpdateFluentHelper updateCustomerMaterial(@Nonnull CustomerMaterial customerMaterial) Deprecated.Update an existingCustomerMaterialentity and save it to the S/4HANA system.- Parameters:
customerMaterial-CustomerMaterialentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
CustomerMaterialentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteCustomerMaterial
@Nonnull CustomerMaterialDeleteFluentHelper deleteCustomerMaterial(@Nonnull CustomerMaterial customerMaterial) Deprecated.Deletes an existingCustomerMaterialentity in the S/4HANA system.- Parameters:
customerMaterial-CustomerMaterialentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
CustomerMaterialentity. To perform execution, call theexecutemethod on the fluent helper object.
-