@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultProfitCenterService") public class DefaultProfitCenterService extends Object implements ProfitCenterService
This service enables you to read profit center 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_PROFITCENTER_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Profit Center |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProfitCenterService()
Creates a service using
ProfitCenterService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultProfitCenterService()
ProfitCenterService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProfitCenterService withServicePath(@Nonnull String servicePath)
ProfitCenterService
withServicePath
in interface ProfitCenterService
servicePath
- Service path that will override the default.@Nonnull public DefaultProfitCenterServiceBatch batch()
batch
in interface BatchService<ProfitCenterServiceBatch>
@Nonnull public PrftCtrCompanyCodeAssignmentFluentHelper getAllPrftCtrCompanyCodeAssignment()
ProfitCenterService
PrftCtrCompanyCodeAssignment
entities.getAllPrftCtrCompanyCodeAssignment
in interface ProfitCenterService
PrftCtrCompanyCodeAssignment
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 PrftCtrCompanyCodeAssignmentByKeyFluentHelper getPrftCtrCompanyCodeAssignmentByKey(String controllingArea, String profitCenter, String companyCode)
ProfitCenterService
PrftCtrCompanyCodeAssignment
entity using key fields.getPrftCtrCompanyCodeAssignmentByKey
in interface ProfitCenterService
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
profitCenter
- Profit Center
Constraints: Not nullable, Maximum length: 10
PrftCtrCompanyCodeAssignment
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 ProfitCenterFluentHelper getAllProfitCenter()
ProfitCenterService
ProfitCenter
entities.getAllProfitCenter
in interface ProfitCenterService
ProfitCenter
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 ProfitCenterByKeyFluentHelper getProfitCenterByKey(String controllingArea, String profitCenter, LocalDateTime validityEndDate)
ProfitCenterService
ProfitCenter
entity using key fields.getProfitCenterByKey
in interface ProfitCenterService
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
profitCenter
- Profit Center
Constraints: Not nullable, Maximum length: 10
validityEndDate
- Valid To Date
Constraints: Not nullable, Precision: 0
ProfitCenter
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 ProfitCenterTextFluentHelper getAllProfitCenterText()
ProfitCenterService
ProfitCenterText
entities.getAllProfitCenterText
in interface ProfitCenterService
ProfitCenterText
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 ProfitCenterTextByKeyFluentHelper getProfitCenterTextByKey(String language, String controllingArea, String profitCenter, LocalDateTime validityEndDate)
ProfitCenterService
ProfitCenterText
entity using key fields.getProfitCenterTextByKey
in interface ProfitCenterService
language
- Language Key
Constraints: Not nullable, Maximum length: 2
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
profitCenter
- Profit Center
Constraints: Not nullable, Maximum length: 10
validityEndDate
- Valid To Date
Constraints: Not nullable, Precision: 0
ProfitCenterText
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.