public interface CostCenterActivityTypeService extends BatchService<CostCenterActivityTypeServiceBatch>
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: | API_COSTCNTRACTIVITYTYPE_CRUD_SRV |
API Version: | 1 |
Communication Scenario: | Finance - Cost Center Activity Type Integration (SAP_COM_0357) |
Scope Items: | Overhead Cost Accounting (J54), PSM: Overhead Cost Accounting (O54) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | CostCenterActivityType |
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 CostCenterActivityTypeService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CostCenterActivityTypeFluentHelper getAllCostCenterActivityType()
CostCenterActivityType
entities.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 CostCenterActivityTypeByKeyFluentHelper getCostCenterActivityTypeByKey(String controllingArea, String costCtrActivityType, LocalDateTime validityEndDate)
CostCenterActivityType
entity using key fields.controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
validityEndDate
- Date indicating up to when an entry is valid.
Constraints: Not nullable, Precision: 0
costCtrActivityType
- Key uniquely identifying .
Constraints: Not nullable, Maximum length: 6
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 CostCenterActivityTypeCreateFluentHelper createCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType)
CostCenterActivityType
entity and save it to the S/4HANA system.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 CostCenterActivityTypeUpdateFluentHelper updateCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType)
CostCenterActivityType
entity and save it to the S/4HANA system.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 CostCenterActivityTypeDeleteFluentHelper deleteCostCenterActivityType(@Nonnull CostCenterActivityType costCenterActivityType)
CostCenterActivityType
entity in the S/4HANA system.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 CostCenterActivityTypeTextFluentHelper getAllCostCenterActivityTypeText()
CostCenterActivityTypeText
entities.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 CostCenterActivityTypeTextByKeyFluentHelper getCostCenterActivityTypeTextByKey(LocalDateTime validityEndDate, String controllingArea, String costCtrActivityType, String language)
CostCenterActivityTypeText
entity using key fields.language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
validityEndDate
- Date indicating up to when an entry is valid.
Constraints: Not nullable, Precision: 0
costCtrActivityType
- Key uniquely identifying .
Constraints: Not nullable, Maximum length: 6
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 CostCenterActivityTypeTextCreateFluentHelper createCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText)
CostCenterActivityTypeText
entity and save it to the S/4HANA system.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 CostCenterActivityTypeTextUpdateFluentHelper updateCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText)
CostCenterActivityTypeText
entity and save it to the S/4HANA system.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 CostCenterActivityTypeTextDeleteFluentHelper deleteCostCenterActivityTypeText(@Nonnull CostCenterActivityTypeText costCenterActivityTypeText)
CostCenterActivityTypeText
entity in the S/4HANA system.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.