Interface CostCenterActivityTypeService
- All Superinterfaces:
BatchService<CostCenterActivityTypeServiceBatch>
- All Known Implementing Classes:
DefaultCostCenterActivityTypeService
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
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 TypeMethodDescriptioncreateCostCenterActivityType(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.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.
-
getAllCostCenterActivityType
Deprecated.Fetch multipleCostCenterActivityTypeentities.- 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 CostCenterActivityTypeByKeyFluentHelper getCostCenterActivityTypeByKey(String controllingArea, String costCtrActivityType, LocalDateTime validityEndDate) Deprecated.Fetch a singleCostCenterActivityTypeentity using key fields.- Parameters:
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
validityEndDate- Valid To DateConstraints: Not nullable, Precision: 0
costCtrActivityType- Activity TypeConstraints: Not nullable, Maximum length: 6
- 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 CostCenterActivityTypeCreateFluentHelper createCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType) Deprecated.Create a newCostCenterActivityTypeentity and save it to the S/4HANA system.- 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 CostCenterActivityTypeUpdateFluentHelper updateCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType) Deprecated.Update an existingCostCenterActivityTypeentity and save it to the S/4HANA system.- 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 CostCenterActivityTypeDeleteFluentHelper deleteCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType) Deprecated.Deletes an existingCostCenterActivityTypeentity in the S/4HANA system.- 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.Fetch multipleCostCenterActivityTypeTextentities.- 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 CostCenterActivityTypeTextByKeyFluentHelper getCostCenterActivityTypeTextByKey(LocalDateTime validityEndDate, String controllingArea, String costCtrActivityType, String language) Deprecated.Fetch a singleCostCenterActivityTypeTextentity using key fields.- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
validityEndDate- Valid To DateConstraints: Not nullable, Precision: 0
costCtrActivityType- Activity TypeConstraints: Not nullable, Maximum length: 6
- 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 CostCenterActivityTypeTextCreateFluentHelper createCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText) Deprecated.Create a newCostCenterActivityTypeTextentity and save it to the S/4HANA system.- 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 CostCenterActivityTypeTextUpdateFluentHelper updateCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText) Deprecated.Update an existingCostCenterActivityTypeTextentity and save it to the S/4HANA system.- 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 CostCenterActivityTypeTextDeleteFluentHelper deleteCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText) Deprecated.Deletes an existingCostCenterActivityTypeTextentity in the S/4HANA system.- 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.
-