@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCustomerAndSupplierIndustryService") public class DefaultCustomerAndSupplierIndustryService extends Object implements CustomerAndSupplierIndustryService
This service enables you to read the industry master data of the customer and supplier in an API call. It is based on the OData protocol, and can be consumed in Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_CUSTOMERSUPPLIERINDUSTRY_SRV |
API Version: | 1 |
Communication Scenario: | SAP Business Objects Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | oData Integration with SAP Business Objects Cloud for Planning (1YB) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultCustomerAndSupplierIndustryService()
Creates a service using
CustomerAndSupplierIndustryService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultCustomerAndSupplierIndustryServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
CustomerSupplierIndustryFluentHelper |
getAllCustomerSupplierIndustry()
Fetch multiple
CustomerSupplierIndustry entities. |
CustomerSupplierIndustryTextFluentHelper |
getAllCustomerSupplierIndustryText()
Fetch multiple
CustomerSupplierIndustryText entities. |
CustomerSupplierIndustryByKeyFluentHelper |
getCustomerSupplierIndustryByKey(String industry)
Fetch a single
CustomerSupplierIndustry entity using key fields. |
CustomerSupplierIndustryTextByKeyFluentHelper |
getCustomerSupplierIndustryTextByKey(String language,
String industry)
Fetch a single
CustomerSupplierIndustryText entity using key fields. |
DefaultCustomerAndSupplierIndustryService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultCustomerAndSupplierIndustryService()
CustomerAndSupplierIndustryService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultCustomerAndSupplierIndustryService withServicePath(@Nonnull String servicePath)
CustomerAndSupplierIndustryService
withServicePath
in interface CustomerAndSupplierIndustryService
servicePath
- Service path that will override the default.@Nonnull public DefaultCustomerAndSupplierIndustryServiceBatch batch()
batch
in interface BatchService<CustomerAndSupplierIndustryServiceBatch>
@Nonnull public CustomerSupplierIndustryFluentHelper getAllCustomerSupplierIndustry()
CustomerAndSupplierIndustryService
CustomerSupplierIndustry
entities.getAllCustomerSupplierIndustry
in interface CustomerAndSupplierIndustryService
CustomerSupplierIndustry
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.@Nonnull public CustomerSupplierIndustryByKeyFluentHelper getCustomerSupplierIndustryByKey(String industry)
CustomerAndSupplierIndustryService
CustomerSupplierIndustry
entity using key fields.getCustomerSupplierIndustryByKey
in interface CustomerAndSupplierIndustryService
industry
- An industry is a distinct group of companies with the same basic business activity. The industry key
is used in selecting data for evaluations (for example, a vendor master data list). You can specify
industries such as trade, banking, service, manufacturing, health care, public service, media and so
on.
Constraints: Not nullable, Maximum length: 4
CustomerSupplierIndustry
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.@Nonnull public CustomerSupplierIndustryTextFluentHelper getAllCustomerSupplierIndustryText()
CustomerAndSupplierIndustryService
CustomerSupplierIndustryText
entities.getAllCustomerSupplierIndustryText
in interface CustomerAndSupplierIndustryService
CustomerSupplierIndustryText
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.@Nonnull public CustomerSupplierIndustryTextByKeyFluentHelper getCustomerSupplierIndustryTextByKey(String language, String industry)
CustomerAndSupplierIndustryService
CustomerSupplierIndustryText
entity using key fields.getCustomerSupplierIndustryTextByKey
in interface CustomerAndSupplierIndustryService
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
industry
- An industry is a distinct group of companies with the same basic business activity. The industry key
is used in selecting data for evaluations (for example, a vendor master data list). You can specify
industries such as trade, banking, service, manufacturing, health care, public service, media and so
on.
Constraints: Not nullable, Maximum length: 4
CustomerSupplierIndustryText
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 © 2019 SAP SE. All rights reserved.