public interface GeneralLedgerAccountService
This service enables you to read G/L account 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_GLACCOUNTINCHARTOFACCOUNTS_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 |
---|---|
GLAccountInChartOfAccountsFluentHelper |
getAllGLAccountInChartOfAccounts()
Fetch multiple
GLAccountInChartOfAccounts entities. |
GLAccountTextFluentHelper |
getAllGLAccountText()
Fetch multiple
GLAccountText entities. |
GLAccountInChartOfAccountsByKeyFluentHelper |
getGLAccountInChartOfAccountsByKey(String chartOfAccounts,
String gLAccount)
Fetch a single
GLAccountInChartOfAccounts entity using key fields. |
GLAccountTextByKeyFluentHelper |
getGLAccountTextByKey(String chartOfAccounts,
String gLAccount,
String language)
Fetch a single
GLAccountText entity using key fields. |
GeneralLedgerAccountService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path used to access the endpoint.GeneralLedgerAccountService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull GLAccountInChartOfAccountsFluentHelper getAllGLAccountInChartOfAccounts()
GLAccountInChartOfAccounts
entities.GLAccountInChartOfAccounts
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 GLAccountInChartOfAccountsByKeyFluentHelper getGLAccountInChartOfAccountsByKey(String chartOfAccounts, String gLAccount)
GLAccountInChartOfAccounts
entity using key fields.gLAccount
- The G/L account number identifies the G/L account in a chart of accounts.Constraints: Not nullable, Maximum length: 10
chartOfAccounts
- Key that uniquely identifies a chart of accounts.Constraints: Not nullable, Maximum length: 4
GLAccountInChartOfAccounts
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 GLAccountTextFluentHelper getAllGLAccountText()
GLAccountText
entities.GLAccountText
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 GLAccountTextByKeyFluentHelper getGLAccountTextByKey(String chartOfAccounts, String gLAccount, String language)
GLAccountText
entity using key fields.gLAccount
- The G/L account number identifies the G/L account in a chart of accounts.Constraints: Not nullable, Maximum length: 10
chartOfAccounts
- Key that uniquely identifies a chart of accounts.Constraints: Not nullable, Maximum length: 4
language
- The language key indicatesConstraints: Not nullable, Maximum length: 2
GLAccountText
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.