Interface LedgerService

All Superinterfaces:
BatchService<LedgerServiceBatch>
All Known Implementing Classes:
DefaultLedgerService

@Deprecated public interface LedgerService extends BatchService<LedgerServiceBatch>
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..

Business Documentation

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 Details

  • Method Details

    • withServicePath

      @Nonnull LedgerService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • getAllLedger

      @Nonnull LedgerFluentHelper getAllLedger()
      Deprecated.
      Fetch multiple Ledger entities.
      Returns:
      A fluent helper to fetch multiple Ledger 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.
    • getLedgerByKey

      @Nonnull LedgerByKeyFluentHelper getLedgerByKey(String ledger)
      Deprecated.
      Fetch a single Ledger entity using key fields.
      Parameters:
      ledger - Ledger in General Ledger Accounting

      Constraints: Not nullable, Maximum length: 2

      Returns:
      A fluent helper to fetch a single Ledger 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.
    • getAllLedgerText

      @Nonnull LedgerTextFluentHelper getAllLedgerText()
      Deprecated.
      Fetch multiple LedgerText entities.
      Returns:
      A fluent helper to fetch multiple LedgerText 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.
    • getLedgerTextByKey

      @Nonnull LedgerTextByKeyFluentHelper getLedgerTextByKey(String ledger, String language)
      Deprecated.
      Fetch a single LedgerText entity using key fields.
      Parameters:
      ledger - Ledger in General Ledger Accounting

      Constraints: Not nullable, Maximum length: 2

      language - Language Key

      Constraints: Not nullable, Maximum length: 2

      Returns:
      A fluent helper to fetch a single LedgerText 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.