Class DefaultJournalEntryItemService
- All Implemented Interfaces:
BatchService<JournalEntryItemServiceBatch>,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 Business Accelerator Hub
Details:
| OData Service: | API_JOURNALENTRYITEMBASIC_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) |
| Scope Items: | Import Connection setup with SAP Analytics Cloud(1YB), Group Reporting - Data from SAP Group Reporting Data Collection(287) |
| Authentication Methods: | x509 |
| Business Object: | Journal Entry |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.JournalEntryItemService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingJournalEntryItemService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleCompanyCodeentities.Deprecated.Fetch multipleCostCenterentities.Deprecated.Fetch multipleGLAccountInChartOfAccountsentities.Deprecated.Fetch multipleJournalEntryItemBasicentities.Deprecated.Fetch multipleProfitCenterentities.getCompanyCodeByKey(String companyCode) Deprecated.Fetch a singleCompanyCodeentity using key fields.getCostCenterByKey(String controllingArea, String costCenter, LocalDateTime validityEndDate) Deprecated.Fetch a singleCostCenterentity using key fields.getGLAccountInChartOfAccountsByKey(String chartOfAccounts, String gLAccount) Deprecated.Fetch a singleGLAccountInChartOfAccountsentity using key fields.Deprecated.Fetch a singleJournalEntryItemBasicentity using key fields.getProfitCenterByKey(String controllingArea, String profitCenter, LocalDateTime validityEndDate) Deprecated.Fetch a singleProfitCenterentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultJournalEntryItemService
public DefaultJournalEntryItemService()Deprecated.Creates a service usingJournalEntryItemService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:JournalEntryItemServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceJournalEntryItemService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<JournalEntryItemServiceBatch>
-
getAllCompanyCode
Deprecated.Description copied from interface:JournalEntryItemServiceFetch multipleCompanyCodeentities.- Specified by:
getAllCompanyCodein interfaceJournalEntryItemService- Returns:
- A fluent helper to fetch multiple
CompanyCodeentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getCompanyCodeByKey
Deprecated.Description copied from interface:JournalEntryItemServiceFetch a singleCompanyCodeentity using key fields.- Specified by:
getCompanyCodeByKeyin interfaceJournalEntryItemService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
CompanyCodeentity 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 theexecutemethod on the fluent helper object.
-
getAllCostCenter
Deprecated.Description copied from interface:JournalEntryItemServiceFetch multipleCostCenterentities.- Specified by:
getAllCostCenterin interfaceJournalEntryItemService- Returns:
- A fluent helper to fetch multiple
CostCenterentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getCostCenterByKey
@Nonnull public CostCenterByKeyFluentHelper getCostCenterByKey(String controllingArea, String costCenter, LocalDateTime validityEndDate) Deprecated.Description copied from interface:JournalEntryItemServiceFetch a singleCostCenterentity using key fields.- Specified by:
getCostCenterByKeyin interfaceJournalEntryItemService- Parameters:
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
costCenter- Cost CenterConstraints: Not nullable, Maximum length: 10
validityEndDate- Valid To DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
CostCenterentity 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 theexecutemethod on the fluent helper object.
-
getAllGLAccountInChartOfAccounts
Deprecated.Description copied from interface:JournalEntryItemServiceFetch multipleGLAccountInChartOfAccountsentities.- Specified by:
getAllGLAccountInChartOfAccountsin interfaceJournalEntryItemService- Returns:
- A fluent helper to fetch multiple
GLAccountInChartOfAccountsentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getGLAccountInChartOfAccountsByKey
@Nonnull public GLAccountInChartOfAccountsByKeyFluentHelper getGLAccountInChartOfAccountsByKey(String chartOfAccounts, String gLAccount) Deprecated.Description copied from interface:JournalEntryItemServiceFetch a singleGLAccountInChartOfAccountsentity using key fields.- Specified by:
getGLAccountInChartOfAccountsByKeyin interfaceJournalEntryItemService- Parameters:
chartOfAccounts- Chart of AccountsConstraints: Not nullable, Maximum length: 4
gLAccount- G/L Account NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
GLAccountInChartOfAccountsentity 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 theexecutemethod on the fluent helper object.
-
getAllJournalEntryItemBasic
Deprecated.Description copied from interface:JournalEntryItemServiceFetch multipleJournalEntryItemBasicentities.- Specified by:
getAllJournalEntryItemBasicin interfaceJournalEntryItemService- Returns:
- A fluent helper to fetch multiple
JournalEntryItemBasicentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getJournalEntryItemBasicByKey
Deprecated.Description copied from interface:JournalEntryItemServiceFetch a singleJournalEntryItemBasicentity using key fields.- Specified by:
getJournalEntryItemBasicByKeyin interfaceJournalEntryItemService- Returns:
- A fluent helper to fetch a single
JournalEntryItemBasicentity 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 theexecutemethod on the fluent helper object.
-
getAllProfitCenter
Deprecated.Description copied from interface:JournalEntryItemServiceFetch multipleProfitCenterentities.- Specified by:
getAllProfitCenterin interfaceJournalEntryItemService- Returns:
- A fluent helper to fetch multiple
ProfitCenterentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getProfitCenterByKey
@Nonnull public ProfitCenterByKeyFluentHelper getProfitCenterByKey(String controllingArea, String profitCenter, LocalDateTime validityEndDate) Deprecated.Description copied from interface:JournalEntryItemServiceFetch a singleProfitCenterentity using key fields.- Specified by:
getProfitCenterByKeyin interfaceJournalEntryItemService- Parameters:
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
profitCenter- Profit CenterConstraints: Not nullable, Maximum length: 10
validityEndDate- Valid To DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
ProfitCenterentity 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 theexecutemethod on the fluent helper object.
-