public interface CostCenterService extends BatchService<CostCenterServiceBatch>
This service enables you to display cost center master data to be consumed in SAP Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_COSTCENTER_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 |
---|---|
CostCenterFluentHelper |
getAllCostCenter()
Fetch multiple
CostCenter
entities. |
CostCenterTextFluentHelper |
getAllCostCenterText()
Fetch multiple
CostCenterText entities. |
CostCenterByKeyFluentHelper |
getCostCenterByKey(String controllingArea,
String costCenter,
LocalDateTime validityEndDate)
Fetch a single
CostCenter
entity using key fields. |
CostCenterTextByKeyFluentHelper |
getCostCenterTextByKey(String costCenter,
String controllingArea,
String language,
LocalDateTime validityEndDate)
Fetch a single
CostCenterText entity using key fields. |
CostCenterService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull CostCenterService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CostCenterFluentHelper getAllCostCenter()
CostCenter
entities.CostCenter
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 CostCenterByKeyFluentHelper getCostCenterByKey(String controllingArea, String costCenter, LocalDateTime validityEndDate)
CostCenter
entity using key fields.costCenter
- A key that uniquely identifies a cost center.
Constraints: Not nullable, Maximum length: 10
controllingArea
- Uniquely identifies a controlling area.
Constraints: Not nullable, Maximum length: 4
validityEndDate
- Date indicating up to when an entry is valid.
Constraints: Not nullable, Precision: 0
CostCenter
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 CostCenterTextFluentHelper getAllCostCenterText()
CostCenterText
entities.CostCenterText
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 CostCenterTextByKeyFluentHelper getCostCenterTextByKey(String costCenter, String controllingArea, String language, LocalDateTime validityEndDate)
CostCenterText
entity using key fields.costCenter
- A key that uniquely identifies a cost center.
Constraints: Not nullable, Maximum length: 10
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
controllingArea
- Uniquely identifies a controlling area.
Constraints: Not nullable, Maximum length: 4
validityEndDate
- Date indicating up to when an entry is valid.
Constraints: Not nullable, Precision: 0
CostCenterText
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.