@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultOrderBillOfMaterialService") public class DefaultOrderBillOfMaterialService extends Object implements OrderBillOfMaterialService
The service contains either no header, one header, or multiple headers for the specified order bill of material and zero or more items for each header. The required information is sent in the request as a payload to create, update, or delete order bill of material and items, make appropriate checks for restricted values. If there are any issues when the order bill of material is created, updated, or deleted, the system displays error messages in the response..
Reference: SAP API Business Hub
OData Service: | API_ORDER_BILL_OF_MATERIAL_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), Change Manufacturing Bill of Material for Production (3LO), Mass Change Manufacturing Bill of Material for Production (3LP), Make-to-Order Production - Finished Goods Sales and Final Assembly (BJE) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultOrderBillOfMaterialService()
Creates a service using
OrderBillOfMaterialService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultOrderBillOfMaterialServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
SalesOrderBOMCreateFluentHelper |
createSalesOrderBOM(SalesOrderBOM salesOrderBOM)
Create a new
SalesOrderBOM entity and save it to the S/4HANA system. |
SalesOrderBOMItemCreateFluentHelper |
createSalesOrderBOMItem(SalesOrderBOMItem salesOrderBOMItem)
Create a new
SalesOrderBOMItem entity and save it to the S/4HANA system. |
DeleteBOMHdrWithChangeNumberFluentHelper |
deleteBOMHdrWithChangeNumber(String billOfMaterialCategory,
String billOfMaterial,
String billOfMaterialVariant,
String engineeringChangeDocument,
String material,
String plant,
String engineeringChangeDocForEdit)
Creates a fluent helper for the DeleteBOMHdrWithChangeNumber OData function import.
|
DeleteBOMItemWithChangeNumberFluentHelper |
deleteBOMItemWithChangeNumber(String billOfMaterial,
String billOfMaterialCategory,
String billOfMaterialVariant,
String billOfMaterialItemNodeNumber,
String headerChangeDocument,
String material,
String plant,
String engineeringChangeDocForEdit)
Creates a fluent helper for the DeleteBOMItemWithChangeNumber OData function import.
|
SalesOrderBOMDeleteFluentHelper |
deleteSalesOrderBOM(SalesOrderBOM salesOrderBOM)
Deletes an existing
SalesOrderBOM entity in the S/4HANA system. |
SalesOrderBOMItemDeleteFluentHelper |
deleteSalesOrderBOMItem(SalesOrderBOMItem salesOrderBOMItem)
Deletes an existing
SalesOrderBOMItem entity in the S/4HANA system. |
BOMItemCategoryFluentHelper |
getAllBOMItemCategory()
Fetch multiple
BOMItemCategory entities. |
BOMItemCategoryTextFluentHelper |
getAllBOMItemCategoryText()
Fetch multiple
BOMItemCategoryText entities. |
SalesOrderBOMFluentHelper |
getAllSalesOrderBOM()
Fetch multiple
SalesOrderBOM entities. |
SalesOrderBOMItemFluentHelper |
getAllSalesOrderBOMItem()
Fetch multiple
SalesOrderBOMItem entities. |
BOMItemCategoryByKeyFluentHelper |
getBOMItemCategoryByKey(String billOfMaterialItemCategory)
Fetch a single
BOMItemCategory entity using key fields. |
BOMItemCategoryTextByKeyFluentHelper |
getBOMItemCategoryTextByKey(String language,
String billOfMaterialItemCategory)
Fetch a single
BOMItemCategoryText entity using key fields. |
SalesOrderBOMByKeyFluentHelper |
getSalesOrderBOMByKey(String billOfMaterialCategory,
String billOfMaterial,
String billOfMaterialVariant,
String engineeringChangeDocument,
String material,
String plant)
Fetch a single
SalesOrderBOM entity using key fields. |
SalesOrderBOMItemByKeyFluentHelper |
getSalesOrderBOMItemByKey(String billOfMaterial,
String billOfMaterialCategory,
String billOfMaterialVariant,
String billOfMaterialItemNodeNumber,
String headerChangeDocument,
String material,
String plant)
Fetch a single
SalesOrderBOMItem entity using key fields. |
SalesOrderBOMUpdateFluentHelper |
updateSalesOrderBOM(SalesOrderBOM salesOrderBOM)
Update an existing
SalesOrderBOM entity and save it to the S/4HANA system. |
SalesOrderBOMItemUpdateFluentHelper |
updateSalesOrderBOMItem(SalesOrderBOMItem salesOrderBOMItem)
Update an existing
SalesOrderBOMItem entity and save it to the S/4HANA system. |
DefaultOrderBillOfMaterialService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultOrderBillOfMaterialService()
OrderBillOfMaterialService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultOrderBillOfMaterialService withServicePath(@Nonnull String servicePath)
OrderBillOfMaterialService
withServicePath
in interface OrderBillOfMaterialService
servicePath
- Service path that will override the default.@Nonnull public DefaultOrderBillOfMaterialServiceBatch batch()
batch
in interface BatchService<OrderBillOfMaterialServiceBatch>
@Nonnull public BOMItemCategoryFluentHelper getAllBOMItemCategory()
OrderBillOfMaterialService
BOMItemCategory
entities.getAllBOMItemCategory
in interface OrderBillOfMaterialService
BOMItemCategory
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 BOMItemCategoryByKeyFluentHelper getBOMItemCategoryByKey(String billOfMaterialItemCategory)
OrderBillOfMaterialService
BOMItemCategory
entity using key fields.getBOMItemCategoryByKey
in interface OrderBillOfMaterialService
billOfMaterialItemCategory
- Categorization of the items in a BOM according to set criteria, such as whether they refer to an
object (for example, material master or document info record) or whether they are kept in stock.
Constraints: Not nullable, Maximum length: 1
BOMItemCategory
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 BOMItemCategoryTextFluentHelper getAllBOMItemCategoryText()
OrderBillOfMaterialService
BOMItemCategoryText
entities.getAllBOMItemCategoryText
in interface OrderBillOfMaterialService
BOMItemCategoryText
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 BOMItemCategoryTextByKeyFluentHelper getBOMItemCategoryTextByKey(String language, String billOfMaterialItemCategory)
OrderBillOfMaterialService
BOMItemCategoryText
entity using key fields.getBOMItemCategoryTextByKey
in interface OrderBillOfMaterialService
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
billOfMaterialItemCategory
- Categorization of the items in a BOM according to set criteria, such as whether they refer to an
object (for example, material master or document info record) or whether they are kept in stock.
Constraints: Not nullable, Maximum length: 1
BOMItemCategoryText
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 SalesOrderBOMFluentHelper getAllSalesOrderBOM()
OrderBillOfMaterialService
SalesOrderBOM
entities.getAllSalesOrderBOM
in interface OrderBillOfMaterialService
SalesOrderBOM
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 SalesOrderBOMByKeyFluentHelper getSalesOrderBOMByKey(String billOfMaterialCategory, String billOfMaterial, String billOfMaterialVariant, String engineeringChangeDocument, String material, String plant)
OrderBillOfMaterialService
SalesOrderBOM
entity using key fields.getSalesOrderBOMByKey
in interface OrderBillOfMaterialService
billOfMaterialCategory
- This key defines a BOM according to the object (such as material or equipment) to which it is linked.
Constraints: Not nullable, Maximum length: 1
billOfMaterial
- Number used in combination with the BOM category to uniquely identify a BOM or a BOM group.
Constraints: Not nullable, Maximum length: 8
billOfMaterialVariant
- Identifies one BOM in a BOM group.
Constraints: Not nullable, Maximum length: 2
engineeringChangeDocument
- Number used to uniquely identify a change master record.
Constraints: Not nullable, Maximum length: 12
material
- Alphanumeric key uniquely identifying the material.
Constraints: Not nullable, Maximum length: 40
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
SalesOrderBOM
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 SalesOrderBOMCreateFluentHelper createSalesOrderBOM(@Nonnull SalesOrderBOM salesOrderBOM)
OrderBillOfMaterialService
SalesOrderBOM
entity and save it to the S/4HANA system.createSalesOrderBOM
in interface OrderBillOfMaterialService
salesOrderBOM
- SalesOrderBOM
entity object that will be created in the S/4HANA system.SalesOrderBOM
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesOrderBOMUpdateFluentHelper updateSalesOrderBOM(@Nonnull SalesOrderBOM salesOrderBOM)
OrderBillOfMaterialService
SalesOrderBOM
entity and save it to the S/4HANA system.updateSalesOrderBOM
in interface OrderBillOfMaterialService
salesOrderBOM
- SalesOrderBOM
entity object that will be updated in the S/4HANA system.SalesOrderBOM
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesOrderBOMDeleteFluentHelper deleteSalesOrderBOM(@Nonnull SalesOrderBOM salesOrderBOM)
OrderBillOfMaterialService
SalesOrderBOM
entity in the S/4HANA system.deleteSalesOrderBOM
in interface OrderBillOfMaterialService
salesOrderBOM
- SalesOrderBOM
entity object that will be deleted in the S/4HANA system.SalesOrderBOM
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesOrderBOMItemFluentHelper getAllSalesOrderBOMItem()
OrderBillOfMaterialService
SalesOrderBOMItem
entities.getAllSalesOrderBOMItem
in interface OrderBillOfMaterialService
SalesOrderBOMItem
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 SalesOrderBOMItemByKeyFluentHelper getSalesOrderBOMItemByKey(String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialItemNodeNumber, String headerChangeDocument, String material, String plant)
OrderBillOfMaterialService
SalesOrderBOMItem
entity using key fields.getSalesOrderBOMItemByKey
in interface OrderBillOfMaterialService
billOfMaterial
- Number used in combination with the BOM category to uniquely identify a BOM or a BOM group.
Constraints: Not nullable, Maximum length: 8
billOfMaterialCategory
- This key defines a BOM according to the object (such as material or equipment) to which it is linked.
Constraints: Not nullable, Maximum length: 1
billOfMaterialVariant
- Identifies one BOM in a BOM group.
Constraints: Not nullable, Maximum length: 2
billOfMaterialItemNodeNumber
- BOM item node number
Constraints: Not nullable, Maximum length: 8
headerChangeDocument
- Number used to uniquely identify a change master record.
Constraints: Not nullable, Maximum length: 12
material
- Alphanumeric key uniquely identifying the material.
Constraints: Not nullable, Maximum length: 40
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
SalesOrderBOMItem
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 SalesOrderBOMItemCreateFluentHelper createSalesOrderBOMItem(@Nonnull SalesOrderBOMItem salesOrderBOMItem)
OrderBillOfMaterialService
SalesOrderBOMItem
entity and save it to the S/4HANA system.createSalesOrderBOMItem
in interface OrderBillOfMaterialService
salesOrderBOMItem
- SalesOrderBOMItem
entity object that will be created in the S/4HANA system.SalesOrderBOMItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesOrderBOMItemUpdateFluentHelper updateSalesOrderBOMItem(@Nonnull SalesOrderBOMItem salesOrderBOMItem)
OrderBillOfMaterialService
SalesOrderBOMItem
entity and save it to the S/4HANA system.updateSalesOrderBOMItem
in interface OrderBillOfMaterialService
salesOrderBOMItem
- SalesOrderBOMItem
entity object that will be updated in the S/4HANA system.SalesOrderBOMItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesOrderBOMItemDeleteFluentHelper deleteSalesOrderBOMItem(@Nonnull SalesOrderBOMItem salesOrderBOMItem)
OrderBillOfMaterialService
SalesOrderBOMItem
entity in the S/4HANA system.deleteSalesOrderBOMItem
in interface OrderBillOfMaterialService
salesOrderBOMItem
- SalesOrderBOMItem
entity object that will be deleted in the S/4HANA system.SalesOrderBOMItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DeleteBOMHdrWithChangeNumberFluentHelper deleteBOMHdrWithChangeNumber(String billOfMaterialCategory, String billOfMaterial, String billOfMaterialVariant, String engineeringChangeDocument, String material, String plant, String engineeringChangeDocForEdit)
OrderBillOfMaterialService
Creates a fluent helper for the DeleteBOMHdrWithChangeNumber OData function import.
deleteBOMHdrWithChangeNumber
in interface OrderBillOfMaterialService
billOfMaterialCategory
- BOM category
Constraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
billOfMaterial
- Bill of Material
Constraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: BillOfMaterial
billOfMaterialVariant
- Alternative BOM
Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: BillOfMaterialVariant
engineeringChangeDocument
- Change Number
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocument
material
- Material
Constraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
plant
- Plant
Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
engineeringChangeDocForEdit
- Change Number
Constraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocForEdit
execute
method on the fluent helper object.@Nonnull public DeleteBOMItemWithChangeNumberFluentHelper deleteBOMItemWithChangeNumber(String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialItemNodeNumber, String headerChangeDocument, String material, String plant, String engineeringChangeDocForEdit)
OrderBillOfMaterialService
Creates a fluent helper for the DeleteBOMItemWithChangeNumber OData function import.
deleteBOMItemWithChangeNumber
in interface OrderBillOfMaterialService
billOfMaterial
- Bill of Material
Constraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: BillOfMaterial
billOfMaterialCategory
- BOM category
Constraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
billOfMaterialVariant
- Alternative BOM
Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: BillOfMaterialVariant
billOfMaterialItemNodeNumber
- Item node
Constraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: BillOfMaterialItemNodeNumber
headerChangeDocument
- Change Number
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: HeaderChangeDocument
material
- Material
Constraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
plant
- Plant
Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
engineeringChangeDocForEdit
- Change Number
Constraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocForEdit
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.