@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultAccountingDocumentService") public class DefaultAccountingDocumentService extends Object implements AccountingDocumentService
It only extracts journal entries with an entry view and is not designed to extract large data volumes. This service 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: | OP_API_OPLACCTGDOCITEMCUBE_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Journal Entry |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultAccountingDocumentService()
Creates a service using
AccountingDocumentService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultAccountingDocumentServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
OperationalAcctgDocItemCubeFluentHelper |
getAllOperationalAcctgDocItemCube()
Fetch multiple
OperationalAcctgDocItemCube entities. |
OperationalAcctgDocItemCubeByKeyFluentHelper |
getOperationalAcctgDocItemCubeByKey(String companyCode,
String fiscalYear,
String accountingDocument,
String accountingDocumentItem)
Fetch a single
OperationalAcctgDocItemCube entity using key fields. |
DefaultAccountingDocumentService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultAccountingDocumentService()
AccountingDocumentService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultAccountingDocumentService withServicePath(@Nonnull String servicePath)
AccountingDocumentService
withServicePath
in interface AccountingDocumentService
servicePath
- Service path that will override the default.@Nonnull public DefaultAccountingDocumentServiceBatch batch()
batch
in interface BatchService<AccountingDocumentServiceBatch>
@Nonnull public OperationalAcctgDocItemCubeFluentHelper getAllOperationalAcctgDocItemCube()
AccountingDocumentService
OperationalAcctgDocItemCube
entities.getAllOperationalAcctgDocItemCube
in interface AccountingDocumentService
OperationalAcctgDocItemCube
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.@Nonnull public OperationalAcctgDocItemCubeByKeyFluentHelper getOperationalAcctgDocItemCubeByKey(String companyCode, String fiscalYear, String accountingDocument, String accountingDocumentItem)
AccountingDocumentService
OperationalAcctgDocItemCube
entity using key fields.getOperationalAcctgDocItemCubeByKey
in interface AccountingDocumentService
companyCode
- Company Code
Constraints: Not nullable, Maximum length: 4
fiscalYear
- Fiscal Year
Constraints: Not nullable, Maximum length: 4
accountingDocument
- Journal Entry
Constraints: Not nullable, Maximum length: 10
accountingDocumentItem
- Journal Entry Posting View Item
Constraints: Not nullable, Maximum length: 3
OperationalAcctgDocItemCube
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 © 2021 SAP SE. All rights reserved.