@Named public class DefaultReadCustomerMaterialsService extends Object implements ReadCustomerMaterialsService
This service enables external applications to integrate with read methods for processing customer materials in SAP S/4HANA Cloud. It enables you to retrieve customer material info records in an API call.
Reference: SAP API Business Hub
OData Service: | API_CUSTOMER_MATERIAL_SRV |
API Version: | 1 |
Minimum ERP Version: | 1708 |
Communication Scenario: | Customer Material Info Record Integration (SAP_COM_0134) |
Scope Items: | Sell from Stock (BD9) |
Constructor and Description |
---|
DefaultReadCustomerMaterialsService() |
Modifier and Type | Method and Description |
---|---|
CustomerMaterialFluentHelper |
getAllCustomerMaterial()
Fetch multiple
CustomerMaterial entities. |
CustomerMaterialByKeyFluentHelper |
getCustomerMaterialByKey(String salesOrganization,
String distributionChannel,
String customer,
String material)
Fetch a single
CustomerMaterial entity using key fields. |
public CustomerMaterialFluentHelper getAllCustomerMaterial()
ReadCustomerMaterialsService
CustomerMaterial
entities.getAllCustomerMaterial
in interface ReadCustomerMaterialsService
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.public CustomerMaterialByKeyFluentHelper getCustomerMaterialByKey(String salesOrganization, String distributionChannel, String customer, String material)
ReadCustomerMaterialsService
CustomerMaterial
entity using key fields.getCustomerMaterialByKey
in interface ReadCustomerMaterialsService
salesOrganization
- Sales OrganizationConstraints: Not nullable, Maximum length: 4
distributionChannel
- Distribution ChannelConstraints: Not nullable, Maximum length: 2
customer
- Customer numberConstraints: Not nullable, Maximum length: 10
material
- Material NumberConstraints: Not nullable, Maximum length: 40
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.Copyright © 2017 SAP SE. All rights reserved.