@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultCostCenterActivityTypeService") public class DefaultCostCenterActivityTypeService extends Object implements CostCenterActivityTypeService
You can use this inbound synchronous service to create, read, update, and delete master data of activity types used by one or multiple cost centers. It is based on the OData protocol and can be consumed in SAP Fiori apps and other user interfaces..
Reference: SAP API Business Hub
OData Service: | OP_API_CSTCTRACTIVITYTYPE_CRUD_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Cost Center Activity Type |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultCostCenterActivityTypeService()
Creates a service using
CostCenterActivityTypeService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultCostCenterActivityTypeService()
CostCenterActivityTypeService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultCostCenterActivityTypeService withServicePath(@Nonnull String servicePath)
CostCenterActivityTypeService
withServicePath
in interface CostCenterActivityTypeService
servicePath
- Service path that will override the default.@Nonnull public DefaultCostCenterActivityTypeServiceBatch batch()
batch
in interface BatchService<CostCenterActivityTypeServiceBatch>
@Nonnull public CostCenterActivityTypeFluentHelper getAllCostCenterActivityType()
CostCenterActivityTypeService
CostCenterActivityType
entities.getAllCostCenterActivityType
in interface CostCenterActivityTypeService
CostCenterActivityType
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 public CostCenterActivityTypeByKeyFluentHelper getCostCenterActivityTypeByKey(String controllingArea, String costCtrActivityType, LocalDateTime validityEndDate)
CostCenterActivityTypeService
CostCenterActivityType
entity using key fields.getCostCenterActivityTypeByKey
in interface CostCenterActivityTypeService
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
costCtrActivityType
- Activity Type
Constraints: Not nullable, Maximum length: 6
validityEndDate
- Valid To Date
Constraints: Not nullable, Precision: 0
CostCenterActivityType
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 public CostCenterActivityTypeCreateFluentHelper createCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType)
CostCenterActivityTypeService
CostCenterActivityType
entity and save it to the S/4HANA system.createCostCenterActivityType
in interface CostCenterActivityTypeService
costCenterActivityType
- CostCenterActivityType
entity object that will be created in the S/4HANA system.CostCenterActivityType
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CostCenterActivityTypeUpdateFluentHelper updateCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType)
CostCenterActivityTypeService
CostCenterActivityType
entity and save it to the S/4HANA system.updateCostCenterActivityType
in interface CostCenterActivityTypeService
costCenterActivityType
- CostCenterActivityType
entity object that will be updated in the S/4HANA system.CostCenterActivityType
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CostCenterActivityTypeDeleteFluentHelper deleteCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType)
CostCenterActivityTypeService
CostCenterActivityType
entity in the S/4HANA system.deleteCostCenterActivityType
in interface CostCenterActivityTypeService
costCenterActivityType
- CostCenterActivityType
entity object that will be deleted in the S/4HANA system.CostCenterActivityType
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CostCenterActivityTypeTextFluentHelper getAllCostCenterActivityTypeText()
CostCenterActivityTypeService
CostCenterActivityTypeText
entities.getAllCostCenterActivityTypeText
in interface CostCenterActivityTypeService
CostCenterActivityTypeText
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 public CostCenterActivityTypeTextByKeyFluentHelper getCostCenterActivityTypeTextByKey(LocalDateTime validityEndDate, String controllingArea, String costCtrActivityType, String language)
CostCenterActivityTypeService
CostCenterActivityTypeText
entity using key fields.getCostCenterActivityTypeTextByKey
in interface CostCenterActivityTypeService
validityEndDate
- Valid To Date
Constraints: Not nullable, Precision: 0
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
costCtrActivityType
- Activity Type
Constraints: Not nullable, Maximum length: 6
language
- Language Key
Constraints: Not nullable, Maximum length: 2
CostCenterActivityTypeText
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 public CostCenterActivityTypeTextCreateFluentHelper createCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText)
CostCenterActivityTypeService
CostCenterActivityTypeText
entity and save it to the S/4HANA system.createCostCenterActivityTypeText
in interface CostCenterActivityTypeService
costCenterActivityTypeText
- CostCenterActivityTypeText
entity object that will be created in the S/4HANA system.CostCenterActivityTypeText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CostCenterActivityTypeTextUpdateFluentHelper updateCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText)
CostCenterActivityTypeService
CostCenterActivityTypeText
entity and save it to the S/4HANA system.updateCostCenterActivityTypeText
in interface CostCenterActivityTypeService
costCenterActivityTypeText
- CostCenterActivityTypeText
entity object that will be updated in the S/4HANA system.CostCenterActivityTypeText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CostCenterActivityTypeTextDeleteFluentHelper deleteCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText)
CostCenterActivityTypeService
CostCenterActivityTypeText
entity in the S/4HANA system.deleteCostCenterActivityTypeText
in interface CostCenterActivityTypeService
costCenterActivityTypeText
- CostCenterActivityTypeText
entity object that will be deleted in the S/4HANA system.CostCenterActivityTypeText
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.