@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPlanningCategoryService") public class DefaultPlanningCategoryService extends Object implements PlanningCategoryService
This service enables you to display planning category master data to be consumed in SAP Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_PLANNINGCATEGORY_SRV |
API Version: | 1 |
Communication Scenario: | SAP Analytics Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | Integration between SAP S/4HANA Cloud and SAP Analytics Cloud (1YB) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPlanningCategoryService()
Creates a service using
PlanningCategoryService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
PlanningCategoryFluentHelper |
getAllPlanningCategory()
Fetch multiple
PlanningCategory entities. |
PlanningCategoryTextFluentHelper |
getAllPlanningCategoryText()
Fetch multiple
PlanningCategoryText entities. |
PlanningCategoryByKeyFluentHelper |
getPlanningCategoryByKey(String planningCategory)
Fetch a single
PlanningCategory entity using key fields. |
PlanningCategoryTextByKeyFluentHelper |
getPlanningCategoryTextByKey(String planningCategory,
String language)
Fetch a single
PlanningCategoryText entity using key fields. |
DefaultPlanningCategoryService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultPlanningCategoryService()
PlanningCategoryService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPlanningCategoryService withServicePath(@Nonnull String servicePath)
PlanningCategoryService
withServicePath
in interface PlanningCategoryService
servicePath
- Service path that will override the default.@Nonnull public PlanningCategoryFluentHelper getAllPlanningCategory()
PlanningCategoryService
PlanningCategory
entities.getAllPlanningCategory
in interface PlanningCategoryService
PlanningCategory
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 PlanningCategoryByKeyFluentHelper getPlanningCategoryByKey(String planningCategory)
PlanningCategoryService
PlanningCategory
entity using key fields.getPlanningCategoryByKey
in interface PlanningCategoryService
planningCategory
- Specifies the BPC category.
Constraints: Not nullable, Maximum length: 10
PlanningCategory
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 PlanningCategoryTextFluentHelper getAllPlanningCategoryText()
PlanningCategoryService
PlanningCategoryText
entities.getAllPlanningCategoryText
in interface PlanningCategoryService
PlanningCategoryText
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 PlanningCategoryTextByKeyFluentHelper getPlanningCategoryTextByKey(String planningCategory, String language)
PlanningCategoryService
PlanningCategoryText
entity using key fields.getPlanningCategoryTextByKey
in interface PlanningCategoryService
planningCategory
- Specifies the BPC category.
Constraints: Not nullable, Maximum length: 10
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
PlanningCategoryText
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 © 2019 SAP SE. All rights reserved.