Interface MaintenanceBillOfMaterialService
- All Superinterfaces:
BatchService<MaintenanceBillOfMaterialServiceBatch>
- All Known Implementing Classes:
DefaultMaintenanceBillOfMaterialService
This service enables you to create, update, or delete the bill of material header and item. It is based on the OData protocol and can be consumed in SAP Fiori apps and on other user interfaces. The service contains header and item nodes for the bill of material. When performing an operation, the necessary information is sent in the request as a payload. All information used when creating a maintenance BOM is checked for restricted values and authorizations. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_MAINTENANCEBOM |
| API Version: | 1.0.1 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Maintenance BOM API Integration(SAP_COM_0762) |
| Scope Items: | Reactive Maintenance(4HH), Proactive Maintenance(4HI), Improvement Maintenance(4VT), Operational and Overhead Maintenance(4WM) |
| Authentication Methods: | x509 |
| Business Object: | Maintenance 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 TypeMethodDescriptioncreateBOMItem(BOMItem bOMItem) Deprecated.Create a newBOMItementity and save it to the S/4HANA system.createMaintBOMHeader(MaintBOMHeader maintBOMHeader) Deprecated.Create a newMaintBOMHeaderentity and save it to the S/4HANA system.createVariantBOM(String technicalObject, String billOfMaterialVariantUsage, String plant, String billOfMaterialCategory, String referenceObjectID, LocalDateTime headerValidityStartDate, String engineeringChangeDocument) Deprecated.Creates a fluent helper for the CreateVariantBOM OData function import.deleteBOMItem(BOMItem bOMItem) Deprecated.Deletes an existingBOMItementity in the S/4HANA system.deleteMaintBOMHeader(MaintBOMHeader maintBOMHeader) Deprecated.Deletes an existingMaintBOMHeaderentity in the S/4HANA system.Deprecated.Fetch multipleBOMItementities.Deprecated.Fetch multipleMaintBOMHeaderentities.getBOMItemByKey(String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialVersion, String technicalObject, String plant, String engineeringChangeDocument, String billOfMaterialVariantUsage, String billOfMaterialItemNodeNumber) Deprecated.Fetch a singleBOMItementity using key fields.getMaintBOMHeaderByKey(String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialVersion, String technicalObject, String plant, String engineeringChangeDocument, String billOfMaterialVariantUsage) Deprecated.Fetch a singleMaintBOMHeaderentity using key fields.getMaintBOMItems(String technicalObject, String billOfMaterialVariantUsage, String plant, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialVersion) Deprecated.Creates a fluent helper for the GetMaintBOMItems OData function import.updateBOMItem(BOMItem bOMItem) Deprecated.Update an existingBOMItementity and save it to the S/4HANA system.updateMaintBOMHeader(MaintBOMHeader maintBOMHeader) Deprecated.Update an existingMaintBOMHeaderentity 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.
-
getAllBOMItem
Deprecated.Fetch multipleBOMItementities.- Returns:
- A fluent helper to fetch multiple
BOMItementities. 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.
-
getBOMItemByKey
@Nonnull BOMItemByKeyFluentHelper getBOMItemByKey(String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialVersion, String technicalObject, String plant, String engineeringChangeDocument, String billOfMaterialVariantUsage, String billOfMaterialItemNodeNumber) Deprecated.Fetch a singleBOMItementity using key fields.- Parameters:
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
billOfMaterialVersion- BOM VersionConstraints: Not nullable, Maximum length: 4
plant- PlantConstraints: Not nullable, Maximum length: 4
engineeringChangeDocument- Change NumberConstraints: Not nullable, Maximum length: 12
billOfMaterial-technicalObject- Material 1Constraints: Not nullable, Maximum length: 18
billOfMaterialVariant- Alternative BOMConstraints: Not nullable, Maximum length: 2
billOfMaterialItemNodeNumber- BOM item node numberConstraints: Not nullable, Maximum length: 8
billOfMaterialVariantUsage- BOM UsageConstraints: Not nullable, Maximum length: 1
- Returns:
- A fluent helper to fetch a single
BOMItementity 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.
-
createBOMItem
Deprecated.Create a newBOMItementity and save it to the S/4HANA system. -
updateBOMItem
Deprecated.Update an existingBOMItementity and save it to the S/4HANA system. -
deleteBOMItem
Deprecated.Deletes an existingBOMItementity in the S/4HANA system. -
getAllMaintBOMHeader
Deprecated.Fetch multipleMaintBOMHeaderentities.- Returns:
- A fluent helper to fetch multiple
MaintBOMHeaderentities. 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.
-
getMaintBOMHeaderByKey
@Nonnull MaintBOMHeaderByKeyFluentHelper getMaintBOMHeaderByKey(String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialVersion, String technicalObject, String plant, String engineeringChangeDocument, String billOfMaterialVariantUsage) Deprecated.Fetch a singleMaintBOMHeaderentity using key fields.- Parameters:
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
billOfMaterialVersion- BOM VersionConstraints: Not nullable, Maximum length: 4
plant- PlantConstraints: Not nullable, Maximum length: 4
engineeringChangeDocument- Change NumberConstraints: Not nullable, Maximum length: 12
billOfMaterial-technicalObject- Material 1Constraints: Not nullable, Maximum length: 18
billOfMaterialVariant- Alternative BOMConstraints: Not nullable, Maximum length: 2
billOfMaterialVariantUsage- BOM UsageConstraints: Not nullable, Maximum length: 1
- Returns:
- A fluent helper to fetch a single
MaintBOMHeaderentity 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.
-
createMaintBOMHeader
@Nonnull MaintBOMHeaderCreateFluentHelper createMaintBOMHeader(@Nonnull MaintBOMHeader maintBOMHeader) Deprecated.Create a newMaintBOMHeaderentity and save it to the S/4HANA system.- Parameters:
maintBOMHeader-MaintBOMHeaderentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
MaintBOMHeaderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateMaintBOMHeader
@Nonnull MaintBOMHeaderUpdateFluentHelper updateMaintBOMHeader(@Nonnull MaintBOMHeader maintBOMHeader) Deprecated.Update an existingMaintBOMHeaderentity and save it to the S/4HANA system.- Parameters:
maintBOMHeader-MaintBOMHeaderentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
MaintBOMHeaderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteMaintBOMHeader
@Nonnull MaintBOMHeaderDeleteFluentHelper deleteMaintBOMHeader(@Nonnull MaintBOMHeader maintBOMHeader) Deprecated.Deletes an existingMaintBOMHeaderentity in the S/4HANA system.- Parameters:
maintBOMHeader-MaintBOMHeaderentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
MaintBOMHeaderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
createVariantBOM
@Nonnull CreateVariantBOMFluentHelper createVariantBOM(@Nonnull String technicalObject, @Nonnull String billOfMaterialVariantUsage, @Nonnull String plant, @Nonnull String billOfMaterialCategory, @Nonnull String referenceObjectID, @Nullable LocalDateTime headerValidityStartDate, @Nullable String engineeringChangeDocument) Deprecated.Creates a fluent helper for the CreateVariantBOM OData function import.
- Parameters:
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
headerValidityStartDate- Valid FromConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: HeaderValidityStartDate
engineeringChangeDocument- Change NumberConstraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: EngineeringChangeDocument
technicalObject- Technical ObjectConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: TechnicalObject
billOfMaterialVariantUsage- BOM UsageConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialVariantUsage
referenceObjectID- Owner object IDConstraints: Not nullable, Maximum length: 70
Original parameter name from the Odata EDM: ReferenceObjectID
- Returns:
- A fluent helper object that will execute the CreateVariantBOM OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
getMaintBOMItems
@Nonnull GetMaintBOMItemsFluentHelper getMaintBOMItems(@Nonnull String technicalObject, @Nonnull String billOfMaterialVariantUsage, @Nonnull String plant, @Nonnull String billOfMaterialCategory, @Nonnull String billOfMaterialVariant, @Nonnull String billOfMaterialVersion) Deprecated.Creates a fluent helper for the GetMaintBOMItems OData function import.
- Parameters:
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
billOfMaterialVersion- BOM VersionConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: BillOfMaterialVersion
technicalObject- Technical ObjectConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: TechnicalObject
billOfMaterialVariant- Alternative BOMConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: BillOfMaterialVariant
billOfMaterialVariantUsage- BOM UsageConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialVariantUsage
- Returns:
- A fluent helper object that will execute the GetMaintBOMItems OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-