@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBillsOfMaterialWhereUsedListService") public class DefaultBillsOfMaterialWhereUsedListService extends Object implements BillsOfMaterialWhereUsedListService
The service contains either no header, one header or multiple headers, and an item. When you search for a component, a list of the headers in which the component is used is displayed. The service is based on the OData protocol and can be consumed in SAP Fiori apps and on other user interfaces. .
Reference: SAP API Business Hub
OData Service: | API_BOM_WHERE_USED_SRV |
API Version: | 1 |
Communication Scenario: | Product Lifecycle Management - Master Data Integration (SAP_COM_0105) |
Scope Items: | Engineering Bill of Material - Versions Management (1NR), Engineering Bill of Material - Change Master Management (1R3) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBillsOfMaterialWhereUsedListService()
Creates a service using
BillsOfMaterialWhereUsedListService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultBillsOfMaterialWhereUsedListServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
BOMWhereUsedFluentHelper |
getAllBOMWhereUsed()
Fetch multiple
BOMWhereUsed entities. |
BOMWhereUsedByKeyFluentHelper |
getBOMWhereUsedByKey(UUID billOfMaterialItemUUID)
Fetch a single
BOMWhereUsed entity using key fields. |
DefaultBillsOfMaterialWhereUsedListService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultBillsOfMaterialWhereUsedListService()
BillsOfMaterialWhereUsedListService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBillsOfMaterialWhereUsedListService withServicePath(@Nonnull String servicePath)
BillsOfMaterialWhereUsedListService
withServicePath
in interface BillsOfMaterialWhereUsedListService
servicePath
- Service path that will override the default.@Nonnull public DefaultBillsOfMaterialWhereUsedListServiceBatch batch()
batch
in interface BatchService<BillsOfMaterialWhereUsedListServiceBatch>
@Nonnull public BOMWhereUsedFluentHelper getAllBOMWhereUsed()
BillsOfMaterialWhereUsedListService
BOMWhereUsed
entities.getAllBOMWhereUsed
in interface BillsOfMaterialWhereUsedListService
BOMWhereUsed
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 BOMWhereUsedByKeyFluentHelper getBOMWhereUsedByKey(UUID billOfMaterialItemUUID)
BillsOfMaterialWhereUsedListService
BOMWhereUsed
entity using key fields.getBOMWhereUsedByKey
in interface BillsOfMaterialWhereUsedListService
billOfMaterialItemUUID
- Global identification of an item's change status
Constraints: Not nullable
BOMWhereUsed
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.