@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultJournalEntryItemService") public class DefaultJournalEntryItemService extends Object implements JournalEntryItemService
The service contains journal entry items and master data of the referenced company code, cost center, profit center. This API call 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_JOURNALENTRYITEMBASIC_SRV |
API Version: | 1 |
Communication Scenario: | SAP Analytics Cloud for Planning Integration (SAP_COM_0087), Finance - Cloud Consolidation Data Collection Integration (SAP_COM_0241) |
Scope Items: | Import Connection setup with SAP Analytics Cloud (1YB), Group Reporting - Data from SAP Group Reporting Data Collection (287) |
Authentication Methods: | Basic, x509, OAuth2 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultJournalEntryItemService()
Creates a service using
JournalEntryItemService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultJournalEntryItemService()
JournalEntryItemService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultJournalEntryItemService withServicePath(@Nonnull String servicePath)
JournalEntryItemService
withServicePath
in interface JournalEntryItemService
servicePath
- Service path that will override the default.@Nonnull public DefaultJournalEntryItemServiceBatch batch()
batch
in interface BatchService<JournalEntryItemServiceBatch>
@Nonnull public CompanyCodeFluentHelper getAllCompanyCode()
JournalEntryItemService
CompanyCode
entities.getAllCompanyCode
in interface JournalEntryItemService
CompanyCode
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 CompanyCodeByKeyFluentHelper getCompanyCodeByKey(String companyCode)
JournalEntryItemService
CompanyCode
entity using key fields.getCompanyCodeByKey
in interface JournalEntryItemService
companyCode
- The company code is an organizational unit within financial accounting.
Constraints: Not nullable, Maximum length: 4
CompanyCode
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.@Nonnull public CostCenterFluentHelper getAllCostCenter()
JournalEntryItemService
CostCenter
entities.getAllCostCenter
in interface JournalEntryItemService
CostCenter
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 CostCenterByKeyFluentHelper getCostCenterByKey(String controllingArea, String costCenter, LocalDateTime validityEndDate)
JournalEntryItemService
CostCenter
entity using key fields.getCostCenterByKey
in interface JournalEntryItemService
controllingArea
- Uniquely identifies a controlling area.
Constraints: Not nullable, Maximum length: 4
costCenter
- A key that uniquely identifies a cost center.
Constraints: Not nullable, Maximum length: 10
validityEndDate
- Date indicating up to when an entry is valid.
Constraints: Not nullable, Precision: 0
CostCenter
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.@Nonnull public GLAccountInChartOfAccountsFluentHelper getAllGLAccountInChartOfAccounts()
JournalEntryItemService
GLAccountInChartOfAccounts
entities.getAllGLAccountInChartOfAccounts
in interface JournalEntryItemService
GLAccountInChartOfAccounts
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 GLAccountInChartOfAccountsByKeyFluentHelper getGLAccountInChartOfAccountsByKey(String chartOfAccounts, String gLAccount)
JournalEntryItemService
GLAccountInChartOfAccounts
entity using key fields.getGLAccountInChartOfAccountsByKey
in interface JournalEntryItemService
chartOfAccounts
- Key that uniquely identifies a chart of accounts.
Constraints: Not nullable, Maximum length: 4
gLAccount
- The G/L account number identifies the G/L account in a chart of accounts.
Constraints: Not nullable, Maximum length: 10
GLAccountInChartOfAccounts
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.@Nonnull public JournalEntryItemBasicFluentHelper getAllJournalEntryItemBasic()
JournalEntryItemService
JournalEntryItemBasic
entities.getAllJournalEntryItemBasic
in interface JournalEntryItemService
JournalEntryItemBasic
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 JournalEntryItemBasicByKeyFluentHelper getJournalEntryItemBasicByKey(String iD)
JournalEntryItemService
JournalEntryItemBasic
entity using key fields.getJournalEntryItemBasicByKey
in interface JournalEntryItemService
JournalEntryItemBasic
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.@Nonnull public ProfitCenterFluentHelper getAllProfitCenter()
JournalEntryItemService
ProfitCenter
entities.getAllProfitCenter
in interface JournalEntryItemService
ProfitCenter
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 ProfitCenterByKeyFluentHelper getProfitCenterByKey(String controllingArea, String profitCenter, LocalDateTime validityEndDate)
JournalEntryItemService
ProfitCenter
entity using key fields.getProfitCenterByKey
in interface JournalEntryItemService
controllingArea
- Uniquely identifies a controlling area.
Constraints: Not nullable, Maximum length: 4
profitCenter
- Key which together with the controlling area uniquely identifies a profit center.
Constraints: Not nullable, Maximum length: 10
validityEndDate
- Date indicating up to when an entry is valid.
Constraints: Not nullable, Precision: 0
ProfitCenter
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.