Class DefaultGeneralLedgerAccountService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultGeneralLedgerAccountService
- All Implemented Interfaces:
BatchService<GeneralLedgerAccountServiceBatch>,GeneralLedgerAccountService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultGeneralLedgerAccountService")
@Deprecated
public class DefaultGeneralLedgerAccountService
extends Object
implements GeneralLedgerAccountService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service enables you to retrieve G/L accounts in chart of accounts and their names in the respective language..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_GLACCOUNTINCHARTOFACCOUNTS_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | SAP Analytics Cloud for Planning Integration(SAP_COM_0087), Finance - Cloud Consolidation Data Collection Integration(SAP_COM_0241), Excise Tax Integration(SAP_COM_0568), Public Sector API Integration(SAP_COM_0761) |
| Scope Items: | Import Connection setup with SAP Analytics Cloud(1YB), Group Reporting - Data from SAP Group Reporting Data Collection(287), Enablement of SAP Excise Tax Management(4LO), Government Budget Planning(6UC) |
| Authentication Methods: | x509 |
| Business Object: | General Ledger Account |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.GeneralLedgerAccountService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingGeneralLedgerAccountService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleGLAccountInChartOfAccountsentities.Deprecated.Fetch multipleGLAccountTextentities.getGLAccountInChartOfAccountsByKey(String chartOfAccounts, String gLAccount) Deprecated.Fetch a singleGLAccountInChartOfAccountsentity using key fields.getGLAccountTextByKey(String chartOfAccounts, String gLAccount, String language) Deprecated.Fetch a singleGLAccountTextentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultGeneralLedgerAccountService
public DefaultGeneralLedgerAccountService()Deprecated.Creates a service usingGeneralLedgerAccountService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:GeneralLedgerAccountServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceGeneralLedgerAccountService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<GeneralLedgerAccountServiceBatch>
-
getAllGLAccountInChartOfAccounts
Deprecated.Description copied from interface:GeneralLedgerAccountServiceFetch multipleGLAccountInChartOfAccountsentities.- Specified by:
getAllGLAccountInChartOfAccountsin interfaceGeneralLedgerAccountService- Returns:
- A fluent helper to fetch multiple
GLAccountInChartOfAccountsentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getGLAccountInChartOfAccountsByKey
@Nonnull public GLAccountInChartOfAccountsByKeyFluentHelper getGLAccountInChartOfAccountsByKey(String chartOfAccounts, String gLAccount) Deprecated.Description copied from interface:GeneralLedgerAccountServiceFetch a singleGLAccountInChartOfAccountsentity using key fields.- Specified by:
getGLAccountInChartOfAccountsByKeyin interfaceGeneralLedgerAccountService- Parameters:
chartOfAccounts- Chart of AccountsConstraints: Not nullable, Maximum length: 4
gLAccount- G/L Account NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
GLAccountInChartOfAccountsentity 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 theexecutemethod on the fluent helper object.
-
getAllGLAccountText
Deprecated.Description copied from interface:GeneralLedgerAccountServiceFetch multipleGLAccountTextentities.- Specified by:
getAllGLAccountTextin interfaceGeneralLedgerAccountService- Returns:
- A fluent helper to fetch multiple
GLAccountTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getGLAccountTextByKey
@Nonnull public GLAccountTextByKeyFluentHelper getGLAccountTextByKey(String chartOfAccounts, String gLAccount, String language) Deprecated.Description copied from interface:GeneralLedgerAccountServiceFetch a singleGLAccountTextentity using key fields.- Specified by:
getGLAccountTextByKeyin interfaceGeneralLedgerAccountService- Parameters:
chartOfAccounts- Chart of AccountsConstraints: Not nullable, Maximum length: 4
gLAccount- G/L Account NumberConstraints: Not nullable, Maximum length: 10
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
GLAccountTextentity 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 theexecutemethod on the fluent helper object.
-