Interface ProductsToProductHierarchiesAssignmentService
- All Known Implementing Classes:
DefaultProductsToProductHierarchiesAssignmentService
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
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 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.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
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.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProdUnivHierNormalNode
Deprecated.Fetch multipleProdUnivHierNormalNodeentities.- 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.Fetch the number of entries from theProdUnivHierNormalNodeentity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<ProdUnivHierNormalNode> getProdUnivHierNormalNodeByKey(String prodUnivHierarchy, String hierarchyNode, LocalDate prodHierarchyValidityEndDate) Deprecated.Fetch a singleProdUnivHierNormalNodeentity using key fields.- Parameters:
prodHierarchyValidityEndDate- Validity End DateConstraints: Not nullable
prodUnivHierarchy- Product HierarchyConstraints: Not nullable, Maximum length: 20
hierarchyNode- Hierarchy nodeConstraints: Not nullable, Maximum length: 50
- 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 CreateRequestBuilder<ProdUnivHierNormalNode> createProdUnivHierNormalNode(@Nonnull ProdUnivHierNormalNode prodUnivHierNormalNode) Deprecated.Create a newProdUnivHierNormalNodeentity and save it to the S/4HANA system.- 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.Fetch multipleProdUnivHierProdByHierNodeentities.- 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.Fetch the number of entries from theProdUnivHierProdByHierNodeentity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<ProdUnivHierProdByHierNode> getProdUnivHierProdByHierNodeByKey(String prodUnivHierarchy, String hierarchyNode, LocalDate prodHierarchyValidityEndDate, String product) Deprecated.Fetch a singleProdUnivHierProdByHierNodeentity using key fields.- Parameters:
prodHierarchyValidityEndDate- Validity End DateConstraints: Not nullable
product- Product NumberConstraints: Not nullable, Maximum length: 18
prodUnivHierarchy- Product HierarchyConstraints: Not nullable, Maximum length: 20
hierarchyNode- Hierarchy nodeConstraints: Not nullable, Maximum length: 50
- 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 CreateRequestBuilder<ProdUnivHierProdByHierNode> createProdUnivHierProdByHierNode(@Nonnull ProdUnivHierProdByHierNode prodUnivHierProdByHierNode) Deprecated.Create a newProdUnivHierProdByHierNodeentity and save it to the S/4HANA system.- 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 DeleteRequestBuilder<ProdUnivHierProdByHierNode> deleteProdUnivHierProdByHierNode(@Nonnull ProdUnivHierProdByHierNode prodUnivHierProdByHierNode) Deprecated.Deletes an existingProdUnivHierProdByHierNodeentity in the S/4HANA system.- 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.
-