Interface MaterialSerialNumberService

All Known Implementing Classes:
DefaultMaterialSerialNumberService

@Deprecated public interface MaterialSerialNumberService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

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. .

Business Documentation

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 Details

  • Method Details

    • withServicePath

      @Nonnull MaterialSerialNumberService withServicePath(@Nonnull String servicePath)
      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

      @Nonnull BatchRequestBuilder batch()
      Deprecated.
      Creates a batch request builder object.
      Returns:
      A request builder to handle batch operation on this service. To perform execution, call the execute method on the request builder object.
    • getAllMaterialSerialNumber

      @Nonnull GetAllRequestBuilder<MaterialSerialNumber> getAllMaterialSerialNumber()
      Deprecated.
      Fetch multiple MaterialSerialNumber entities.
      Returns:
      A request builder to fetch multiple MaterialSerialNumber entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countMaterialSerialNumber

      @Nonnull CountRequestBuilder<MaterialSerialNumber> countMaterialSerialNumber()
      Deprecated.
      Fetch the number of entries from the MaterialSerialNumber entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of MaterialSerialNumber entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getMaterialSerialNumberByKey

      @Nonnull GetByKeyRequestBuilder<MaterialSerialNumber> getMaterialSerialNumberByKey(String material, String serialNumber)
      Deprecated.
      Fetch a single MaterialSerialNumber entity using key fields.
      Parameters:
      serialNumber - Serial Number

      Constraints: Not nullable, Maximum length: 18

      material - Material Number

      Constraints: Not nullable, Maximum length: 18

      Returns:
      A request builder to fetch a single MaterialSerialNumber entity 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 the execute method on the request builder object.
    • createMaterialSerialNumber

      @Nonnull CreateRequestBuilder<MaterialSerialNumber> createMaterialSerialNumber(@Nonnull MaterialSerialNumber materialSerialNumber)
      Deprecated.
      Create a new MaterialSerialNumber entity and save it to the S/4HANA system.
      Parameters:
      materialSerialNumber - MaterialSerialNumber entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new MaterialSerialNumber entity. To perform execution, call the execute method on the request builder object.
    • updateMaterialSerialNumber

      @Nonnull UpdateRequestBuilder<MaterialSerialNumber> updateMaterialSerialNumber(@Nonnull MaterialSerialNumber materialSerialNumber)
      Deprecated.
      Update an existing MaterialSerialNumber entity and save it to the S/4HANA system.
      Parameters:
      materialSerialNumber - MaterialSerialNumber entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing MaterialSerialNumber entity. To perform execution, call the execute method on the request builder object.
    • getAllMaterialSerialNumberPartner

      @Nonnull GetAllRequestBuilder<MaterialSerialNumberPartner> getAllMaterialSerialNumberPartner()
      Deprecated.
      Fetch multiple MaterialSerialNumberPartner entities.
      Returns:
      A request builder to fetch multiple MaterialSerialNumberPartner entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countMaterialSerialNumberPartner

      @Nonnull CountRequestBuilder<MaterialSerialNumberPartner> countMaterialSerialNumberPartner()
      Deprecated.
      Fetch the number of entries from the MaterialSerialNumberPartner entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of MaterialSerialNumberPartner entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getMaterialSerialNumberPartnerByKey

      @Nonnull GetByKeyRequestBuilder<MaterialSerialNumberPartner> getMaterialSerialNumberPartnerByKey(String material, String serialNumber, String equipment, String partnerFunction, String equipmentPartnerObjectNmbr)
      Deprecated.
      Fetch a single MaterialSerialNumberPartner entity using key fields.
      Parameters:
      partnerFunction - Partner Function

      Constraints: Not nullable, Maximum length: 2

      equipmentPartnerObjectNmbr - Counter for differentiation 6-digit

      Constraints: Not nullable, Maximum length: 6

      serialNumber - Serial Number

      Constraints: Not nullable, Maximum length: 18

      material - Material Number

      Constraints: Not nullable, Maximum length: 18

      equipment - Equipment Number

      Constraints: Not nullable, Maximum length: 18

      Returns:
      A request builder to fetch a single MaterialSerialNumberPartner entity 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 the execute method on the request builder object.
    • createMaterialSerialNumberPartner

      @Nonnull CreateRequestBuilder<MaterialSerialNumberPartner> createMaterialSerialNumberPartner(@Nonnull MaterialSerialNumberPartner materialSerialNumberPartner)
      Deprecated.
      Create a new MaterialSerialNumberPartner entity and save it to the S/4HANA system.
      Parameters:
      materialSerialNumberPartner - MaterialSerialNumberPartner entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new MaterialSerialNumberPartner entity. To perform execution, call the execute method on the request builder object.
    • updateMaterialSerialNumberPartner

      @Nonnull UpdateRequestBuilder<MaterialSerialNumberPartner> updateMaterialSerialNumberPartner(@Nonnull MaterialSerialNumberPartner materialSerialNumberPartner)
      Deprecated.
      Update an existing MaterialSerialNumberPartner entity and save it to the S/4HANA system.
      Parameters:
      materialSerialNumberPartner - MaterialSerialNumberPartner entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing MaterialSerialNumberPartner entity. To perform execution, call the execute method on the request builder object.