@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBillsOfMaterialWhereUsedListService") public class DefaultBillsOfMaterialWhereUsedListService extends Object implements BillsOfMaterialWhereUsedListService
This asynchronous inbound service enables you to receive a list of bills of material for a component. It is based on the OData protocol and can be consumed in SAP Fiori apps and on other user interfaces. 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. .
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 |
---|---|
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 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 statusConstraints: 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 © 2018 SAP SE. All rights reserved.