Class DefaultCostCenterActivityTypeService
- All Implemented Interfaces:
BatchService<CostCenterActivityTypeServiceBatch>,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 Business Accelerator Hub
Details:
| OData Service: | API_COSTCNTRACTIVITYTYPE_CRUD_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - Cost Center Activity Type Integration(SAP_COM_0357) |
| Scope Items: | Overhead Cost Accounting(J54), Overhead Cost Accounting(O54) |
| Authentication Methods: | x509 |
| Business Object: | Cost Center Activity Type |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.CostCenterActivityTypeService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingCostCenterActivityTypeService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createCostCenterActivityType(CostCenterActivityType costCenterActivityType) Deprecated.Create a newCostCenterActivityTypeentity and save it to the S/4HANA system.createCostCenterActivityTypeText(CostCenterActivityTypeText costCenterActivityTypeText) Deprecated.Create a newCostCenterActivityTypeTextentity and save it to the S/4HANA system.deleteCostCenterActivityType(CostCenterActivityType costCenterActivityType) Deprecated.Deletes an existingCostCenterActivityTypeentity in the S/4HANA system.deleteCostCenterActivityTypeText(CostCenterActivityTypeText costCenterActivityTypeText) Deprecated.Deletes an existingCostCenterActivityTypeTextentity in the S/4HANA system.Deprecated.Fetch multipleCostCenterActivityTypeentities.Deprecated.Fetch multipleCostCenterActivityTypeTextentities.getCostCenterActivityTypeByKey(String controllingArea, String costCtrActivityType, LocalDateTime validityEndDate) Deprecated.Fetch a singleCostCenterActivityTypeentity using key fields.getCostCenterActivityTypeTextByKey(LocalDateTime validityEndDate, String controllingArea, String costCtrActivityType, String language) Deprecated.Fetch a singleCostCenterActivityTypeTextentity using key fields.updateCostCenterActivityType(CostCenterActivityType costCenterActivityType) Deprecated.Update an existingCostCenterActivityTypeentity and save it to the S/4HANA system.updateCostCenterActivityTypeText(CostCenterActivityTypeText costCenterActivityTypeText) Deprecated.Update an existingCostCenterActivityTypeTextentity 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.
-
Constructor Details
-
DefaultCostCenterActivityTypeService
public DefaultCostCenterActivityTypeService()Deprecated.Creates a service usingCostCenterActivityTypeService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:CostCenterActivityTypeServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceCostCenterActivityTypeService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<CostCenterActivityTypeServiceBatch>
-
getAllCostCenterActivityType
Deprecated.Description copied from interface:CostCenterActivityTypeServiceFetch multipleCostCenterActivityTypeentities.- Specified by:
getAllCostCenterActivityTypein interfaceCostCenterActivityTypeService- Returns:
- A fluent helper to fetch multiple
CostCenterActivityTypeentities. 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.
-
getCostCenterActivityTypeByKey
@Nonnull public CostCenterActivityTypeByKeyFluentHelper getCostCenterActivityTypeByKey(String controllingArea, String costCtrActivityType, LocalDateTime validityEndDate) Deprecated.Description copied from interface:CostCenterActivityTypeServiceFetch a singleCostCenterActivityTypeentity using key fields.- Specified by:
getCostCenterActivityTypeByKeyin interfaceCostCenterActivityTypeService- Parameters:
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
costCtrActivityType- Activity TypeConstraints: Not nullable, Maximum length: 6
validityEndDate- Valid To DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
CostCenterActivityTypeentity 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.
-
createCostCenterActivityType
@Nonnull public CostCenterActivityTypeCreateFluentHelper createCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType) Deprecated.Description copied from interface:CostCenterActivityTypeServiceCreate a newCostCenterActivityTypeentity and save it to the S/4HANA system.- Specified by:
createCostCenterActivityTypein interfaceCostCenterActivityTypeService- Parameters:
costCenterActivityType-CostCenterActivityTypeentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
CostCenterActivityTypeentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateCostCenterActivityType
@Nonnull public CostCenterActivityTypeUpdateFluentHelper updateCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType) Deprecated.Description copied from interface:CostCenterActivityTypeServiceUpdate an existingCostCenterActivityTypeentity and save it to the S/4HANA system.- Specified by:
updateCostCenterActivityTypein interfaceCostCenterActivityTypeService- Parameters:
costCenterActivityType-CostCenterActivityTypeentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
CostCenterActivityTypeentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteCostCenterActivityType
@Nonnull public CostCenterActivityTypeDeleteFluentHelper deleteCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType) Deprecated.Description copied from interface:CostCenterActivityTypeServiceDeletes an existingCostCenterActivityTypeentity in the S/4HANA system.- Specified by:
deleteCostCenterActivityTypein interfaceCostCenterActivityTypeService- Parameters:
costCenterActivityType-CostCenterActivityTypeentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
CostCenterActivityTypeentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllCostCenterActivityTypeText
Deprecated.Description copied from interface:CostCenterActivityTypeServiceFetch multipleCostCenterActivityTypeTextentities.- Specified by:
getAllCostCenterActivityTypeTextin interfaceCostCenterActivityTypeService- Returns:
- A fluent helper to fetch multiple
CostCenterActivityTypeTextentities. 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.
-
getCostCenterActivityTypeTextByKey
@Nonnull public CostCenterActivityTypeTextByKeyFluentHelper getCostCenterActivityTypeTextByKey(LocalDateTime validityEndDate, String controllingArea, String costCtrActivityType, String language) Deprecated.Description copied from interface:CostCenterActivityTypeServiceFetch a singleCostCenterActivityTypeTextentity using key fields.- Specified by:
getCostCenterActivityTypeTextByKeyin interfaceCostCenterActivityTypeService- Parameters:
validityEndDate- Valid To DateConstraints: Not nullable, Precision: 0
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
costCtrActivityType- Activity TypeConstraints: Not nullable, Maximum length: 6
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
CostCenterActivityTypeTextentity 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.
-
createCostCenterActivityTypeText
@Nonnull public CostCenterActivityTypeTextCreateFluentHelper createCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText) Deprecated.Description copied from interface:CostCenterActivityTypeServiceCreate a newCostCenterActivityTypeTextentity and save it to the S/4HANA system.- Specified by:
createCostCenterActivityTypeTextin interfaceCostCenterActivityTypeService- Parameters:
costCenterActivityTypeText-CostCenterActivityTypeTextentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
CostCenterActivityTypeTextentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateCostCenterActivityTypeText
@Nonnull public CostCenterActivityTypeTextUpdateFluentHelper updateCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText) Deprecated.Description copied from interface:CostCenterActivityTypeServiceUpdate an existingCostCenterActivityTypeTextentity and save it to the S/4HANA system.- Specified by:
updateCostCenterActivityTypeTextin interfaceCostCenterActivityTypeService- Parameters:
costCenterActivityTypeText-CostCenterActivityTypeTextentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
CostCenterActivityTypeTextentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteCostCenterActivityTypeText
@Nonnull public CostCenterActivityTypeTextDeleteFluentHelper deleteCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText) Deprecated.Description copied from interface:CostCenterActivityTypeServiceDeletes an existingCostCenterActivityTypeTextentity in the S/4HANA system.- Specified by:
deleteCostCenterActivityTypeTextin interfaceCostCenterActivityTypeService- Parameters:
costCenterActivityTypeText-CostCenterActivityTypeTextentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
CostCenterActivityTypeTextentity. To perform execution, call theexecutemethod on the fluent helper object.
-