Class DefaultLedgerService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultLedgerService
- All Implemented Interfaces:
BatchService<LedgerServiceBatch>,LedgerService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultLedgerService")
@Deprecated
public class DefaultLedgerService
extends Object
implements LedgerService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
The service enables you to retrieve ledgers, their properties like leading ledger and their names in the respective language..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_LEDGER_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), 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), Government Budget Planning(6UC) |
| Authentication Methods: | x509 |
| Business Object: | Ledger |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.LedgerService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingLedgerService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleLedgerentities.Deprecated.Fetch multipleLedgerTextentities.getLedgerByKey(String ledger) Deprecated.Fetch a singleLedgerentity using key fields.getLedgerTextByKey(String ledger, String language) Deprecated.Fetch a singleLedgerTextentity 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
-
DefaultLedgerService
public DefaultLedgerService()Deprecated.Creates a service usingLedgerService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:LedgerServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceLedgerService- 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<LedgerServiceBatch>
-
getAllLedger
Deprecated.Description copied from interface:LedgerServiceFetch multipleLedgerentities.- Specified by:
getAllLedgerin interfaceLedgerService- Returns:
- A fluent helper to fetch multiple
Ledgerentities. 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.
-
getLedgerByKey
Deprecated.Description copied from interface:LedgerServiceFetch a singleLedgerentity using key fields.- Specified by:
getLedgerByKeyin interfaceLedgerService- Parameters:
ledger- Ledger in General Ledger AccountingConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
Ledgerentity 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.
-
getAllLedgerText
Deprecated.Description copied from interface:LedgerServiceFetch multipleLedgerTextentities.- Specified by:
getAllLedgerTextin interfaceLedgerService- Returns:
- A fluent helper to fetch multiple
LedgerTextentities. 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.
-
getLedgerTextByKey
Deprecated.Description copied from interface:LedgerServiceFetch a singleLedgerTextentity using key fields.- Specified by:
getLedgerTextByKeyin interfaceLedgerService- Parameters:
ledger- Ledger in General Ledger AccountingConstraints: Not nullable, Maximum length: 2
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
LedgerTextentity 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.
-