@Named public class DefaultReadCostCenterService extends Object implements ReadCostCenterService
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 |
---|
DefaultReadCostCenterService() |
Modifier and Type | Method and Description |
---|---|
CostCenterFluentHelper |
getAllCostCenter()
Fetch multiple
CostCenter entities. |
CostCenterTextFluentHelper |
getAllCostCenterText()
Fetch multiple
CostCenterText entities. |
CostCenterByKeyFluentHelper |
getCostCenterByKey(String controllingArea,
String costCenter,
Calendar validityEndDate)
Fetch a single
CostCenter entity using key fields. |
CostCenterTextByKeyFluentHelper |
getCostCenterTextByKey(String costCenter,
String controllingArea,
String language,
Calendar validityEndDate)
Fetch a single
CostCenterText entity using key fields. |
public CostCenterFluentHelper getAllCostCenter()
ReadCostCenterService
CostCenter
entities.getAllCostCenter
in interface ReadCostCenterService
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, Calendar validityEndDate)
ReadCostCenterService
CostCenter
entity using key fields.getCostCenterByKey
in interface ReadCostCenterService
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()
ReadCostCenterService
CostCenterText
entities.getAllCostCenterText
in interface ReadCostCenterService
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, Calendar validityEndDate)
ReadCostCenterService
CostCenterText
entity using key fields.getCostCenterTextByKey
in interface ReadCostCenterService
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 © 2017 SAP SE. All rights reserved.