@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCostCenterActivityTypeService") public class DefaultCostCenterActivityTypeService extends Object implements CostCenterActivityTypeService
You can use this inbound synchronous service to create, read, 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 |
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
- Key uniquely identifying .
Constraints: Not nullable, Maximum length: 6
validityEndDate
- Date indicating up to when an entry is valid.
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 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
- Date indicating up to when an entry is valid.
Constraints: Not nullable, Precision: 0
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
costCtrActivityType
- Key uniquely identifying .
Constraints: Not nullable, Maximum length: 6
language
- The language key indicates
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 © 2020 SAP SE. All rights reserved.