Interface CostControllingJournalEntryService
- All Superinterfaces:
BatchService<CostControllingJournalEntryServiceBatch>
- All Known Implementing Classes:
DefaultCostControllingJournalEntryService
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptioncreateCostRevenueReassignment(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.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllCostRevenueReassignment
Deprecated.Fetch multipleCostRevenueReassignmententities.- 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 CostRevenueReassignmentByKeyFluentHelper getCostRevenueReassignmentByKey(String fiscalYear, String referenceDocument, String controllingArea) Deprecated.Fetch a singleCostRevenueReassignmententity using key fields.- Parameters:
referenceDocument- Reference document numberConstraints: Not nullable, Maximum length: 10
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
fiscalYear- Fiscal YearConstraints: 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 CostRevenueReassignmentCreateFluentHelper createCostRevenueReassignment(@Nonnull CostRevenueReassignment costRevenueReassignment) Deprecated.Create a newCostRevenueReassignmententity and save it to the S/4HANA system.- 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.Fetch multipleCostRevenueReassignmentItementities.- 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 CostRevenueReassignmentItemByKeyFluentHelper getCostRevenueReassignmentItemByKey(String fiscalYear, String referenceDocument, String controllingArea, String companyCode, String ledgerGLLineItem, String referenceDocumentItem) Deprecated.Fetch a singleCostRevenueReassignmentItementity using key fields.- Parameters:
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
referenceDocument- Reference Document NumberConstraints: Not nullable, Maximum length: 10
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
fiscalYear- Fiscal YearConstraints: Not nullable, Maximum length: 4
- 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.Fetch multipleCostRevnRcvrPrftbltySegmententities.- 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 CostRevnRcvrPrftbltySegmentByKeyFluentHelper getCostRevnRcvrPrftbltySegmentByKey(String fiscalYear, String referenceDocument, String controllingArea, String ledgerGLLineItem, String referenceDocumentItem) Deprecated.Fetch a singleCostRevnRcvrPrftbltySegmententity using key fields.- Parameters:
ledgerGLLineItem- Ledger Journal Entry ItemConstraints: Not nullable, Maximum length: 6
referenceDocumentItem- Reference Document ItemConstraints: Not nullable, Maximum length: 6
referenceDocument- Reference Document NumberConstraints: Not nullable, Maximum length: 10
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
fiscalYear- Fiscal YearConstraints: Not nullable, Maximum length: 4
- 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.Fetch multipleCostRevnSndrPrftbltySegmententities.- 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 CostRevnSndrPrftbltySegmentByKeyFluentHelper getCostRevnSndrPrftbltySegmentByKey(String fiscalYear, String referenceDocument, String controllingArea, String ledgerGLLineItem, String referenceDocumentItem) Deprecated.Fetch a singleCostRevnSndrPrftbltySegmententity using key fields.- Parameters:
ledgerGLLineItem- Ledger Journal Entry ItemConstraints: Not nullable, Maximum length: 6
referenceDocumentItem- Reference Document ItemConstraints: Not nullable, Maximum length: 6
referenceDocument- Reference Document NumberConstraints: Not nullable, Maximum length: 10
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
fiscalYear- Fiscal YearConstraints: Not nullable, Maximum length: 4
- 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 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.Creates a fluent helper for the Reverse OData function import.
- Parameters:
documentDate- Document DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: DocumentDate
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
referenceDocument- Reference documentConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: ReferenceDocument
fiscalPeriod- Fiscal PeriodConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: FiscalPeriod
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: ControllingArea
postingDate- Posting DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
fiscalYear- Fiscal YearConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: FiscalYear
- 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.
-