@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductsToProductHierarchiesAssignmentService") public class DefaultProductsToProductHierarchiesAssignmentService extends Object implements ServiceWithNavigableEntities, ProductsToProductHierarchiesAssignmentService
This service enables you to read the products assigned to product hierarchy details by exposing the remote API views through OData. These products are assigned to the corresponding product hierarchy based on the validity of the hierarchy version. This is a synchronous service. .
Reference: SAP API Business Hub
OData Service: | PRODHIERPRODS_0001 |
API Version: | 1 |
Communication Scenario: | Product Integration (SAP_COM_0009) |
Scope Items: | Master Data Integration (1RO), Opportunity-to-Order with SAP Cloud for Customer (1VP) |
Authentication Methods: | Basic, x509, OAuth2 |
Service Group Name: | API_PROD_HIER_PRODS_SRV |
Business Object: | Product |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductsToProductHierarchiesAssignmentService()
Creates a service using
ProductsToProductHierarchiesAssignmentService.DEFAULT_SERVICE_PATH to send the
requests. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEntity
public DefaultProductsToProductHierarchiesAssignmentService()
ProductsToProductHierarchiesAssignmentService.DEFAULT_SERVICE_PATH
to send the
requests.@Nonnull public DefaultProductsToProductHierarchiesAssignmentService withServicePath(@Nonnull String servicePath)
ProductsToProductHierarchiesAssignmentService
withServicePath
in interface ProductsToProductHierarchiesAssignmentService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
ProductsToProductHierarchiesAssignmentService
batch
in interface ProductsToProductHierarchiesAssignmentService
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<ProdUnivHierNormalNode> getAllProdUnivHierNormalNode()
ProductsToProductHierarchiesAssignmentService
ProdUnivHierNormalNode
entities.getAllProdUnivHierNormalNode
in interface ProductsToProductHierarchiesAssignmentService
ProdUnivHierNormalNode
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<ProdUnivHierNormalNode> countProdUnivHierNormalNode()
ProductsToProductHierarchiesAssignmentService
ProdUnivHierNormalNode
entity collection matching the filter and search expressions.countProdUnivHierNormalNode
in interface ProductsToProductHierarchiesAssignmentService
ProdUnivHierNormalNode
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<ProdUnivHierNormalNode> getProdUnivHierNormalNodeByKey(@Nonnull String prodUnivHierarchy, @Nonnull String hierarchyNode, @Nonnull LocalDate prodHierarchyValidityEndDate)
ProductsToProductHierarchiesAssignmentService
ProdUnivHierNormalNode
entity using key fields.getProdUnivHierNormalNodeByKey
in interface ProductsToProductHierarchiesAssignmentService
prodUnivHierarchy
- Product Hierarchy
Constraints: Not nullable, Maximum length: 20
hierarchyNode
- Hierarchy node
Constraints: Not nullable, Maximum length: 50
prodHierarchyValidityEndDate
- Validity End Date
Constraints: Not nullable
ProdUnivHierNormalNode
entity 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 the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<ProdUnivHierProdByHierNode> getAllProdUnivHierProdByHierNode()
ProductsToProductHierarchiesAssignmentService
ProdUnivHierProdByHierNode
entities.getAllProdUnivHierProdByHierNode
in interface ProductsToProductHierarchiesAssignmentService
ProdUnivHierProdByHierNode
entities. This request builder allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<ProdUnivHierProdByHierNode> countProdUnivHierProdByHierNode()
ProductsToProductHierarchiesAssignmentService
ProdUnivHierProdByHierNode
entity collection matching the filter and search expressions.countProdUnivHierProdByHierNode
in interface ProductsToProductHierarchiesAssignmentService
ProdUnivHierProdByHierNode
entities. This request builder allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<ProdUnivHierProdByHierNode> getProdUnivHierProdByHierNodeByKey(@Nonnull String prodUnivHierarchy, @Nonnull String hierarchyNode, @Nonnull LocalDate prodHierarchyValidityEndDate, @Nonnull String product)
ProductsToProductHierarchiesAssignmentService
ProdUnivHierProdByHierNode
entity using key fields.getProdUnivHierProdByHierNodeByKey
in interface ProductsToProductHierarchiesAssignmentService
prodUnivHierarchy
- Product Hierarchy
Constraints: Not nullable, Maximum length: 20
hierarchyNode
- Hierarchy node
Constraints: Not nullable, Maximum length: 50
prodHierarchyValidityEndDate
- Validity End Date
Constraints: Not nullable
product
- Product Number
Constraints: Not nullable, Maximum length: 18
ProdUnivHierProdByHierNode
entity 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 the
execute
method on the request builder object.@Nonnull public String getServicePath()
ServiceWithNavigableEntities
getServicePath
in interface ServiceWithNavigableEntities
Copyright © 2021 SAP SE. All rights reserved.