Class DefaultCostControllingJournalEntryService
- All Implemented Interfaces:
BatchService<CostControllingJournalEntryServiceBatch>,CostControllingJournalEntryService
This service enables you to read, create, and reverse journal entries related to cost controlling. You can reassign a high volume of primary and secondary costs and revenues when the allocation is incorrect..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_COSTREVNREASSIGNMENT |
| API Version: | 1.2.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - Reassign Costs and Revenues Integration(SAP_COM_0754) |
| Scope Items: | Overhead Cost Accounting(J54), Overhead Cost Accounting(O54) |
| Authentication Methods: | x509 |
| Business Object: | Journal Entry |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.CostControllingJournalEntryService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingCostControllingJournalEntryService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createCostRevenueReassignment(CostRevenueReassignment costRevenueReassignment) Deprecated.Create a newCostRevenueReassignmententity and save it to the S/4HANA system.Deprecated.Fetch multipleCostRevenueReassignmententities.Deprecated.Fetch multipleCostRevenueReassignmentItementities.Deprecated.Fetch multipleCostRevnRcvrPrftbltySegmententities.Deprecated.Fetch multipleCostRevnSndrPrftbltySegmententities.getCostRevenueReassignmentByKey(String fiscalYear, String referenceDocument, String controllingArea) Deprecated.Fetch a singleCostRevenueReassignmententity using key fields.getCostRevenueReassignmentItemByKey(String fiscalYear, String referenceDocument, String controllingArea, String companyCode, String ledgerGLLineItem, String referenceDocumentItem) Deprecated.Fetch a singleCostRevenueReassignmentItementity using key fields.getCostRevnRcvrPrftbltySegmentByKey(String fiscalYear, String referenceDocument, String controllingArea, String ledgerGLLineItem, String referenceDocumentItem) Deprecated.Fetch a singleCostRevnRcvrPrftbltySegmententity using key fields.getCostRevnSndrPrftbltySegmentByKey(String fiscalYear, String referenceDocument, String controllingArea, String ledgerGLLineItem, String referenceDocumentItem) Deprecated.Fetch a singleCostRevnSndrPrftbltySegmententity using key fields.reverse(String fiscalYear, String referenceDocument, String controllingArea, LocalDateTime documentDate, LocalDateTime postingDate, String fiscalPeriod, String accountingDocumentHeaderText, String warningsAreIgnored) Deprecated.Creates a fluent helper for the Reverse OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultCostControllingJournalEntryService
public DefaultCostControllingJournalEntryService()Deprecated.Creates a service usingCostControllingJournalEntryService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultCostControllingJournalEntryService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:CostControllingJournalEntryServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceCostControllingJournalEntryService- 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<CostControllingJournalEntryServiceBatch>
-
getAllCostRevenueReassignment
Deprecated.Description copied from interface:CostControllingJournalEntryServiceFetch multipleCostRevenueReassignmententities.- Specified by:
getAllCostRevenueReassignmentin interfaceCostControllingJournalEntryService- Returns:
- A fluent helper to fetch multiple
CostRevenueReassignmententities. 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.
-
getCostRevenueReassignmentByKey
@Nonnull public CostRevenueReassignmentByKeyFluentHelper getCostRevenueReassignmentByKey(String fiscalYear, String referenceDocument, String controllingArea) Deprecated.Description copied from interface:CostControllingJournalEntryServiceFetch a singleCostRevenueReassignmententity using key fields.- Specified by:
getCostRevenueReassignmentByKeyin interfaceCostControllingJournalEntryService- Parameters:
fiscalYear- Fiscal YearConstraints: Not nullable, Maximum length: 4
referenceDocument- Reference document numberConstraints: Not nullable, Maximum length: 10
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
CostRevenueReassignmententity 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.
-
createCostRevenueReassignment
@Nonnull public CostRevenueReassignmentCreateFluentHelper createCostRevenueReassignment(@Nonnull CostRevenueReassignment costRevenueReassignment) Deprecated.Description copied from interface:CostControllingJournalEntryServiceCreate a newCostRevenueReassignmententity and save it to the S/4HANA system.- Specified by:
createCostRevenueReassignmentin interfaceCostControllingJournalEntryService- Parameters:
costRevenueReassignment-CostRevenueReassignmententity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
CostRevenueReassignmententity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllCostRevenueReassignmentItem
Deprecated.Description copied from interface:CostControllingJournalEntryServiceFetch multipleCostRevenueReassignmentItementities.- Specified by:
getAllCostRevenueReassignmentItemin interfaceCostControllingJournalEntryService- Returns:
- A fluent helper to fetch multiple
CostRevenueReassignmentItementities. 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.
-
getCostRevenueReassignmentItemByKey
@Nonnull public CostRevenueReassignmentItemByKeyFluentHelper getCostRevenueReassignmentItemByKey(String fiscalYear, String referenceDocument, String controllingArea, String companyCode, String ledgerGLLineItem, String referenceDocumentItem) Deprecated.Description copied from interface:CostControllingJournalEntryServiceFetch a singleCostRevenueReassignmentItementity using key fields.- Specified by:
getCostRevenueReassignmentItemByKeyin interfaceCostControllingJournalEntryService- Parameters:
fiscalYear- Fiscal YearConstraints: Not nullable, Maximum length: 4
referenceDocument- Reference Document NumberConstraints: Not nullable, Maximum length: 10
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
companyCode- Receiver Company CodeConstraints: Not nullable, Maximum length: 4
ledgerGLLineItem- Ledger Journal Entry ItemConstraints: Not nullable, Maximum length: 6
referenceDocumentItem- Reference Document ItemConstraints: Not nullable, Maximum length: 6
- Returns:
- A fluent helper to fetch a single
CostRevenueReassignmentItementity 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.
-
getAllCostRevnRcvrPrftbltySegment
Deprecated.Description copied from interface:CostControllingJournalEntryServiceFetch multipleCostRevnRcvrPrftbltySegmententities.- Specified by:
getAllCostRevnRcvrPrftbltySegmentin interfaceCostControllingJournalEntryService- Returns:
- A fluent helper to fetch multiple
CostRevnRcvrPrftbltySegmententities. 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.
-
getCostRevnRcvrPrftbltySegmentByKey
@Nonnull public CostRevnRcvrPrftbltySegmentByKeyFluentHelper getCostRevnRcvrPrftbltySegmentByKey(String fiscalYear, String referenceDocument, String controllingArea, String ledgerGLLineItem, String referenceDocumentItem) Deprecated.Description copied from interface:CostControllingJournalEntryServiceFetch a singleCostRevnRcvrPrftbltySegmententity using key fields.- Specified by:
getCostRevnRcvrPrftbltySegmentByKeyin interfaceCostControllingJournalEntryService- Parameters:
fiscalYear- Fiscal YearConstraints: Not nullable, Maximum length: 4
referenceDocument- Reference Document NumberConstraints: Not nullable, Maximum length: 10
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
ledgerGLLineItem- Ledger Journal Entry ItemConstraints: Not nullable, Maximum length: 6
referenceDocumentItem- Reference Document ItemConstraints: Not nullable, Maximum length: 6
- Returns:
- A fluent helper to fetch a single
CostRevnRcvrPrftbltySegmententity 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.
-
getAllCostRevnSndrPrftbltySegment
Deprecated.Description copied from interface:CostControllingJournalEntryServiceFetch multipleCostRevnSndrPrftbltySegmententities.- Specified by:
getAllCostRevnSndrPrftbltySegmentin interfaceCostControllingJournalEntryService- Returns:
- A fluent helper to fetch multiple
CostRevnSndrPrftbltySegmententities. 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.
-
getCostRevnSndrPrftbltySegmentByKey
@Nonnull public CostRevnSndrPrftbltySegmentByKeyFluentHelper getCostRevnSndrPrftbltySegmentByKey(String fiscalYear, String referenceDocument, String controllingArea, String ledgerGLLineItem, String referenceDocumentItem) Deprecated.Description copied from interface:CostControllingJournalEntryServiceFetch a singleCostRevnSndrPrftbltySegmententity using key fields.- Specified by:
getCostRevnSndrPrftbltySegmentByKeyin interfaceCostControllingJournalEntryService- Parameters:
fiscalYear- Fiscal YearConstraints: Not nullable, Maximum length: 4
referenceDocument- Reference Document NumberConstraints: Not nullable, Maximum length: 10
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
ledgerGLLineItem- Ledger Journal Entry ItemConstraints: Not nullable, Maximum length: 6
referenceDocumentItem- Reference Document ItemConstraints: Not nullable, Maximum length: 6
- Returns:
- A fluent helper to fetch a single
CostRevnSndrPrftbltySegmententity 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.
-
reverse
@Nonnull public ReverseFluentHelper reverse(@Nonnull String fiscalYear, @Nonnull String referenceDocument, @Nonnull String controllingArea, @Nullable LocalDateTime documentDate, @Nullable LocalDateTime postingDate, @Nullable String fiscalPeriod, @Nullable String accountingDocumentHeaderText, @Nullable String warningsAreIgnored) Deprecated.Description copied from interface:CostControllingJournalEntryServiceCreates a fluent helper for the Reverse OData function import.
- Specified by:
reversein interfaceCostControllingJournalEntryService- Parameters:
fiscalYear- Fiscal YearConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: FiscalYear
referenceDocument- Reference documentConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: ReferenceDocument
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: ControllingArea
documentDate- Document DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: DocumentDate
postingDate- Posting DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
fiscalPeriod- Fiscal PeriodConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: FiscalPeriod
accountingDocumentHeaderText- Document Header TextConstraints: Nullable, Maximum length: 25
Original parameter name from the Odata EDM: AccountingDocumentHeaderText
warningsAreIgnored- Ignore warningConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: WarningsAreIgnored
- Returns:
- A fluent helper object that will execute the Reverse OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-