Class DefaultProductsToProductHierarchiesAssignmentService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductsToProductHierarchiesAssignmentService
This service enables you to read and assign the products to product hierarchy nodes 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..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PRODHIERPRODS_0001 |
| API Version: | 1.2.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_PRODS_SRV |
| Business Object: | Product |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductsToProductHierarchiesAssignmentService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductsToProductHierarchiesAssignmentService.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 theProdUnivHierNormalNodeentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theProdUnivHierProdByHierNodeentity collection matching the filter and search expressions.createProdUnivHierNormalNode(ProdUnivHierNormalNode prodUnivHierNormalNode) Deprecated.Create a newProdUnivHierNormalNodeentity and save it to the S/4HANA system.createProdUnivHierProdByHierNode(ProdUnivHierProdByHierNode prodUnivHierProdByHierNode) Deprecated.Create a newProdUnivHierProdByHierNodeentity and save it to the S/4HANA system.deleteProdUnivHierProdByHierNode(ProdUnivHierProdByHierNode prodUnivHierProdByHierNode) Deprecated.Deletes an existingProdUnivHierProdByHierNodeentity in the S/4HANA system.Deprecated.Fetch multipleProdUnivHierNormalNodeentities.Deprecated.Fetch multipleProdUnivHierProdByHierNodeentities.getProdUnivHierNormalNodeByKey(String prodUnivHierarchy, String hierarchyNode, LocalDate prodHierarchyValidityEndDate) Deprecated.Fetch a singleProdUnivHierNormalNodeentity using key fields.getProdUnivHierProdByHierNodeByKey(String prodUnivHierarchy, String hierarchyNode, LocalDate prodHierarchyValidityEndDate, String product) Deprecated.Fetch a singleProdUnivHierProdByHierNodeentity 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
-
DefaultProductsToProductHierarchiesAssignmentService
public DefaultProductsToProductHierarchiesAssignmentService()Deprecated.Creates a service usingProductsToProductHierarchiesAssignmentService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultProductsToProductHierarchiesAssignmentService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:ProductsToProductHierarchiesAssignmentServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductsToProductHierarchiesAssignmentService- 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:ProductsToProductHierarchiesAssignmentServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductsToProductHierarchiesAssignmentService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProdUnivHierNormalNode
Deprecated.Description copied from interface:ProductsToProductHierarchiesAssignmentServiceFetch multipleProdUnivHierNormalNodeentities.- Specified by:
getAllProdUnivHierNormalNodein interfaceProductsToProductHierarchiesAssignmentService- Returns:
- A request builder to fetch multiple
ProdUnivHierNormalNodeentities. 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.
-
countProdUnivHierNormalNode
Deprecated.Description copied from interface:ProductsToProductHierarchiesAssignmentServiceFetch the number of entries from theProdUnivHierNormalNodeentity collection matching the filter and search expressions.- Specified by:
countProdUnivHierNormalNodein interfaceProductsToProductHierarchiesAssignmentService- Returns:
- A request builder to fetch the count of
ProdUnivHierNormalNodeentities. 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.
-
getProdUnivHierNormalNodeByKey
@Nonnull public GetByKeyRequestBuilder<ProdUnivHierNormalNode> getProdUnivHierNormalNodeByKey(String prodUnivHierarchy, String hierarchyNode, LocalDate prodHierarchyValidityEndDate) Deprecated.Description copied from interface:ProductsToProductHierarchiesAssignmentServiceFetch a singleProdUnivHierNormalNodeentity using key fields.- Specified by:
getProdUnivHierNormalNodeByKeyin interfaceProductsToProductHierarchiesAssignmentService- 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
ProdUnivHierNormalNodeentity 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.
-
createProdUnivHierNormalNode
@Nonnull public CreateRequestBuilder<ProdUnivHierNormalNode> createProdUnivHierNormalNode(@Nonnull ProdUnivHierNormalNode prodUnivHierNormalNode) Deprecated.Description copied from interface:ProductsToProductHierarchiesAssignmentServiceCreate a newProdUnivHierNormalNodeentity and save it to the S/4HANA system.- Specified by:
createProdUnivHierNormalNodein interfaceProductsToProductHierarchiesAssignmentService- Parameters:
prodUnivHierNormalNode-ProdUnivHierNormalNodeentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProdUnivHierNormalNodeentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllProdUnivHierProdByHierNode
Deprecated.Description copied from interface:ProductsToProductHierarchiesAssignmentServiceFetch multipleProdUnivHierProdByHierNodeentities.- Specified by:
getAllProdUnivHierProdByHierNodein interfaceProductsToProductHierarchiesAssignmentService- Returns:
- A request builder to fetch multiple
ProdUnivHierProdByHierNodeentities. 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.
-
countProdUnivHierProdByHierNode
Deprecated.Description copied from interface:ProductsToProductHierarchiesAssignmentServiceFetch the number of entries from theProdUnivHierProdByHierNodeentity collection matching the filter and search expressions.- Specified by:
countProdUnivHierProdByHierNodein interfaceProductsToProductHierarchiesAssignmentService- Returns:
- A request builder to fetch the count of
ProdUnivHierProdByHierNodeentities. 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.
-
getProdUnivHierProdByHierNodeByKey
@Nonnull public GetByKeyRequestBuilder<ProdUnivHierProdByHierNode> getProdUnivHierProdByHierNodeByKey(String prodUnivHierarchy, String hierarchyNode, LocalDate prodHierarchyValidityEndDate, String product) Deprecated.Description copied from interface:ProductsToProductHierarchiesAssignmentServiceFetch a singleProdUnivHierProdByHierNodeentity using key fields.- Specified by:
getProdUnivHierProdByHierNodeByKeyin interfaceProductsToProductHierarchiesAssignmentService- Parameters:
prodUnivHierarchy- Product HierarchyConstraints: Not nullable, Maximum length: 20
hierarchyNode- Hierarchy nodeConstraints: Not nullable, Maximum length: 50
prodHierarchyValidityEndDate- Validity End DateConstraints: Not nullable
product- Product NumberConstraints: Not nullable, Maximum length: 18
- Returns:
- A request builder to fetch a single
ProdUnivHierProdByHierNodeentity 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.
-
createProdUnivHierProdByHierNode
@Nonnull public CreateRequestBuilder<ProdUnivHierProdByHierNode> createProdUnivHierProdByHierNode(@Nonnull ProdUnivHierProdByHierNode prodUnivHierProdByHierNode) Deprecated.Description copied from interface:ProductsToProductHierarchiesAssignmentServiceCreate a newProdUnivHierProdByHierNodeentity and save it to the S/4HANA system.- Specified by:
createProdUnivHierProdByHierNodein interfaceProductsToProductHierarchiesAssignmentService- Parameters:
prodUnivHierProdByHierNode-ProdUnivHierProdByHierNodeentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProdUnivHierProdByHierNodeentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProdUnivHierProdByHierNode
@Nonnull public DeleteRequestBuilder<ProdUnivHierProdByHierNode> deleteProdUnivHierProdByHierNode(@Nonnull ProdUnivHierProdByHierNode prodUnivHierProdByHierNode) Deprecated.Description copied from interface:ProductsToProductHierarchiesAssignmentServiceDeletes an existingProdUnivHierProdByHierNodeentity in the S/4HANA system.- Specified by:
deleteProdUnivHierProdByHierNodein interfaceProductsToProductHierarchiesAssignmentService- Parameters:
prodUnivHierProdByHierNode-ProdUnivHierProdByHierNodeentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ProdUnivHierProdByHierNodeentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-