public interface ProfitCenterService
This service enables you to display profit center master data to be consumed in SAP Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_PROFITCENTER_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 |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
ProfitCenterFluentHelper |
getAllProfitCenter()
Fetch multiple
ProfitCenter entities. |
ProfitCenterTextFluentHelper |
getAllProfitCenterText()
Fetch multiple
ProfitCenterText entities. |
ProfitCenterByKeyFluentHelper |
getProfitCenterByKey(String controllingArea,
String profitCenter,
LocalDateTime validityEndDate)
Fetch a single
ProfitCenter entity using key fields. |
ProfitCenterTextByKeyFluentHelper |
getProfitCenterTextByKey(String language,
String controllingArea,
String profitCenter,
LocalDateTime validityEndDate)
Fetch a single
ProfitCenterText entity using key fields. |
ProfitCenterService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path used to access the endpoint.ProfitCenterService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ProfitCenterFluentHelper getAllProfitCenter()
ProfitCenter
entities.ProfitCenter
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 ProfitCenterByKeyFluentHelper getProfitCenterByKey(String controllingArea, String profitCenter, LocalDateTime validityEndDate)
ProfitCenter
entity using key fields.controllingArea
- Controlling AreaConstraints: Not nullable, Maximum length: 4
profitCenter
- Profit CenterConstraints: Not nullable, Maximum length: 10
validityEndDate
- Valid To DateConstraints: Not nullable, Precision: 0
ProfitCenter
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 ProfitCenterTextFluentHelper getAllProfitCenterText()
ProfitCenterText
entities.ProfitCenterText
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 ProfitCenterTextByKeyFluentHelper getProfitCenterTextByKey(String language, String controllingArea, String profitCenter, LocalDateTime validityEndDate)
ProfitCenterText
entity using key fields.language
- Language KeyConstraints: Not nullable, Maximum length: 2
controllingArea
- Controlling AreaConstraints: Not nullable, Maximum length: 4
profitCenter
- Profit CenterConstraints: Not nullable, Maximum length: 10
validityEndDate
- Valid To DateConstraints: Not nullable, Precision: 0
ProfitCenterText
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 © 2018 SAP SE. All rights reserved.