Class DefaultOrderBillOfMaterialService
- All Implemented Interfaces:
BatchService<OrderBillOfMaterialServiceBatch>,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 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
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.OrderBillOfMaterialService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingOrderBillOfMaterialService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createSalesOrderBOM(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.
-
Constructor Details
-
DefaultOrderBillOfMaterialService
public DefaultOrderBillOfMaterialService()Deprecated.Creates a service usingOrderBillOfMaterialService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:OrderBillOfMaterialServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceOrderBillOfMaterialService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<OrderBillOfMaterialServiceBatch>
-
getAllBOMItemCategory
Deprecated.Description copied from interface:OrderBillOfMaterialServiceFetch multipleBOMItemCategoryentities.- Specified by:
getAllBOMItemCategoryin interfaceOrderBillOfMaterialService- 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 public BOMItemCategoryByKeyFluentHelper getBOMItemCategoryByKey(String billOfMaterialItemCategory) Deprecated.Description copied from interface:OrderBillOfMaterialServiceFetch a singleBOMItemCategoryentity using key fields.- Specified by:
getBOMItemCategoryByKeyin interfaceOrderBillOfMaterialService- 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.Description copied from interface:OrderBillOfMaterialServiceFetch multipleBOMItemCategoryTextentities.- Specified by:
getAllBOMItemCategoryTextin interfaceOrderBillOfMaterialService- 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 public BOMItemCategoryTextByKeyFluentHelper getBOMItemCategoryTextByKey(String language, String billOfMaterialItemCategory) Deprecated.Description copied from interface:OrderBillOfMaterialServiceFetch a singleBOMItemCategoryTextentity using key fields.- Specified by:
getBOMItemCategoryTextByKeyin interfaceOrderBillOfMaterialService- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
billOfMaterialItemCategory- Item category (bill of material)Constraints: Not nullable, Maximum length: 1
- 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.Description copied from interface:OrderBillOfMaterialServiceFetch multipleSalesOrderBOMItementities.- Specified by:
getAllSalesOrderBOMItemin interfaceOrderBillOfMaterialService- 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 public SalesOrderBOMItemByKeyFluentHelper getSalesOrderBOMItemByKey(String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialItemNodeNumber, String headerChangeDocument, String material, String plant) Deprecated.Description copied from interface:OrderBillOfMaterialServiceFetch a singleSalesOrderBOMItementity using key fields.- Specified by:
getSalesOrderBOMItemByKeyin interfaceOrderBillOfMaterialService- Parameters:
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
billOfMaterialItemNodeNumber- BOM item node numberConstraints: Not nullable, Maximum length: 8
headerChangeDocument- Change NumberConstraints: Not nullable, Maximum length: 12
material- Material NumberConstraints: Not nullable, Maximum length: 40
plant- PlantConstraints: Not nullable, Maximum length: 4
- 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 public SalesOrderBOMItemCreateFluentHelper createSalesOrderBOMItem(@Nonnull SalesOrderBOMItem salesOrderBOMItem) Deprecated.Description copied from interface:OrderBillOfMaterialServiceCreate a newSalesOrderBOMItementity and save it to the S/4HANA system.- Specified by:
createSalesOrderBOMItemin interfaceOrderBillOfMaterialService- 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 public SalesOrderBOMItemUpdateFluentHelper updateSalesOrderBOMItem(@Nonnull SalesOrderBOMItem salesOrderBOMItem) Deprecated.Description copied from interface:OrderBillOfMaterialServiceUpdate an existingSalesOrderBOMItementity and save it to the S/4HANA system.- Specified by:
updateSalesOrderBOMItemin interfaceOrderBillOfMaterialService- 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 public SalesOrderBOMItemDeleteFluentHelper deleteSalesOrderBOMItem(@Nonnull SalesOrderBOMItem salesOrderBOMItem) Deprecated.Description copied from interface:OrderBillOfMaterialServiceDeletes an existingSalesOrderBOMItementity in the S/4HANA system.- Specified by:
deleteSalesOrderBOMItemin interfaceOrderBillOfMaterialService- 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.Description copied from interface:OrderBillOfMaterialServiceFetch multipleSalesOrderBOMentities.- Specified by:
getAllSalesOrderBOMin interfaceOrderBillOfMaterialService- 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 public SalesOrderBOMByKeyFluentHelper getSalesOrderBOMByKey(String billOfMaterialCategory, String billOfMaterial, String billOfMaterialVariant, String engineeringChangeDocument, String material, String plant) Deprecated.Description copied from interface:OrderBillOfMaterialServiceFetch a singleSalesOrderBOMentity using key fields.- Specified by:
getSalesOrderBOMByKeyin interfaceOrderBillOfMaterialService- Parameters:
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
billOfMaterial- Bill of MaterialConstraints: Not nullable, Maximum length: 8
billOfMaterialVariant- Alternative BOMConstraints: Not nullable, Maximum length: 2
engineeringChangeDocument- Change NumberConstraints: Not nullable, Maximum length: 12
material- Material NumberConstraints: Not nullable, Maximum length: 40
plant- PlantConstraints: Not nullable, Maximum length: 4
- 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
@Nonnull public SalesOrderBOMCreateFluentHelper createSalesOrderBOM(@Nonnull SalesOrderBOM salesOrderBOM) Deprecated.Description copied from interface:OrderBillOfMaterialServiceCreate a newSalesOrderBOMentity and save it to the S/4HANA system.- Specified by:
createSalesOrderBOMin interfaceOrderBillOfMaterialService- 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
@Nonnull public SalesOrderBOMUpdateFluentHelper updateSalesOrderBOM(@Nonnull SalesOrderBOM salesOrderBOM) Deprecated.Description copied from interface:OrderBillOfMaterialServiceUpdate an existingSalesOrderBOMentity and save it to the S/4HANA system.- Specified by:
updateSalesOrderBOMin interfaceOrderBillOfMaterialService- 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
@Nonnull public SalesOrderBOMDeleteFluentHelper deleteSalesOrderBOM(@Nonnull SalesOrderBOM salesOrderBOM) Deprecated.Description copied from interface:OrderBillOfMaterialServiceDeletes an existingSalesOrderBOMentity in the S/4HANA system.- Specified by:
deleteSalesOrderBOMin interfaceOrderBillOfMaterialService- 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 public 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.Description copied from interface:OrderBillOfMaterialServiceCreates a fluent helper for the DeleteBOMItemWithChangeNumber OData function import.
- Specified by:
deleteBOMItemWithChangeNumberin interfaceOrderBillOfMaterialService- Parameters:
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
billOfMaterialItemNodeNumber- Item nodeConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: BillOfMaterialItemNodeNumber
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
plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
engineeringChangeDocForEdit- Change NumberConstraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocForEdit
- 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 public DeleteBOMHdrWithChangeNumberFluentHelper deleteBOMHdrWithChangeNumber(@Nonnull String billOfMaterialCategory, @Nonnull String billOfMaterial, @Nonnull String billOfMaterialVariant, @Nonnull String engineeringChangeDocument, @Nonnull String material, @Nonnull String plant, @Nullable String engineeringChangeDocForEdit) Deprecated.Description copied from interface:OrderBillOfMaterialServiceCreates a fluent helper for the DeleteBOMHdrWithChangeNumber OData function import.
- Specified by:
deleteBOMHdrWithChangeNumberin interfaceOrderBillOfMaterialService- Parameters:
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
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
engineeringChangeDocument- Change NumberConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocument
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
engineeringChangeDocForEdit- Change NumberConstraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocForEdit
- 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.
-