Interface OrderBillOfMaterialService
- All Superinterfaces:
BatchService<OrderBillOfMaterialServiceBatch>
- All Known Implementing Classes:
DefaultOrderBillOfMaterialService
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 Business Accelerator Hub
Details:
| OData Service: | API_ORDER_BILL_OF_MATERIAL_SRV |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Product Lifecycle Management - Master Data Integration(SAP_COM_0105) |
| Scope Items: | Make-to-Order Production - Finished Goods Sales and Final Assembly(BJE), 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) |
| Authentication Methods: | x509 |
| Business Object: | Sales Bill Of Material |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptioncreateSalesOrderBOM(SalesOrderBOM salesOrderBOM) Deprecated.Create a newSalesOrderBOMentity and save it to the S/4HANA system.createSalesOrderBOMItem(SalesOrderBOMItem salesOrderBOMItem) Deprecated.Create a newSalesOrderBOMItementity and save it to the S/4HANA system.deleteBOMHdrWithChangeNumber(String billOfMaterialCategory, String billOfMaterial, String billOfMaterialVariant, String engineeringChangeDocument, String material, String plant, String engineeringChangeDocForEdit) Deprecated.Creates a fluent helper for the DeleteBOMHdrWithChangeNumber OData function import.deleteBOMItemWithChangeNumber(String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialItemNodeNumber, String headerChangeDocument, String material, String plant, String engineeringChangeDocForEdit) Deprecated.Creates a fluent helper for the DeleteBOMItemWithChangeNumber OData function import.deleteSalesOrderBOM(SalesOrderBOM salesOrderBOM) Deprecated.Deletes an existingSalesOrderBOMentity in the S/4HANA system.deleteSalesOrderBOMItem(SalesOrderBOMItem salesOrderBOMItem) Deprecated.Deletes an existingSalesOrderBOMItementity in the S/4HANA system.Deprecated.Fetch multipleBOMItemCategoryentities.Deprecated.Fetch multipleBOMItemCategoryTextentities.Deprecated.Fetch multipleSalesOrderBOMentities.Deprecated.Fetch multipleSalesOrderBOMItementities.getBOMItemCategoryByKey(String billOfMaterialItemCategory) Deprecated.Fetch a singleBOMItemCategoryentity using key fields.getBOMItemCategoryTextByKey(String language, String billOfMaterialItemCategory) Deprecated.Fetch a singleBOMItemCategoryTextentity using key fields.getSalesOrderBOMByKey(String billOfMaterialCategory, String billOfMaterial, String billOfMaterialVariant, String engineeringChangeDocument, String material, String plant) Deprecated.Fetch a singleSalesOrderBOMentity using key fields.getSalesOrderBOMItemByKey(String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialItemNodeNumber, String headerChangeDocument, String material, String plant) Deprecated.Fetch a singleSalesOrderBOMItementity using key fields.updateSalesOrderBOM(SalesOrderBOM salesOrderBOM) Deprecated.Update an existingSalesOrderBOMentity and save it to the S/4HANA system.updateSalesOrderBOMItem(SalesOrderBOMItem salesOrderBOMItem) Deprecated.Update an existingSalesOrderBOMItementity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllBOMItemCategory
Deprecated.Fetch multipleBOMItemCategoryentities.- Returns:
- A fluent helper to fetch multiple
BOMItemCategoryentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBOMItemCategoryByKey
@Nonnull BOMItemCategoryByKeyFluentHelper getBOMItemCategoryByKey(String billOfMaterialItemCategory) Deprecated.Fetch a singleBOMItemCategoryentity using key fields.- Parameters:
billOfMaterialItemCategory- Item category (bill of material)Constraints: Not nullable, Maximum length: 1
- Returns:
- A fluent helper to fetch a single
BOMItemCategoryentity 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 theexecutemethod on the fluent helper object.
-
getAllBOMItemCategoryText
Deprecated.Fetch multipleBOMItemCategoryTextentities.- Returns:
- A fluent helper to fetch multiple
BOMItemCategoryTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBOMItemCategoryTextByKey
@Nonnull BOMItemCategoryTextByKeyFluentHelper getBOMItemCategoryTextByKey(String language, String billOfMaterialItemCategory) Deprecated.Fetch a singleBOMItemCategoryTextentity using key fields.- Parameters:
billOfMaterialItemCategory- Item category (bill of material)Constraints: Not nullable, Maximum length: 1
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
BOMItemCategoryTextentity 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 theexecutemethod on the fluent helper object.
-
getAllSalesOrderBOMItem
Deprecated.Fetch multipleSalesOrderBOMItementities.- Returns:
- A fluent helper to fetch multiple
SalesOrderBOMItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getSalesOrderBOMItemByKey
@Nonnull SalesOrderBOMItemByKeyFluentHelper getSalesOrderBOMItemByKey(String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialItemNodeNumber, String headerChangeDocument, String material, String plant) Deprecated.Fetch a singleSalesOrderBOMItementity using key fields.- Parameters:
headerChangeDocument- Change NumberConstraints: Not nullable, Maximum length: 12
material- Material NumberConstraints: Not nullable, Maximum length: 40
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
plant- PlantConstraints: Not nullable, Maximum length: 4
billOfMaterial- Bill of MaterialConstraints: Not nullable, Maximum length: 8
billOfMaterialVariant- Alternative BOMConstraints: Not nullable, Maximum length: 2
billOfMaterialItemNodeNumber- BOM item node numberConstraints: Not nullable, Maximum length: 8
- Returns:
- A fluent helper to fetch a single
SalesOrderBOMItementity 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 theexecutemethod on the fluent helper object.
-
createSalesOrderBOMItem
@Nonnull SalesOrderBOMItemCreateFluentHelper createSalesOrderBOMItem(@Nonnull SalesOrderBOMItem salesOrderBOMItem) Deprecated.Create a newSalesOrderBOMItementity and save it to the S/4HANA system.- Parameters:
salesOrderBOMItem-SalesOrderBOMItementity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
SalesOrderBOMItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateSalesOrderBOMItem
@Nonnull SalesOrderBOMItemUpdateFluentHelper updateSalesOrderBOMItem(@Nonnull SalesOrderBOMItem salesOrderBOMItem) Deprecated.Update an existingSalesOrderBOMItementity and save it to the S/4HANA system.- Parameters:
salesOrderBOMItem-SalesOrderBOMItementity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
SalesOrderBOMItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteSalesOrderBOMItem
@Nonnull SalesOrderBOMItemDeleteFluentHelper deleteSalesOrderBOMItem(@Nonnull SalesOrderBOMItem salesOrderBOMItem) Deprecated.Deletes an existingSalesOrderBOMItementity in the S/4HANA system.- Parameters:
salesOrderBOMItem-SalesOrderBOMItementity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
SalesOrderBOMItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllSalesOrderBOM
Deprecated.Fetch multipleSalesOrderBOMentities.- Returns:
- A fluent helper to fetch multiple
SalesOrderBOMentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getSalesOrderBOMByKey
@Nonnull SalesOrderBOMByKeyFluentHelper getSalesOrderBOMByKey(String billOfMaterialCategory, String billOfMaterial, String billOfMaterialVariant, String engineeringChangeDocument, String material, String plant) Deprecated.Fetch a singleSalesOrderBOMentity using key fields.- Parameters:
material- Material NumberConstraints: Not nullable, Maximum length: 40
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
engineeringChangeDocument- Change NumberConstraints: Not nullable, Maximum length: 12
plant- PlantConstraints: Not nullable, Maximum length: 4
billOfMaterial- Bill of MaterialConstraints: Not nullable, Maximum length: 8
billOfMaterialVariant- Alternative BOMConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
SalesOrderBOMentity 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 theexecutemethod on the fluent helper object.
-
createSalesOrderBOM
Deprecated.Create a newSalesOrderBOMentity and save it to the S/4HANA system.- Parameters:
salesOrderBOM-SalesOrderBOMentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
SalesOrderBOMentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateSalesOrderBOM
Deprecated.Update an existingSalesOrderBOMentity and save it to the S/4HANA system.- Parameters:
salesOrderBOM-SalesOrderBOMentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
SalesOrderBOMentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteSalesOrderBOM
Deprecated.Deletes an existingSalesOrderBOMentity in the S/4HANA system.- Parameters:
salesOrderBOM-SalesOrderBOMentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
SalesOrderBOMentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteBOMItemWithChangeNumber
@Nonnull DeleteBOMItemWithChangeNumberFluentHelper deleteBOMItemWithChangeNumber(@Nonnull String billOfMaterial, @Nonnull String billOfMaterialCategory, @Nonnull String billOfMaterialVariant, @Nonnull String billOfMaterialItemNodeNumber, @Nonnull String headerChangeDocument, @Nonnull String material, @Nonnull String plant, @Nullable String engineeringChangeDocForEdit) Deprecated.Creates a fluent helper for the DeleteBOMItemWithChangeNumber OData function import.
- Parameters:
headerChangeDocument- Change NumberConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: HeaderChangeDocument
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
engineeringChangeDocForEdit- Change NumberConstraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocForEdit
plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
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
billOfMaterialItemNodeNumber- Item nodeConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: BillOfMaterialItemNodeNumber
- Returns:
- A fluent helper object that will execute the DeleteBOMItemWithChangeNumber OData function import
with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
deleteBOMHdrWithChangeNumber
@Nonnull DeleteBOMHdrWithChangeNumberFluentHelper deleteBOMHdrWithChangeNumber(@Nonnull String billOfMaterialCategory, @Nonnull String billOfMaterial, @Nonnull String billOfMaterialVariant, @Nonnull String engineeringChangeDocument, @Nonnull String material, @Nonnull String plant, @Nullable String engineeringChangeDocForEdit) Deprecated.Creates a fluent helper for the DeleteBOMHdrWithChangeNumber OData function import.
- Parameters:
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
engineeringChangeDocForEdit- Change NumberConstraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocForEdit
engineeringChangeDocument- Change NumberConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocument
plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
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
- Returns:
- A fluent helper object that will execute the DeleteBOMHdrWithChangeNumber OData function import
with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-