public interface BillOfMaterialsService
This service can be used to read , create and update Bill of Material and version Bill of Material.
Reference: SAP API Business Hub
OData Service: | API_BILL_OF_MATERIAL_SRV |
API Version: | 1 |
Communication Scenario: | Product Lifecycle Management - Master Data Integration (SAP_COM_0105) |
Scope Items: | Engineering Bill of Material Change Master Management (1R3) |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
BillOfMaterialCreateFluentHelper |
createBillOfMaterial(BillOfMaterial billOfMaterial)
Create a new
BillOfMaterial entity and save it to the S/4HANA system. |
BillOfMaterialItemCreateFluentHelper |
createBillOfMaterialItem(BillOfMaterialItem billOfMaterialItem)
Create a new
BillOfMaterialItem entity and save it to the S/4HANA system. |
BillOfMaterialFluentHelper |
getAllBillOfMaterial()
Fetch multiple
BillOfMaterial entities. |
BillOfMaterialItemFluentHelper |
getAllBillOfMaterialItem()
Fetch multiple
BillOfMaterialItem entities. |
BillOfMaterialByKeyFluentHelper |
getBillOfMaterialByKey(UUID billOfMaterialHeaderUUID)
Fetch a single
BillOfMaterial entity using key fields. |
BillOfMaterialItemByKeyFluentHelper |
getBillOfMaterialItemByKey(UUID billOfMaterialItemUUID)
Fetch a single
BillOfMaterialItem entity using key fields. |
ReleaseVersionBOMFluentHelper |
releaseVersionBOM(UUID billOfMaterialHeaderUUID,
String billOfMaterial,
String billOfMaterialCategory,
String billOfMaterialVariant,
String billOfMaterialVersion,
String bOMVersionStatus,
Boolean isLatestBOMVersion)
Creates a fluent helper for the ReleaseVersionBOM OData function import.
|
BillOfMaterialUpdateFluentHelper |
updateBillOfMaterial(BillOfMaterial billOfMaterial)
Update an existing
BillOfMaterial entity and save it to the S/4HANA system. |
BillOfMaterialItemUpdateFluentHelper |
updateBillOfMaterialItem(BillOfMaterialItem billOfMaterialItem)
Update an existing
BillOfMaterialItem entity and save it to the S/4HANA system. |
BillOfMaterialsService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path used to access the endpoint.BillOfMaterialsService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull BillOfMaterialFluentHelper getAllBillOfMaterial()
BillOfMaterial
entities.BillOfMaterial
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 BillOfMaterialByKeyFluentHelper getBillOfMaterialByKey(UUID billOfMaterialHeaderUUID)
BillOfMaterial
entity using key fields.billOfMaterialHeaderUUID
- Global identification of a BOM header change statusConstraints: Not nullable
BillOfMaterial
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 BillOfMaterialCreateFluentHelper createBillOfMaterial(@Nonnull BillOfMaterial billOfMaterial)
BillOfMaterial
entity and save it to the S/4HANA system.billOfMaterial
- BillOfMaterial
entity object that will be created in the S/4HANA system.BillOfMaterial
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull BillOfMaterialUpdateFluentHelper updateBillOfMaterial(@Nonnull BillOfMaterial billOfMaterial)
BillOfMaterial
entity and save it to the S/4HANA system.billOfMaterial
- BillOfMaterial
entity object that will be updated in the S/4HANA system.BillOfMaterial
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull BillOfMaterialItemFluentHelper getAllBillOfMaterialItem()
BillOfMaterialItem
entities.BillOfMaterialItem
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 BillOfMaterialItemByKeyFluentHelper getBillOfMaterialItemByKey(UUID billOfMaterialItemUUID)
BillOfMaterialItem
entity using key fields.billOfMaterialItemUUID
- Global identification of an item's change statusConstraints: Not nullable
BillOfMaterialItem
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 BillOfMaterialItemCreateFluentHelper createBillOfMaterialItem(@Nonnull BillOfMaterialItem billOfMaterialItem)
BillOfMaterialItem
entity and save it to the S/4HANA system.billOfMaterialItem
- BillOfMaterialItem
entity object that will be created in the S/4HANA system.BillOfMaterialItem
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull BillOfMaterialItemUpdateFluentHelper updateBillOfMaterialItem(@Nonnull BillOfMaterialItem billOfMaterialItem)
BillOfMaterialItem
entity and save it to the S/4HANA system.billOfMaterialItem
- BillOfMaterialItem
entity object that will be updated in the S/4HANA system.BillOfMaterialItem
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull ReleaseVersionBOMFluentHelper releaseVersionBOM(UUID billOfMaterialHeaderUUID, String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialVersion, String bOMVersionStatus, Boolean isLatestBOMVersion)
Creates a fluent helper for the ReleaseVersionBOM OData function import.
isLatestBOMVersion
- Latest VersionConstraints: none
Original parameter name from the Odata EDM: IsLatestBOMVersion
billOfMaterialHeaderUUID
- ID hdr chge statusConstraints: none
Original parameter name from the Odata EDM: BillOfMaterialHeaderUUID
billOfMaterialCategory
- BOM categoryConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
billOfMaterialVersion
- BOM VersionConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: BillOfMaterialVersion
billOfMaterial
- Bill of MaterialConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: BillOfMaterial
billOfMaterialVariant
- Alternative BOMConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: BillOfMaterialVariant
bOMVersionStatus
- BOM Version StatusConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: BOMVersionStatus
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.