public interface CostRateService extends BatchService<CostRateServiceBatch>
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 API Business Hub
OData Service: | API_FCO_COST_RATE_SRV |
API Version: | 1 |
Communication Scenario: | Finance - Activity Type Integration (SAP_COM_0129) |
Scope Items: | Overhead Cost Accounting (J54) |
Authentication Methods: | Basic, x509 |
Business Object: | AccountingCostRate |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull CostRateService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ActualCostRateFluentHelper getAllActualCostRate()
ActualCostRate
entities.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.@Nonnull ActualCostRateByKeyFluentHelper getActualCostRateByKey(UUID accountingCostRateUUID)
ActualCostRate
entity using key fields.accountingCostRateUUID
- Cost Rate UUID
Constraints: Not nullable
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.@Nonnull ActualCostRateCreateFluentHelper createActualCostRate(@Nonnull ActualCostRate actualCostRate)
ActualCostRate
entity and save it to the S/4HANA system.actualCostRate
- ActualCostRate
entity object that will be created in the S/4HANA system.ActualCostRate
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ActualCostRateUpdateFluentHelper updateActualCostRate(@Nonnull ActualCostRate actualCostRate)
ActualCostRate
entity and save it to the S/4HANA system.actualCostRate
- ActualCostRate
entity object that will be updated in the S/4HANA system.ActualCostRate
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ActualCostRateDeleteFluentHelper deleteActualCostRate(@Nonnull ActualCostRate actualCostRate)
ActualCostRate
entity in the S/4HANA system.actualCostRate
- ActualCostRate
entity object that will be deleted in the S/4HANA system.ActualCostRate
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlanCostRateFluentHelper getAllPlanCostRate()
PlanCostRate
entities.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.@Nonnull PlanCostRateByKeyFluentHelper getPlanCostRateByKey(UUID accountingCostRateUUID)
PlanCostRate
entity using key fields.accountingCostRateUUID
- Cost Rate UUID
Constraints: Not nullable
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.@Nonnull PlanCostRateCreateFluentHelper createPlanCostRate(@Nonnull PlanCostRate planCostRate)
PlanCostRate
entity and save it to the S/4HANA system.planCostRate
- PlanCostRate
entity
object that will be created in the S/4HANA system.PlanCostRate
entity. To
perform execution, call the
execute
method on the fluent helper object.@Nonnull PlanCostRateUpdateFluentHelper updatePlanCostRate(@Nonnull PlanCostRate planCostRate)
PlanCostRate
entity and save it to the S/4HANA system.planCostRate
- PlanCostRate
entity
object that will be updated in the S/4HANA system.PlanCostRate
entity. To
perform execution, call the
execute
method on the fluent helper object.@Nonnull PlanCostRateDeleteFluentHelper deletePlanCostRate(@Nonnull PlanCostRate planCostRate)
PlanCostRate
entity in the S/4HANA system.planCostRate
- PlanCostRate
entity
object that will be deleted in the S/4HANA system.PlanCostRate
entity. To
perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceCostRateFluentHelper getAllServiceCostRate()
ServiceCostRate
entities.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.@Nonnull ServiceCostRateByKeyFluentHelper getServiceCostRateByKey(UUID accountingCostRateUUID)
ServiceCostRate
entity using key fields.accountingCostRateUUID
- Cost Rate UUID
Constraints: Not nullable
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.@Nonnull ServiceCostRateCreateFluentHelper createServiceCostRate(@Nonnull ServiceCostRate serviceCostRate)
ServiceCostRate
entity and save it to the S/4HANA system.serviceCostRate
- ServiceCostRate
entity object that will be created in the S/4HANA system.ServiceCostRate
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceCostRateUpdateFluentHelper updateServiceCostRate(@Nonnull ServiceCostRate serviceCostRate)
ServiceCostRate
entity and save it to the S/4HANA system.serviceCostRate
- ServiceCostRate
entity object that will be updated in the S/4HANA system.ServiceCostRate
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ServiceCostRateDeleteFluentHelper deleteServiceCostRate(@Nonnull ServiceCostRate serviceCostRate)
ServiceCostRate
entity in the S/4HANA system.serviceCostRate
- ServiceCostRate
entity object that will be deleted in the S/4HANA system.ServiceCostRate
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.