@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDivisionService") public class DefaultDivisionService extends Object implements DivisionService
This service enables you to display division master data to be consumed in SAP Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_DIVISION_SRV |
API Version: | 1 |
Communication Scenario: | SAP Analytics Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | Integration between SAP S/4HANA Cloud and SAP Analytics Cloud (1YB) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultDivisionService()
Creates a service using
DivisionService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DivisionFluentHelper |
getAllDivision()
Fetch multiple
Division entities. |
DivisionTextFluentHelper |
getAllDivisionText()
Fetch multiple
DivisionText
entities. |
DivisionByKeyFluentHelper |
getDivisionByKey(String division)
Fetch a single
Division entity
using key fields. |
DivisionTextByKeyFluentHelper |
getDivisionTextByKey(String division,
String language)
Fetch a single
DivisionText
entity using key fields. |
DefaultDivisionService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultDivisionService()
DivisionService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultDivisionService withServicePath(@Nonnull String servicePath)
DivisionService
withServicePath
in interface DivisionService
servicePath
- Service path that will override the default.@Nonnull public DivisionFluentHelper getAllDivision()
DivisionService
Division
entities.getAllDivision
in interface DivisionService
Division
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 DivisionByKeyFluentHelper getDivisionByKey(String division)
DivisionService
Division
entity
using key fields.getDivisionByKey
in interface DivisionService
division
- A way of grouping materials, products, or services. The system uses divisions to determine the sales
areas and the business areas for a material, product, or service.
Constraints: Not nullable, Maximum length: 2
Division
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 DivisionTextFluentHelper getAllDivisionText()
DivisionService
DivisionText
entities.getAllDivisionText
in interface DivisionService
DivisionText
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 DivisionTextByKeyFluentHelper getDivisionTextByKey(String division, String language)
DivisionService
DivisionText
entity using key fields.getDivisionTextByKey
in interface DivisionService
division
- A way of grouping materials, products, or services. The system uses divisions to determine the sales
areas and the business areas for a material, product, or service.
Constraints: Not nullable, Maximum length: 2
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
DivisionText
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.