@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCostCenterService") public class DefaultCostCenterService extends Object implements CostCenterService
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 Business Objects Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | oData Integration with SAP Business Objects Cloud for Planning (1YB) |
Constructor and Description |
---|
DefaultCostCenterService() |
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. |
public CostCenterFluentHelper getAllCostCenter()
CostCenterService
CostCenter
entities.getAllCostCenter
in interface CostCenterService
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.public CostCenterByKeyFluentHelper getCostCenterByKey(String controllingArea, String costCenter, LocalDateTime validityEndDate)
CostCenterService
CostCenter
entity using key fields.getCostCenterByKey
in interface CostCenterService
controllingArea
- Uniquely identifies a controlling area.Constraints: Not nullable, Maximum length: 4
costCenter
- A key that uniquely identifies a cost center.Constraints: Not nullable, Maximum length: 10
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.public CostCenterTextFluentHelper getAllCostCenterText()
CostCenterService
CostCenterText
entities.getAllCostCenterText
in interface CostCenterService
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.public CostCenterTextByKeyFluentHelper getCostCenterTextByKey(String costCenter, String controllingArea, String language, LocalDateTime validityEndDate)
CostCenterService
CostCenterText
entity using key fields.getCostCenterTextByKey
in interface CostCenterService
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
language
- The language key indicatesConstraints: Not nullable, Maximum length: 2
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 © 2018 SAP SE. All rights reserved.