Class DefaultProductHierarchyNodeService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductHierarchyNodeService
This synchronous inbound OData service enables external systems and other consumers to read currently active version for a given Hierarchy ID, or the version with a specified validity date. This service also enables external systems and other consumers to create version, nodes, and texts of a product hierarchy. This information is used in the processes related to sales and distribution..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PRODHIERNODES_0001 |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Product Integration(SAP_COM_0009) |
| Scope Items: | Master Data Integration(1RO), Opportunity-to-Order with SAP Cloud for Customer(1VP) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PROD_HIER_NODES_SRV |
| Business Object: | Product |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductHierarchyNodeService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductHierarchyNodeService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theProdUniversalHierarchyentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theProdUniversalHierarchyTextentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theProdUnivHierNodeByHierIDentity collection matching the filter and search expressions.createProdUniversalHierarchy(ProdUniversalHierarchy prodUniversalHierarchy) Deprecated.Create a newProdUniversalHierarchyentity and save it to the S/4HANA system.Deprecated.Fetch multipleProdUniversalHierarchyentities.Deprecated.Fetch multipleProdUniversalHierarchyTextentities.Deprecated.Fetch multipleProdUnivHierNodeByHierIDentities.getProdUniversalHierarchyByKey(String prodUnivHierarchy, LocalDate prodHierarchyValidityEndDate) Deprecated.Fetch a singleProdUniversalHierarchyentity using key fields.getProdUniversalHierarchyTextByKey(String language, String prodUnivHierarchy, LocalDate prodHierarchyValidityEndDate) Deprecated.Fetch a singleProdUniversalHierarchyTextentity using key fields.getProdUnivHierNodeByHierIDByKey(String prodUnivHierarchy, String hierarchyNode, LocalDate prodHierarchyValidityEndDate) Deprecated.Fetch a singleProdUnivHierNodeByHierIDentity using key fields.Deprecated.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultProductHierarchyNodeService
public DefaultProductHierarchyNodeService()Deprecated.Creates a service usingProductHierarchyNodeService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ProductHierarchyNodeServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductHierarchyNodeService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:ProductHierarchyNodeServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductHierarchyNodeService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProdUniversalHierarchy
Deprecated.Description copied from interface:ProductHierarchyNodeServiceFetch multipleProdUniversalHierarchyentities.- Specified by:
getAllProdUniversalHierarchyin interfaceProductHierarchyNodeService- Returns:
- A request builder to fetch multiple
ProdUniversalHierarchyentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countProdUniversalHierarchy
Deprecated.Description copied from interface:ProductHierarchyNodeServiceFetch the number of entries from theProdUniversalHierarchyentity collection matching the filter and search expressions.- Specified by:
countProdUniversalHierarchyin interfaceProductHierarchyNodeService- Returns:
- A request builder to fetch the count of
ProdUniversalHierarchyentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getProdUniversalHierarchyByKey
@Nonnull public GetByKeyRequestBuilder<ProdUniversalHierarchy> getProdUniversalHierarchyByKey(String prodUnivHierarchy, LocalDate prodHierarchyValidityEndDate) Deprecated.Description copied from interface:ProductHierarchyNodeServiceFetch a singleProdUniversalHierarchyentity using key fields.- Specified by:
getProdUniversalHierarchyByKeyin interfaceProductHierarchyNodeService- Parameters:
prodUnivHierarchy- Product HierarchyConstraints: Not nullable, Maximum length: 20
prodHierarchyValidityEndDate- Validity End DateConstraints: Not nullable
- Returns:
- A request builder to fetch a single
ProdUniversalHierarchyentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createProdUniversalHierarchy
@Nonnull public CreateRequestBuilder<ProdUniversalHierarchy> createProdUniversalHierarchy(@Nonnull ProdUniversalHierarchy prodUniversalHierarchy) Deprecated.Description copied from interface:ProductHierarchyNodeServiceCreate a newProdUniversalHierarchyentity and save it to the S/4HANA system.- Specified by:
createProdUniversalHierarchyin interfaceProductHierarchyNodeService- Parameters:
prodUniversalHierarchy-ProdUniversalHierarchyentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProdUniversalHierarchyentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllProdUniversalHierarchyText
Deprecated.Description copied from interface:ProductHierarchyNodeServiceFetch multipleProdUniversalHierarchyTextentities.- Specified by:
getAllProdUniversalHierarchyTextin interfaceProductHierarchyNodeService- Returns:
- A request builder to fetch multiple
ProdUniversalHierarchyTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countProdUniversalHierarchyText
Deprecated.Description copied from interface:ProductHierarchyNodeServiceFetch the number of entries from theProdUniversalHierarchyTextentity collection matching the filter and search expressions.- Specified by:
countProdUniversalHierarchyTextin interfaceProductHierarchyNodeService- Returns:
- A request builder to fetch the count of
ProdUniversalHierarchyTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getProdUniversalHierarchyTextByKey
@Nonnull public GetByKeyRequestBuilder<ProdUniversalHierarchyText> getProdUniversalHierarchyTextByKey(String language, String prodUnivHierarchy, LocalDate prodHierarchyValidityEndDate) Deprecated.Description copied from interface:ProductHierarchyNodeServiceFetch a singleProdUniversalHierarchyTextentity using key fields.- Specified by:
getProdUniversalHierarchyTextByKeyin interfaceProductHierarchyNodeService- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
prodUnivHierarchy- Product HierarchyConstraints: Not nullable, Maximum length: 20
prodHierarchyValidityEndDate- Valid To DateConstraints: Not nullable
- Returns:
- A request builder to fetch a single
ProdUniversalHierarchyTextentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllProdUnivHierNodeByHierID
Deprecated.Description copied from interface:ProductHierarchyNodeServiceFetch multipleProdUnivHierNodeByHierIDentities.- Specified by:
getAllProdUnivHierNodeByHierIDin interfaceProductHierarchyNodeService- Returns:
- A request builder to fetch multiple
ProdUnivHierNodeByHierIDentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countProdUnivHierNodeByHierID
Deprecated.Description copied from interface:ProductHierarchyNodeServiceFetch the number of entries from theProdUnivHierNodeByHierIDentity collection matching the filter and search expressions.- Specified by:
countProdUnivHierNodeByHierIDin interfaceProductHierarchyNodeService- Returns:
- A request builder to fetch the count of
ProdUnivHierNodeByHierIDentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getProdUnivHierNodeByHierIDByKey
@Nonnull public GetByKeyRequestBuilder<ProdUnivHierNodeByHierID> getProdUnivHierNodeByHierIDByKey(String prodUnivHierarchy, String hierarchyNode, LocalDate prodHierarchyValidityEndDate) Deprecated.Description copied from interface:ProductHierarchyNodeServiceFetch a singleProdUnivHierNodeByHierIDentity using key fields.- Specified by:
getProdUnivHierNodeByHierIDByKeyin interfaceProductHierarchyNodeService- Parameters:
prodUnivHierarchy- Product HierarchyConstraints: Not nullable, Maximum length: 20
hierarchyNode- Hierarchy nodeConstraints: Not nullable, Maximum length: 50
prodHierarchyValidityEndDate- Validity End DateConstraints: Not nullable
- Returns:
- A request builder to fetch a single
ProdUnivHierNodeByHierIDentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-