Interface BillOfMaterialsService
- All Superinterfaces:
BatchService<BillOfMaterialsServiceBatch>
- All Known Implementing Classes:
DefaultBillOfMaterialsService
The service enables you to read, create, and update bills of material with and without version. The service is based on the OData protocol and can be consumed in SAP Fiori apps and on other user interfaces. The service contains either no header, one header, or multiple headers for the specified material and none or more items for each header. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_BILL_OF_MATERIAL_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2208 |
| 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), Make-to-Order Production - Finished Goods Sales and Final Assembly(BJE), Change Manufacturing Bill of Material for Production(3LO), Mass Change Manufacturing Bill of Material for Production(3LP) |
| Business Object: | 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 TypeMethodDescriptioncreateBillOfMaterial(BillOfMaterial billOfMaterial) Deprecated.Create a newBillOfMaterialentity and save it to the S/4HANA system.createBillOfMaterialItem(BillOfMaterialItem billOfMaterialItem) Deprecated.Create a newBillOfMaterialItementity and save it to the S/4HANA system.explodeBOM(UUID billOfMaterialHeaderUUID, String material, String plant, String billOfMaterialVariant, String bOMExplosionApplication, BigDecimal requiredQuantity, String engineeringChangeDocument, Boolean bOMExplosionIsLimited, String bOMItmQtyIsScrapRelevant, String billOfMaterialItemCategory, String bOMExplosionAssembly, LocalDateTime bOMExplosionDate, BigDecimal bOMExplosionLevel, Boolean bOMExplosionIsMultilevel, String materialProvisionFltrType, String sparePartFltrType) Deprecated.Creates a fluent helper for the ExplodeBOM OData function import.Deprecated.Fetch multipleBillOfMaterialentities.Deprecated.Fetch multipleBillOfMaterialItementities.Deprecated.Fetch multipleBillOfMaterialUsageentities.Deprecated.Fetch multipleBillOfMaterialUsageTextentities.Deprecated.Fetch multipleBOMItemCategoryentities.Deprecated.Fetch multipleBOMItemCategoryTextentities.getBillOfMaterialByKey(UUID billOfMaterialHeaderUUID) Deprecated.Fetch a singleBillOfMaterialentity using key fields.getBillOfMaterialItemByKey(UUID billOfMaterialItemUUID) Deprecated.Fetch a singleBillOfMaterialItementity using key fields.getBillOfMaterialUsageByKey(String billOfMaterialVariantUsage) Deprecated.Fetch a singleBillOfMaterialUsageentity using key fields.getBillOfMaterialUsageTextByKey(String language, String billOfMaterialVariantUsage) Deprecated.Fetch a singleBillOfMaterialUsageTextentity using key fields.getBOMItemCategoryByKey(String billOfMaterialItemCategory) Deprecated.Fetch a singleBOMItemCategoryentity using key fields.getBOMItemCategoryTextByKey(String language, String billOfMaterialItemCategory) Deprecated.Fetch a singleBOMItemCategoryTextentity using key fields.releaseVersionBOM(UUID billOfMaterialHeaderUUID, String stlnr, String stlty, String stlal, String bomVersn, String versnst, Boolean versnlastind) Deprecated.Creates a fluent helper for the ReleaseVersionBOM OData function import.updateBillOfMaterial(BillOfMaterial billOfMaterial) Deprecated.Update an existingBillOfMaterialentity and save it to the S/4HANA system.updateBillOfMaterialItem(BillOfMaterialItem billOfMaterialItem) Deprecated.Update an existingBillOfMaterialItementity 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.
-
getAllBillOfMaterial
Deprecated.Fetch multipleBillOfMaterialentities.- Returns:
- A fluent helper to fetch multiple
BillOfMaterialentities. 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.
-
getBillOfMaterialByKey
Deprecated.Fetch a singleBillOfMaterialentity using key fields.- Parameters:
billOfMaterialHeaderUUID- Global identification of a BOM header change statusConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
BillOfMaterialentity 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.
-
createBillOfMaterial
@Nonnull BillOfMaterialCreateFluentHelper createBillOfMaterial(@Nonnull BillOfMaterial billOfMaterial) Deprecated.Create a newBillOfMaterialentity and save it to the S/4HANA system.- Parameters:
billOfMaterial-BillOfMaterialentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
BillOfMaterialentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateBillOfMaterial
@Nonnull BillOfMaterialUpdateFluentHelper updateBillOfMaterial(@Nonnull BillOfMaterial billOfMaterial) Deprecated.Update an existingBillOfMaterialentity and save it to the S/4HANA system.- Parameters:
billOfMaterial-BillOfMaterialentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
BillOfMaterialentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBillOfMaterialItem
Deprecated.Fetch multipleBillOfMaterialItementities.- Returns:
- A fluent helper to fetch multiple
BillOfMaterialItementities. 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.
-
getBillOfMaterialItemByKey
@Nonnull BillOfMaterialItemByKeyFluentHelper getBillOfMaterialItemByKey(UUID billOfMaterialItemUUID) Deprecated.Fetch a singleBillOfMaterialItementity using key fields.- Parameters:
billOfMaterialItemUUID- Global identification of an item's change statusConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
BillOfMaterialItementity 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.
-
createBillOfMaterialItem
@Nonnull BillOfMaterialItemCreateFluentHelper createBillOfMaterialItem(@Nonnull BillOfMaterialItem billOfMaterialItem) Deprecated.Create a newBillOfMaterialItementity and save it to the S/4HANA system.- Parameters:
billOfMaterialItem-BillOfMaterialItementity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
BillOfMaterialItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateBillOfMaterialItem
@Nonnull BillOfMaterialItemUpdateFluentHelper updateBillOfMaterialItem(@Nonnull BillOfMaterialItem billOfMaterialItem) Deprecated.Update an existingBillOfMaterialItementity and save it to the S/4HANA system.- Parameters:
billOfMaterialItem-BillOfMaterialItementity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
BillOfMaterialItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBillOfMaterialUsage
Deprecated.Fetch multipleBillOfMaterialUsageentities.- Returns:
- A fluent helper to fetch multiple
BillOfMaterialUsageentities. 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.
-
getBillOfMaterialUsageByKey
@Nonnull BillOfMaterialUsageByKeyFluentHelper getBillOfMaterialUsageByKey(String billOfMaterialVariantUsage) Deprecated.Fetch a singleBillOfMaterialUsageentity using key fields.- Parameters:
billOfMaterialVariantUsage- BOM UsageConstraints: Not nullable, Maximum length: 1
- Returns:
- A fluent helper to fetch a single
BillOfMaterialUsageentity 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.
-
getAllBillOfMaterialUsageText
Deprecated.Fetch multipleBillOfMaterialUsageTextentities.- Returns:
- A fluent helper to fetch multiple
BillOfMaterialUsageTextentities. 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.
-
getBillOfMaterialUsageTextByKey
@Nonnull BillOfMaterialUsageTextByKeyFluentHelper getBillOfMaterialUsageTextByKey(String language, String billOfMaterialVariantUsage) Deprecated.Fetch a singleBillOfMaterialUsageTextentity using key fields.- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
billOfMaterialVariantUsage- BOM UsageConstraints: Not nullable, Maximum length: 1
- Returns:
- A fluent helper to fetch a single
BillOfMaterialUsageTextentity 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.
-
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.
-
explodeBOM
@Nonnull ExplodeBOMFluentHelper explodeBOM(@Nonnull UUID billOfMaterialHeaderUUID, @Nullable String material, @Nullable String plant, @Nullable String billOfMaterialVariant, @Nullable String bOMExplosionApplication, @Nullable BigDecimal requiredQuantity, @Nullable String engineeringChangeDocument, @Nullable Boolean bOMExplosionIsLimited, @Nullable String bOMItmQtyIsScrapRelevant, @Nullable String billOfMaterialItemCategory, @Nullable String bOMExplosionAssembly, @Nullable LocalDateTime bOMExplosionDate, @Nullable BigDecimal bOMExplosionLevel, @Nullable Boolean bOMExplosionIsMultilevel, @Nullable String materialProvisionFltrType, @Nullable String sparePartFltrType) Deprecated.Creates a fluent helper for the ExplodeBOM OData function import.
- Parameters:
bOMItmQtyIsScrapRelevant- ExceptionsConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: BOMItmQtyIsScrapRelevant
sparePartFltrType- Spare Part IndicatorConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: SparePartFltrType
bOMExplosionLevel- Explosion levelConstraints: Nullable, Precision: 3, Scale: 0
Original parameter name from the Odata EDM: BOMExplosionLevel
bOMExplosionIsLimited- Limited ExplosionConstraints: Nullable
Original parameter name from the Odata EDM: BOMExplosionIsLimited
bOMExplosionApplication- BOM ApplicationConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: BOMExplosionApplication
requiredQuantity- Base quantityConstraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: RequiredQuantity
material- MaterialConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
billOfMaterialHeaderUUID- ID hdr chge statusConstraints: none
Original parameter name from the Odata EDM: BillOfMaterialHeaderUUID
plant- PlantConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
engineeringChangeDocument- Change NumberConstraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocument
billOfMaterialItemCategory- Item CategoryConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialItemCategory
bOMExplosionIsMultilevel- Multi-lev.Constraints: Nullable
Original parameter name from the Odata EDM: BOMExplosionIsMultilevel
billOfMaterialVariant- Alternative BOMConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: BillOfMaterialVariant
materialProvisionFltrType- Mat. Provision Ind.Constraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: MaterialProvisionFltrType
bOMExplosionAssembly- MaterialConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: BOMExplosionAssembly
bOMExplosionDate- Valid FromConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: BOMExplosionDate
- Returns:
- A fluent helper object that will execute the ExplodeBOM OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
releaseVersionBOM
@Nonnull ReleaseVersionBOMFluentHelper releaseVersionBOM(@Nonnull UUID billOfMaterialHeaderUUID, @Nullable String stlnr, @Nullable String stlty, @Nullable String stlal, @Nullable String bomVersn, @Nullable String versnst, @Nullable Boolean versnlastind) Deprecated.Creates a fluent helper for the ReleaseVersionBOM OData function import.
- Parameters:
stlnr- Bill of MaterialConstraints: Nullable, Maximum length: 8
Original parameter name from the Odata EDM: Stlnr
billOfMaterialHeaderUUID- ID hdr chge statusConstraints: none
Original parameter name from the Odata EDM: BillOfMaterialHeaderUUID
versnlastind- Latest Rel VersionConstraints: Nullable
Original parameter name from the Odata EDM: Versnlastind
stlty- BOM categoryConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: Stlty
versnst- BOM Version StatusConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: Versnst
stlal- Alternative BOMConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: Stlal
bomVersn- BOM VersionConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: BomVersn
- Returns:
- A fluent helper object that will execute the ReleaseVersionBOM OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-