Interface CostRateService
- All Superinterfaces:
BatchService<CostRateServiceBatch>
- All Known Implementing Classes:
DefaultCostRateService
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..
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 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 TypeMethodDescriptioncreateActualCostRate(ActualCostRate actualCostRate) Deprecated.Create a newActualCostRateentity and save it to the S/4HANA system.createPlanCostRate(PlanCostRate planCostRate) Deprecated.Create a newPlanCostRateentity and save it to the S/4HANA system.createServiceCostRate(ServiceCostRate serviceCostRate) Deprecated.Create a newServiceCostRateentity and save it to the S/4HANA system.deleteActualCostRate(ActualCostRate actualCostRate) Deprecated.Deletes an existingActualCostRateentity in the S/4HANA system.deletePlanCostRate(PlanCostRate planCostRate) Deprecated.Deletes an existingPlanCostRateentity in the S/4HANA system.deleteServiceCostRate(ServiceCostRate serviceCostRate) Deprecated.Deletes an existingServiceCostRateentity in the S/4HANA system.getActualCostRateByKey(UUID accountingCostRateUUID) Deprecated.Fetch a singleActualCostRateentity using key fields.Deprecated.Fetch multipleActualCostRateentities.Deprecated.Fetch multiplePlanCostRateentities.Deprecated.Fetch multipleServiceCostRateentities.getPlanCostRateByKey(UUID accountingCostRateUUID) Deprecated.Fetch a singlePlanCostRateentity using key fields.getServiceCostRateByKey(UUID accountingCostRateUUID) Deprecated.Fetch a singleServiceCostRateentity using key fields.updateActualCostRate(ActualCostRate actualCostRate) Deprecated.Update an existingActualCostRateentity and save it to the S/4HANA system.updatePlanCostRate(PlanCostRate planCostRate) Deprecated.Update an existingPlanCostRateentity and save it to the S/4HANA system.updateServiceCostRate(ServiceCostRate serviceCostRate) Deprecated.Update an existingServiceCostRateentity and save it to the S/4HANA system.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.
-
getAllActualCostRate
Deprecated.Fetch multipleActualCostRateentities.- Returns:
- A fluent helper to fetch multiple
ActualCostRateentities. 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.
-
getActualCostRateByKey
Deprecated.Fetch a singleActualCostRateentity using key fields.- Parameters:
accountingCostRateUUID- Cost Rate UUIDConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
ActualCostRateentity 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.
-
createActualCostRate
@Nonnull ActualCostRateCreateFluentHelper createActualCostRate(@Nonnull ActualCostRate actualCostRate) Deprecated.Create a newActualCostRateentity and save it to the S/4HANA system.- Parameters:
actualCostRate-ActualCostRateentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
ActualCostRateentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateActualCostRate
@Nonnull ActualCostRateUpdateFluentHelper updateActualCostRate(@Nonnull ActualCostRate actualCostRate) Deprecated.Update an existingActualCostRateentity and save it to the S/4HANA system.- Parameters:
actualCostRate-ActualCostRateentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ActualCostRateentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteActualCostRate
@Nonnull ActualCostRateDeleteFluentHelper deleteActualCostRate(@Nonnull ActualCostRate actualCostRate) Deprecated.Deletes an existingActualCostRateentity in the S/4HANA system.- Parameters:
actualCostRate-ActualCostRateentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
ActualCostRateentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPlanCostRate
Deprecated.Fetch multiplePlanCostRateentities.- Returns:
- A fluent helper to fetch multiple
PlanCostRateentities. 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.
-
getPlanCostRateByKey
Deprecated.Fetch a singlePlanCostRateentity using key fields.- Parameters:
accountingCostRateUUID- Cost Rate UUIDConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
PlanCostRateentity 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.
-
createPlanCostRate
Deprecated.Create a newPlanCostRateentity and save it to the S/4HANA system.- Parameters:
planCostRate-PlanCostRateentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PlanCostRateentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePlanCostRate
Deprecated.Update an existingPlanCostRateentity and save it to the S/4HANA system.- Parameters:
planCostRate-PlanCostRateentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PlanCostRateentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deletePlanCostRate
Deprecated.Deletes an existingPlanCostRateentity in the S/4HANA system.- Parameters:
planCostRate-PlanCostRateentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
PlanCostRateentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllServiceCostRate
Deprecated.Fetch multipleServiceCostRateentities.- Returns:
- A fluent helper to fetch multiple
ServiceCostRateentities. 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.
-
getServiceCostRateByKey
Deprecated.Fetch a singleServiceCostRateentity using key fields.- Parameters:
accountingCostRateUUID- Cost Rate UUIDConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
ServiceCostRateentity 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.
-
createServiceCostRate
@Nonnull ServiceCostRateCreateFluentHelper createServiceCostRate(@Nonnull ServiceCostRate serviceCostRate) Deprecated.Create a newServiceCostRateentity and save it to the S/4HANA system.- Parameters:
serviceCostRate-ServiceCostRateentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
ServiceCostRateentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateServiceCostRate
@Nonnull ServiceCostRateUpdateFluentHelper updateServiceCostRate(@Nonnull ServiceCostRate serviceCostRate) Deprecated.Update an existingServiceCostRateentity and save it to the S/4HANA system.- Parameters:
serviceCostRate-ServiceCostRateentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ServiceCostRateentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteServiceCostRate
@Nonnull ServiceCostRateDeleteFluentHelper deleteServiceCostRate(@Nonnull ServiceCostRate serviceCostRate) Deprecated.Deletes an existingServiceCostRateentity in the S/4HANA system.- Parameters:
serviceCostRate-ServiceCostRateentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
ServiceCostRateentity. To perform execution, call theexecutemethod on the fluent helper object.
-