@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultLedgerService") public class DefaultLedgerService extends Object implements LedgerService
This service enables you to read ledger 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_LEDGER_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 |
---|
DefaultLedgerService() |
Modifier and Type | Method and Description |
---|---|
LedgerFluentHelper |
getAllLedger()
Fetch multiple
Ledger entities. |
LedgerTextFluentHelper |
getAllLedgerText()
Fetch multiple
LedgerText entities. |
LedgerByKeyFluentHelper |
getLedgerByKey(String ledger)
Fetch a single
Ledger entity using key fields. |
LedgerTextByKeyFluentHelper |
getLedgerTextByKey(String ledger,
String language)
Fetch a single
LedgerText entity using key fields. |
public LedgerFluentHelper getAllLedger()
LedgerService
Ledger
entities.getAllLedger
in interface LedgerService
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.public LedgerByKeyFluentHelper getLedgerByKey(String ledger)
LedgerService
Ledger
entity using key fields.getLedgerByKey
in interface LedgerService
ledger
- Identifies a ledger in General Ledger Accounting.Constraints: Not nullable, Maximum length: 2
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.public LedgerTextFluentHelper getAllLedgerText()
LedgerService
LedgerText
entities.getAllLedgerText
in interface LedgerService
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.public LedgerTextByKeyFluentHelper getLedgerTextByKey(String ledger, String language)
LedgerService
LedgerText
entity using key fields.getLedgerTextByKey
in interface LedgerService
ledger
- Identifies a ledger in General Ledger Accounting.Constraints: Not nullable, Maximum length: 2
language
- The language key indicatesConstraints: Not nullable, Maximum length: 2
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.Copyright © 2018 SAP SE. All rights reserved.