Interface ProfitCenterService
- All Superinterfaces:
BatchService<ProfitCenterServiceBatch>
- All Known Implementing Classes:
DefaultProfitCenterService
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 Business Accelerator Hub
Details:
| OData Service: | API_PROFITCENTER_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | SAP Analytics Cloud for Planning Integration(SAP_COM_0087), Public Sector API Integration(SAP_COM_0761) |
| Scope Items: | Import Connection setup with SAP Analytics Cloud(1YB), Government Budget Planning(6UC) |
| Authentication Methods: | x509 |
| Business Object: | Profit Center |
-
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 TypeMethodDescriptionDeprecated.Fetch multiplePrftCtrCompanyCodeAssignmententities.Deprecated.Fetch multipleProfitCenterentities.Deprecated.Fetch multipleProfitCenterTextentities.getPrftCtrCompanyCodeAssignmentByKey(String controllingArea, String profitCenter, String companyCode) Deprecated.Fetch a singlePrftCtrCompanyCodeAssignmententity using key fields.getProfitCenterByKey(String controllingArea, String profitCenter, LocalDateTime validityEndDate) Deprecated.Fetch a singleProfitCenterentity using key fields.getProfitCenterTextByKey(String language, String controllingArea, String profitCenter, LocalDateTime validityEndDate) Deprecated.Fetch a singleProfitCenterTextentity using key fields.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.
-
getAllPrftCtrCompanyCodeAssignment
Deprecated.Fetch multiplePrftCtrCompanyCodeAssignmententities.- Returns:
- A fluent helper to fetch multiple
PrftCtrCompanyCodeAssignmententities. 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.
-
getPrftCtrCompanyCodeAssignmentByKey
@Nonnull PrftCtrCompanyCodeAssignmentByKeyFluentHelper getPrftCtrCompanyCodeAssignmentByKey(String controllingArea, String profitCenter, String companyCode) Deprecated.Fetch a singlePrftCtrCompanyCodeAssignmententity using key fields.- Parameters:
companyCode-controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
profitCenter- Profit CenterConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
PrftCtrCompanyCodeAssignmententity 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.
-
getAllProfitCenter
Deprecated.Fetch multipleProfitCenterentities.- Returns:
- A fluent helper to fetch multiple
ProfitCenterentities. 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.
-
getProfitCenterByKey
@Nonnull ProfitCenterByKeyFluentHelper getProfitCenterByKey(String controllingArea, String profitCenter, LocalDateTime validityEndDate) Deprecated.Fetch a singleProfitCenterentity using key fields.- Parameters:
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
profitCenter- Profit CenterConstraints: Not nullable, Maximum length: 10
validityEndDate- Valid To DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
ProfitCenterentity 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.
-
getAllProfitCenterText
Deprecated.Fetch multipleProfitCenterTextentities.- Returns:
- A fluent helper to fetch multiple
ProfitCenterTextentities. 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.
-
getProfitCenterTextByKey
@Nonnull ProfitCenterTextByKeyFluentHelper getProfitCenterTextByKey(String language, String controllingArea, String profitCenter, LocalDateTime validityEndDate) Deprecated.Fetch a singleProfitCenterTextentity using key fields.- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
profitCenter- Profit CenterConstraints: Not nullable, Maximum length: 10
validityEndDate- Valid To DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
ProfitCenterTextentity 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.
-