@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultGeneralLedgerAccountService") public class DefaultGeneralLedgerAccountService extends Object implements 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) |
Constructor and Description |
---|
DefaultGeneralLedgerAccountService() |
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. |
public GLAccountInChartOfAccountsFluentHelper getAllGLAccountInChartOfAccounts()
GeneralLedgerAccountService
GLAccountInChartOfAccounts
entities.getAllGLAccountInChartOfAccounts
in interface GeneralLedgerAccountService
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.public GLAccountInChartOfAccountsByKeyFluentHelper getGLAccountInChartOfAccountsByKey(String chartOfAccounts, String gLAccount)
GeneralLedgerAccountService
GLAccountInChartOfAccounts
entity using key fields.getGLAccountInChartOfAccountsByKey
in interface GeneralLedgerAccountService
chartOfAccounts
- Key that uniquely identifies a chart of accounts.Constraints: Not nullable, Maximum length: 4
gLAccount
- The G/L account number identifies the G/L account in a chart of accounts.Constraints: Not nullable, Maximum length: 10
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.public GLAccountTextFluentHelper getAllGLAccountText()
GeneralLedgerAccountService
GLAccountText
entities.getAllGLAccountText
in interface GeneralLedgerAccountService
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.public GLAccountTextByKeyFluentHelper getGLAccountTextByKey(String chartOfAccounts, String gLAccount, String language)
GeneralLedgerAccountService
GLAccountText
entity using key fields.getGLAccountTextByKey
in interface GeneralLedgerAccountService
chartOfAccounts
- Key that uniquely identifies a chart of accounts.Constraints: Not nullable, Maximum length: 4
gLAccount
- The G/L account number identifies the G/L account in a chart of accounts.Constraints: Not nullable, Maximum length: 10
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.