@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProductStructureService") public class DefaultProductStructureService extends Object implements ProductStructureService
This service contains product structure nodes and product structure variants as the main entity. It enables you to read the product structure information including product nodes and product structure variants. It is based on the OData protocol and can be consumed by apps and other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_PRODUCT_STRUCTURE_SRV |
API Version: | 1 |
Communication Scenario: | Product Lifecycle Management - Product Structure Integration (SAP_COM_0346) |
Scope Items: | Product Structure Management (3ND) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | ProductStructure |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductStructureService()
Creates a service using
ProductStructureService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultProductStructureServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
ProductStructureNodeFluentHelper |
getAllProductStructureNode()
Fetch multiple
ProductStructureNode entities. |
ProductStructureVariantFluentHelper |
getAllProductStructureVariant()
Fetch multiple
ProductStructureVariant entities. |
ProductStructureNodeByKeyFluentHelper |
getProductStructureNodeByKey(UUID productStructureNodeUUID)
Fetch a single
ProductStructureNode entity using key fields. |
ProductStructureVariantByKeyFluentHelper |
getProductStructureVariantByKey(UUID productStructureVariantUUID,
String prodStrucVariantChgStateIntID)
Fetch a single
ProductStructureVariant entity using key fields. |
DefaultProductStructureService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultProductStructureService()
ProductStructureService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProductStructureService withServicePath(@Nonnull String servicePath)
ProductStructureService
withServicePath
in interface ProductStructureService
servicePath
- Service path that will override the default.@Nonnull public DefaultProductStructureServiceBatch batch()
batch
in interface BatchService<ProductStructureServiceBatch>
@Nonnull public ProductStructureNodeFluentHelper getAllProductStructureNode()
ProductStructureService
ProductStructureNode
entities.getAllProductStructureNode
in interface ProductStructureService
ProductStructureNode
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 ProductStructureNodeByKeyFluentHelper getProductStructureNodeByKey(UUID productStructureNodeUUID)
ProductStructureService
ProductStructureNode
entity using key fields.getProductStructureNodeByKey
in interface ProductStructureService
productStructureNodeUUID
- Internal Number of iPPE Node
Constraints: Not nullable
ProductStructureNode
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 ProductStructureVariantFluentHelper getAllProductStructureVariant()
ProductStructureService
ProductStructureVariant
entities.getAllProductStructureVariant
in interface ProductStructureService
ProductStructureVariant
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 ProductStructureVariantByKeyFluentHelper getProductStructureVariantByKey(UUID productStructureVariantUUID, String prodStrucVariantChgStateIntID)
ProductStructureService
ProductStructureVariant
entity using key fields.getProductStructureVariantByKey
in interface ProductStructureService
productStructureVariantUUID
- Internal Number of the PVS Variant
Constraints: Not nullable
prodStrucVariantChgStateIntID
- Differentiates iPPE objects (such as relationship types) that link different iPPE objects but have the
same name.
Constraints: Not nullable, Maximum length: 8
ProductStructureVariant
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 © 2020 SAP SE. All rights reserved.