Interface MaterialSerialNumberService
- All Known Implementing Classes:
DefaultMaterialSerialNumberService
This service contains information about material serial numbers and partner functions. The information is sent in the request as a payload. All the information in the payload is used to create or update the material serial number and includes appropriate checks for restricted values and authorizations. Once the material serial number has been created, the material serial number is sent in the response along with the related data. If the input in the request is not as expected when you create or update a material serial number, the system displays appropriate error or warning messages in the response. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_API_MATERIALSERIALNUMBER_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Asset Management Master Data Integration(SAP_COM_0395) |
| Scope Items: | Service Order Management and Monitoring(3D2), Service Contract Management(3MO), In-House Repair(3XK), Reactive Maintenance(4HH), Proactive Maintenance(4HI), Improvement Maintenance(4VT), Operational and Overhead Maintenance(4WM), Corrective Maintenance(BH1), Emergency Maintenance(BH2), Preventive Maintenance(BJ2), Reactive Maintenance(OHH), Proactive Maintenance(OHI), PSM: Preventive Maintenance(OJ2), Improvement Maintenance(OVT), Operational and Overhead Maintenance(OWM), Service Order Processing with SAP Field Service Management(49X), Service Quotation(4GA) |
| Authentication Methods: | x509 |
| Service Group Name: | API_MATERIALSERIALNUMBER |
| Business Object: | Equipment |
-
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 TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theMaterialSerialNumberentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theMaterialSerialNumberPartnerentity collection matching the filter and search expressions.createMaterialSerialNumber(MaterialSerialNumber materialSerialNumber) Deprecated.Create a newMaterialSerialNumberentity and save it to the S/4HANA system.createMaterialSerialNumberPartner(MaterialSerialNumberPartner materialSerialNumberPartner) Deprecated.Create a newMaterialSerialNumberPartnerentity and save it to the S/4HANA system.Deprecated.Fetch multipleMaterialSerialNumberentities.Deprecated.Fetch multipleMaterialSerialNumberPartnerentities.getMaterialSerialNumberByKey(String material, String serialNumber) Deprecated.Fetch a singleMaterialSerialNumberentity using key fields.getMaterialSerialNumberPartnerByKey(String material, String serialNumber, String equipment, String partnerFunction, String equipmentPartnerObjectNmbr) Deprecated.Fetch a singleMaterialSerialNumberPartnerentity using key fields.updateMaterialSerialNumber(MaterialSerialNumber materialSerialNumber) Deprecated.Update an existingMaterialSerialNumberentity and save it to the S/4HANA system.updateMaterialSerialNumberPartner(MaterialSerialNumberPartner materialSerialNumberPartner) Deprecated.Update an existingMaterialSerialNumberPartnerentity 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.
-
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.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllMaterialSerialNumber
Deprecated.Fetch multipleMaterialSerialNumberentities.- Returns:
- A request builder to fetch multiple
MaterialSerialNumberentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countMaterialSerialNumber
Deprecated.Fetch the number of entries from theMaterialSerialNumberentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
MaterialSerialNumberentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getMaterialSerialNumberByKey
@Nonnull GetByKeyRequestBuilder<MaterialSerialNumber> getMaterialSerialNumberByKey(String material, String serialNumber) Deprecated.Fetch a singleMaterialSerialNumberentity using key fields.- Parameters:
serialNumber- Serial NumberConstraints: Not nullable, Maximum length: 18
material- Material NumberConstraints: Not nullable, Maximum length: 18
- Returns:
- A request builder to fetch a single
MaterialSerialNumberentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createMaterialSerialNumber
@Nonnull CreateRequestBuilder<MaterialSerialNumber> createMaterialSerialNumber(@Nonnull MaterialSerialNumber materialSerialNumber) Deprecated.Create a newMaterialSerialNumberentity and save it to the S/4HANA system.- Parameters:
materialSerialNumber-MaterialSerialNumberentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
MaterialSerialNumberentity. To perform execution, call theexecutemethod on the request builder object.
-
updateMaterialSerialNumber
@Nonnull UpdateRequestBuilder<MaterialSerialNumber> updateMaterialSerialNumber(@Nonnull MaterialSerialNumber materialSerialNumber) Deprecated.Update an existingMaterialSerialNumberentity and save it to the S/4HANA system.- Parameters:
materialSerialNumber-MaterialSerialNumberentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
MaterialSerialNumberentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllMaterialSerialNumberPartner
Deprecated.Fetch multipleMaterialSerialNumberPartnerentities.- Returns:
- A request builder to fetch multiple
MaterialSerialNumberPartnerentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countMaterialSerialNumberPartner
Deprecated.Fetch the number of entries from theMaterialSerialNumberPartnerentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
MaterialSerialNumberPartnerentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getMaterialSerialNumberPartnerByKey
@Nonnull GetByKeyRequestBuilder<MaterialSerialNumberPartner> getMaterialSerialNumberPartnerByKey(String material, String serialNumber, String equipment, String partnerFunction, String equipmentPartnerObjectNmbr) Deprecated.Fetch a singleMaterialSerialNumberPartnerentity using key fields.- Parameters:
partnerFunction- Partner FunctionConstraints: Not nullable, Maximum length: 2
equipmentPartnerObjectNmbr- Counter for differentiation 6-digitConstraints: Not nullable, Maximum length: 6
serialNumber- Serial NumberConstraints: Not nullable, Maximum length: 18
material- Material NumberConstraints: Not nullable, Maximum length: 18
equipment- Equipment NumberConstraints: Not nullable, Maximum length: 18
- Returns:
- A request builder to fetch a single
MaterialSerialNumberPartnerentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createMaterialSerialNumberPartner
@Nonnull CreateRequestBuilder<MaterialSerialNumberPartner> createMaterialSerialNumberPartner(@Nonnull MaterialSerialNumberPartner materialSerialNumberPartner) Deprecated.Create a newMaterialSerialNumberPartnerentity and save it to the S/4HANA system.- Parameters:
materialSerialNumberPartner-MaterialSerialNumberPartnerentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
MaterialSerialNumberPartnerentity. To perform execution, call theexecutemethod on the request builder object.
-
updateMaterialSerialNumberPartner
@Nonnull UpdateRequestBuilder<MaterialSerialNumberPartner> updateMaterialSerialNumberPartner(@Nonnull MaterialSerialNumberPartner materialSerialNumberPartner) Deprecated.Update an existingMaterialSerialNumberPartnerentity and save it to the S/4HANA system.- Parameters:
materialSerialNumberPartner-MaterialSerialNumberPartnerentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
MaterialSerialNumberPartnerentity. To perform execution, call theexecutemethod on the request builder object.
-