Interface CostRateService

All Superinterfaces:
BatchService<CostRateServiceBatch>
All Known Implementing Classes:
DefaultCostRateService

@Deprecated public interface CostRateService extends BatchService<CostRateServiceBatch>
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

This service contains plan cost rate, actual cost rate and service cost rate. For each type you can read a list of existing cost rates, create a new one, update or delete an existing one. During creation or update, the information is used to create a new cost rate or to update an existing one - including all necessary checks for restricted values and authorizations. Created or updated cost rates are included in the response. An existing cost rate that needs to be modified or deleted is identified by the mandatory parameter - AccountingCostRateUUID. If there are any issues, the system displays error messages in the response..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_FCO_COST_RATE_SRV
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Finance - Activity Type Integration(SAP_COM_0129)
Scope Items: Overhead Cost Accounting(J54)
Authentication Methods: x509
Business Object: Accounting Cost Rate
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull CostRateService withServicePath(@Nonnull String servicePath)
      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.
    • getAllActualCostRate

      @Nonnull ActualCostRateFluentHelper getAllActualCostRate()
      Deprecated.
      Fetch multiple ActualCostRate entities.
      Returns:
      A fluent helper to fetch multiple ActualCostRate 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.
    • getActualCostRateByKey

      @Nonnull ActualCostRateByKeyFluentHelper getActualCostRateByKey(UUID accountingCostRateUUID)
      Deprecated.
      Fetch a single ActualCostRate entity using key fields.
      Parameters:
      accountingCostRateUUID - Cost Rate UUID

      Constraints: Not nullable

      Returns:
      A fluent helper to fetch a single ActualCostRate 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.
    • createActualCostRate

      @Nonnull ActualCostRateCreateFluentHelper createActualCostRate(@Nonnull ActualCostRate actualCostRate)
      Deprecated.
      Create a new ActualCostRate entity and save it to the S/4HANA system.
      Parameters:
      actualCostRate - ActualCostRate entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new ActualCostRate entity. To perform execution, call the execute method on the fluent helper object.
    • updateActualCostRate

      @Nonnull ActualCostRateUpdateFluentHelper updateActualCostRate(@Nonnull ActualCostRate actualCostRate)
      Deprecated.
      Update an existing ActualCostRate entity and save it to the S/4HANA system.
      Parameters:
      actualCostRate - ActualCostRate entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing ActualCostRate entity. To perform execution, call the execute method on the fluent helper object.
    • deleteActualCostRate

      @Nonnull ActualCostRateDeleteFluentHelper deleteActualCostRate(@Nonnull ActualCostRate actualCostRate)
      Deprecated.
      Deletes an existing ActualCostRate entity in the S/4HANA system.
      Parameters:
      actualCostRate - ActualCostRate entity object that will be deleted in the S/4HANA system.
      Returns:
      A fluent helper to delete an existing ActualCostRate entity. To perform execution, call the execute method on the fluent helper object.
    • getAllPlanCostRate

      @Nonnull PlanCostRateFluentHelper getAllPlanCostRate()
      Deprecated.
      Fetch multiple PlanCostRate entities.
      Returns:
      A fluent helper to fetch multiple PlanCostRate 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.
    • getPlanCostRateByKey

      @Nonnull PlanCostRateByKeyFluentHelper getPlanCostRateByKey(UUID accountingCostRateUUID)
      Deprecated.
      Fetch a single PlanCostRate entity using key fields.
      Parameters:
      accountingCostRateUUID - Cost Rate UUID

      Constraints: Not nullable

      Returns:
      A fluent helper to fetch a single PlanCostRate 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.
    • createPlanCostRate

      @Nonnull PlanCostRateCreateFluentHelper createPlanCostRate(@Nonnull PlanCostRate planCostRate)
      Deprecated.
      Create a new PlanCostRate entity and save it to the S/4HANA system.
      Parameters:
      planCostRate - PlanCostRate entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new PlanCostRate entity. To perform execution, call the execute method on the fluent helper object.
    • updatePlanCostRate

      @Nonnull PlanCostRateUpdateFluentHelper updatePlanCostRate(@Nonnull PlanCostRate planCostRate)
      Deprecated.
      Update an existing PlanCostRate entity and save it to the S/4HANA system.
      Parameters:
      planCostRate - PlanCostRate entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing PlanCostRate entity. To perform execution, call the execute method on the fluent helper object.
    • deletePlanCostRate

      @Nonnull PlanCostRateDeleteFluentHelper deletePlanCostRate(@Nonnull PlanCostRate planCostRate)
      Deprecated.
      Deletes an existing PlanCostRate entity in the S/4HANA system.
      Parameters:
      planCostRate - PlanCostRate entity object that will be deleted in the S/4HANA system.
      Returns:
      A fluent helper to delete an existing PlanCostRate entity. To perform execution, call the execute method on the fluent helper object.
    • getAllServiceCostRate

      @Nonnull ServiceCostRateFluentHelper getAllServiceCostRate()
      Deprecated.
      Fetch multiple ServiceCostRate entities.
      Returns:
      A fluent helper to fetch multiple ServiceCostRate 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.
    • getServiceCostRateByKey

      @Nonnull ServiceCostRateByKeyFluentHelper getServiceCostRateByKey(UUID accountingCostRateUUID)
      Deprecated.
      Fetch a single ServiceCostRate entity using key fields.
      Parameters:
      accountingCostRateUUID - Cost Rate UUID

      Constraints: Not nullable

      Returns:
      A fluent helper to fetch a single ServiceCostRate 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.
    • createServiceCostRate

      @Nonnull ServiceCostRateCreateFluentHelper createServiceCostRate(@Nonnull ServiceCostRate serviceCostRate)
      Deprecated.
      Create a new ServiceCostRate entity and save it to the S/4HANA system.
      Parameters:
      serviceCostRate - ServiceCostRate entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new ServiceCostRate entity. To perform execution, call the execute method on the fluent helper object.
    • updateServiceCostRate

      @Nonnull ServiceCostRateUpdateFluentHelper updateServiceCostRate(@Nonnull ServiceCostRate serviceCostRate)
      Deprecated.
      Update an existing ServiceCostRate entity and save it to the S/4HANA system.
      Parameters:
      serviceCostRate - ServiceCostRate entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing ServiceCostRate entity. To perform execution, call the execute method on the fluent helper object.
    • deleteServiceCostRate

      @Nonnull ServiceCostRateDeleteFluentHelper deleteServiceCostRate(@Nonnull ServiceCostRate serviceCostRate)
      Deprecated.
      Deletes an existing ServiceCostRate entity in the S/4HANA system.
      Parameters:
      serviceCostRate - ServiceCostRate entity object that will be deleted in the S/4HANA system.
      Returns:
      A fluent helper to delete an existing ServiceCostRate entity. To perform execution, call the execute method on the fluent helper object.