Interface DefectProcessingService

All Superinterfaces:
BatchService<DefectProcessingServiceBatch>
All Known Implementing Classes:
DefaultDefectProcessingService

@Deprecated public interface DefectProcessingService extends BatchService<DefectProcessingServiceBatch>
Deprecated.
The service and all its related classes are deprecated. Please use the successor API instead.

A defect is a deviation due to which a quality requirement cannot be fulfilled. This service enables you to record or process defects of different defect categories. Depending on the defect category different properties are mandatory for creating the defect. .

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_DEFECT_SRV
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Quality Notification and Defect Processing Integration(SAP_COM_0153)
Scope Items: Quality Management in Discrete Manufacturing(1E1), Quality Management in Procurement(1FM), Quality Management in Sales(1MP), Quality Management in Stock Handling(1MR), Nonconformance Management(2QN)
Authentication Methods: x509
Business Object: Defect
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull DefectProcessingService 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.
    • getAllDefect

      @Nonnull DefectFluentHelper getAllDefect()
      Deprecated.
      Fetch multiple Defect entities.
      Returns:
      A fluent helper to fetch multiple Defect entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • getDefectByKey

      @Nonnull DefectByKeyFluentHelper getDefectByKey(String defectInternalID)
      Deprecated.
      Fetch a single Defect entity using key fields.
      Parameters:
      defectInternalID - Notification Number

      Constraints: Not nullable, Maximum length: 12

      Returns:
      A fluent helper to fetch a single Defect entity 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 the execute method on the fluent helper object.
    • createDefect

      @Nonnull DefectCreateFluentHelper createDefect(@Nonnull Defect defect)
      Deprecated.
      Create a new Defect entity and save it to the S/4HANA system.
      Parameters:
      defect - Defect entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new Defect entity. To perform execution, call the execute method on the fluent helper object.
    • updateDefect

      @Nonnull DefectUpdateFluentHelper updateDefect(@Nonnull Defect defect)
      Deprecated.
      Update an existing Defect entity and save it to the S/4HANA system.
      Parameters:
      defect - Defect entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing Defect entity. To perform execution, call the execute method on the fluent helper object.
    • deleteDefect

      @Nonnull DefectDeleteFluentHelper deleteDefect(@Nonnull Defect defect)
      Deprecated.
      Deletes an existing Defect entity in the S/4HANA system.
      Parameters:
      defect - Defect entity object that will be deleted in the S/4HANA system.
      Returns:
      A fluent helper to delete an existing Defect entity. To perform execution, call the execute method on the fluent helper object.