public interface ChartOfAccountsService extends BatchService<ChartOfAccountsServiceBatch>
This service enables you to read chart of accounts master data in an API call. It is based on the OData protocol, and can be consumed in Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_CHARTOFACCOUNTS_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) |
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 |
---|---|
ChartOfAccountsFluentHelper |
getAllChartOfAccounts()
Fetch multiple
ChartOfAccounts entities. |
ChartOfAccountsTextFluentHelper |
getAllChartOfAccountsText()
Fetch multiple
ChartOfAccountsText entities. |
ChartOfAccountsByKeyFluentHelper |
getChartOfAccountsByKey(String chartOfAccounts)
Fetch a single
ChartOfAccounts entity using key fields. |
ChartOfAccountsTextByKeyFluentHelper |
getChartOfAccountsTextByKey(String chartOfAccounts,
String language)
Fetch a single
ChartOfAccountsText entity using key fields. |
ChartOfAccountsService |
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 ChartOfAccountsService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ChartOfAccountsFluentHelper getAllChartOfAccounts()
ChartOfAccounts
entities.ChartOfAccounts
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 ChartOfAccountsByKeyFluentHelper getChartOfAccountsByKey(String chartOfAccounts)
ChartOfAccounts
entity using key fields.chartOfAccounts
- Chart of Accounts
Constraints: Not nullable, Maximum length: 4
ChartOfAccounts
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 ChartOfAccountsTextFluentHelper getAllChartOfAccountsText()
ChartOfAccountsText
entities.ChartOfAccountsText
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 ChartOfAccountsTextByKeyFluentHelper getChartOfAccountsTextByKey(String chartOfAccounts, String language)
ChartOfAccountsText
entity using key fields.chartOfAccounts
- Key that uniquely identifies a chart of accounts.
Constraints: Not nullable, Maximum length: 4
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
ChartOfAccountsText
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.