@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) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBillOfMaterialsService()
Creates a service using
BillOfMaterialsService.DEFAULT_SERVICE_PATH to send the requests. |
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. |
DefaultBillOfMaterialsService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultBillOfMaterialsService()
BillOfMaterialsService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBillOfMaterialsService withServicePath(@Nonnull String servicePath)
BillOfMaterialsService
withServicePath
in interface BillOfMaterialsService
servicePath
- Service path that will override the default.@Nonnull 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.@Nonnull 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.@Nonnull public BillOfMaterialCreateFluentHelper createBillOfMaterial(@Nonnull 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.@Nonnull public BillOfMaterialUpdateFluentHelper updateBillOfMaterial(@Nonnull 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.@Nonnull 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.@Nonnull 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.@Nonnull public BillOfMaterialItemCreateFluentHelper createBillOfMaterialItem(@Nonnull 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.@Nonnull public BillOfMaterialItemUpdateFluentHelper updateBillOfMaterialItem(@Nonnull 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.@Nonnull 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
Original parameter name from the Odata EDM: BillOfMaterialHeaderUUID
billOfMaterial
- Bill of MaterialConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: BillOfMaterial
billOfMaterialCategory
- BOM categoryConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
billOfMaterialVariant
- Alternative BOMConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: BillOfMaterialVariant
billOfMaterialVersion
- BOM VersionConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: BillOfMaterialVersion
bOMVersionStatus
- BOM Version StatusConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: BOMVersionStatus
isLatestBOMVersion
- Latest VersionConstraints: none
Original parameter name from the Odata EDM: IsLatestBOMVersion
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.