@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultAccountingDocumentService") public class DefaultAccountingDocumentService extends Object implements AccountingDocumentService
This service enables you to display accounting document master data to be consumed in SAP Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_OPLACCTGDOCITEMCUBE_SRV |
API Version: | 1 |
Communication Scenario: | Finance - Accounting Analytics Integration (SAP_COM_0303) |
Scope Items: | Accounting and Financial Close (J58) |
Authentication Methods: | Basic, x509 |
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 |
---|---|
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 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
- The document number is the key the system uses to access the accounting document.
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 © 2019 SAP SE. All rights reserved.