@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultActivityTypeService") public class DefaultActivityTypeService extends Object implements ActivityTypeService
This service enables you to read cost center activity type master data in an API call. 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_COSTCENTERACTIVITYTYPE_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 |
---|
DefaultActivityTypeService()
Creates a service using
ActivityTypeService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultActivityTypeService()
ActivityTypeService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultActivityTypeService withServicePath(@Nonnull String servicePath)
ActivityTypeService
withServicePath
in interface ActivityTypeService
servicePath
- Service path that will override the default.@Nonnull public DefaultActivityTypeServiceBatch batch()
batch
in interface BatchService<ActivityTypeServiceBatch>
@Nonnull public CostCenterActivityTypeFluentHelper getAllCostCenterActivityType()
ActivityTypeService
CostCenterActivityType
entities.getAllCostCenterActivityType
in interface ActivityTypeService
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)
ActivityTypeService
CostCenterActivityType
entity using key fields.getCostCenterActivityTypeByKey
in interface ActivityTypeService
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 CostCenterActivityTypeTextFluentHelper getAllCostCenterActivityTypeText()
ActivityTypeService
CostCenterActivityTypeText
entities.getAllCostCenterActivityTypeText
in interface ActivityTypeService
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)
ActivityTypeService
CostCenterActivityTypeText
entity using key fields.getCostCenterActivityTypeTextByKey
in interface ActivityTypeService
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.Copyright © 2021 SAP SE. All rights reserved.