@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBillOfMaterialsService") public class DefaultBillOfMaterialsService extends Object implements 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) |
Constructor and Description |
---|
DefaultBillOfMaterialsService() |
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. |
public BillOfMaterialFluentHelper getAllBillOfMaterial()
BillOfMaterialsService
BillOfMaterial
entities.getAllBillOfMaterial
in interface BillOfMaterialsService
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.public BillOfMaterialByKeyFluentHelper getBillOfMaterialByKey(UUID billOfMaterialHeaderUUID)
BillOfMaterialsService
BillOfMaterial
entity using key fields.getBillOfMaterialByKey
in interface BillOfMaterialsService
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.public BillOfMaterialCreateFluentHelper createBillOfMaterial(BillOfMaterial billOfMaterial)
BillOfMaterialsService
BillOfMaterial
entity and save it to the S/4HANA system.createBillOfMaterial
in interface BillOfMaterialsService
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.public BillOfMaterialUpdateFluentHelper updateBillOfMaterial(BillOfMaterial billOfMaterial)
BillOfMaterialsService
BillOfMaterial
entity and save it to the S/4HANA system.updateBillOfMaterial
in interface BillOfMaterialsService
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.public BillOfMaterialItemFluentHelper getAllBillOfMaterialItem()
BillOfMaterialsService
BillOfMaterialItem
entities.getAllBillOfMaterialItem
in interface BillOfMaterialsService
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.public BillOfMaterialItemByKeyFluentHelper getBillOfMaterialItemByKey(UUID billOfMaterialItemUUID)
BillOfMaterialsService
BillOfMaterialItem
entity using key fields.getBillOfMaterialItemByKey
in interface BillOfMaterialsService
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.public BillOfMaterialItemCreateFluentHelper createBillOfMaterialItem(BillOfMaterialItem billOfMaterialItem)
BillOfMaterialsService
BillOfMaterialItem
entity and save it to the S/4HANA system.createBillOfMaterialItem
in interface BillOfMaterialsService
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.public BillOfMaterialItemUpdateFluentHelper updateBillOfMaterialItem(BillOfMaterialItem billOfMaterialItem)
BillOfMaterialsService
BillOfMaterialItem
entity and save it to the S/4HANA system.updateBillOfMaterialItem
in interface BillOfMaterialsService
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.public ReleaseVersionBOMFluentHelper releaseVersionBOM(UUID billOfMaterialHeaderUUID, String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialVersion, String bOMVersionStatus, Boolean isLatestBOMVersion)
BillOfMaterialsService
Creates a fluent helper for the ReleaseVersionBOM OData function import.
releaseVersionBOM
in interface BillOfMaterialsService
billOfMaterialHeaderUUID
- ID hdr chge statusConstraints: none
billOfMaterial
- Bill of MaterialConstraints: Not nullable, Maximum length: 8
billOfMaterialCategory
- BOM categoryConstraints: Not nullable, Maximum length: 1
billOfMaterialVariant
- Alternative BOMConstraints: Not nullable, Maximum length: 2
billOfMaterialVersion
- BOM VersionConstraints: Not nullable, Maximum length: 4
bOMVersionStatus
- BOM Version StatusConstraints: Not nullable, Maximum length: 2
isLatestBOMVersion
- Latest VersionConstraints: none
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.