@Named public class DefaultReadProfitCenterService extends Object implements ReadProfitCenterService
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 Business Objects Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | oData Integration with SAP Business Objects Cloud for Planning (1YB) |
Constructor and Description |
---|
DefaultReadProfitCenterService() |
Modifier and Type | Method and Description |
---|---|
ProfitCenterFluentHelper |
getAllProfitCenter()
Fetch multiple
ProfitCenter entities. |
ProfitCenterTextFluentHelper |
getAllProfitCenterText()
Fetch multiple
ProfitCenterText entities. |
ProfitCenterByKeyFluentHelper |
getProfitCenterByKey(String controllingArea,
String profitCenter,
Calendar validityEndDate)
Fetch a single
ProfitCenter entity using key fields. |
ProfitCenterTextByKeyFluentHelper |
getProfitCenterTextByKey(String language,
String controllingArea,
String profitCenter,
Calendar validityEndDate)
Fetch a single
ProfitCenterText entity using key fields. |
public ProfitCenterFluentHelper getAllProfitCenter()
ReadProfitCenterService
ProfitCenter
entities.getAllProfitCenter
in interface ReadProfitCenterService
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.public ProfitCenterByKeyFluentHelper getProfitCenterByKey(String controllingArea, String profitCenter, Calendar validityEndDate)
ReadProfitCenterService
ProfitCenter
entity using key fields.getProfitCenterByKey
in interface ReadProfitCenterService
controllingArea
- Uniquely identifies a controlling area.Constraints: Not nullable, Maximum length: 4
profitCenter
- Key which together with the controlling area uniquely identifies a profit center.Constraints: Not nullable, Maximum length: 10
validityEndDate
- Date indicating up to when an entry is valid.Constraints: 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.public ProfitCenterTextFluentHelper getAllProfitCenterText()
ReadProfitCenterService
ProfitCenterText
entities.getAllProfitCenterText
in interface ReadProfitCenterService
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.public ProfitCenterTextByKeyFluentHelper getProfitCenterTextByKey(String language, String controllingArea, String profitCenter, Calendar validityEndDate)
ReadProfitCenterService
ProfitCenterText
entity using key fields.getProfitCenterTextByKey
in interface ReadProfitCenterService
language
- The language key indicatesConstraints: Not nullable, Maximum length: 2
controllingArea
- Uniquely identifies a controlling area.Constraints: Not nullable, Maximum length: 4
profitCenter
- Key which together with the controlling area uniquely identifies a profit center.Constraints: Not nullable, Maximum length: 10
validityEndDate
- Date indicating up to when an entry is valid.Constraints: 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 © 2017 SAP SE. All rights reserved.