Interface DefectService

All Known Implementing Classes:
DefaultDefectService

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

You can read the defect header and detailed description. You can create new instances or update existing instances of a defect..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: DEFECT_0001
API Version: 1.1.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
Service Group Name: API_DEFECT
Business Object: Defect
  • Field Details

  • Method Details

    • withServicePath

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

      @Nonnull GetAllRequestBuilder<Defect> getAllDefect()
      Deprecated.
      Fetch multiple Defect entities.
      Returns:
      A request builder to fetch multiple Defect 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.
    • countDefect

      @Nonnull CountRequestBuilder<Defect> countDefect()
      Deprecated.
      Fetch the number of entries from the Defect entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of Defect 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.
    • getDefectByKey

      @Nonnull GetByKeyRequestBuilder<Defect> getDefectByKey(String defectInternalID)
      Deprecated.
      Fetch a single Defect entity using key fields.
      Parameters:
      defectInternalID - Internal Defect ID

      Constraints: Not nullable, Maximum length: 12

      Returns:
      A request builder to fetch a single Defect 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.
    • createDefect

      @Nonnull CreateRequestBuilder<Defect> 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 request builder to create a new Defect entity. To perform execution, call the execute method on the request builder object.
    • updateDefect

      @Nonnull UpdateRequestBuilder<Defect> 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 request builder to update an existing Defect entity. To perform execution, call the execute method on the request builder object.
    • getAllDefectDetailedDescription

      @Nonnull GetAllRequestBuilder<DefectDetailedDescription> getAllDefectDetailedDescription()
      Deprecated.
      Fetch multiple DefectDetailedDescription entities.
      Returns:
      A request builder to fetch multiple DefectDetailedDescription 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.
    • countDefectDetailedDescription

      @Nonnull CountRequestBuilder<DefectDetailedDescription> countDefectDetailedDescription()
      Deprecated.
      Fetch the number of entries from the DefectDetailedDescription entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of DefectDetailedDescription 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.
    • getDefectDetailedDescriptionByKey

      @Nonnull GetByKeyRequestBuilder<DefectDetailedDescription> getDefectDetailedDescriptionByKey(String defectInternalID, Short longTextInternalNumber, String language)
      Deprecated.
      Fetch a single DefectDetailedDescription entity using key fields.
      Parameters:
      defectInternalID - Internal Defect ID

      Constraints: Not nullable, Maximum length: 12

      longTextInternalNumber - Long Text Counter

      Constraints: Not nullable

      language - Language Key

      Constraints: Not nullable, Maximum length: 2

      Returns:
      A request builder to fetch a single DefectDetailedDescription 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.
    • updateDefectDetailedDescription

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

      @Nonnull DeleteRequestBuilder<DefectDetailedDescription> deleteDefectDetailedDescription(@Nonnull DefectDetailedDescription defectDetailedDescription)
      Deprecated.
      Deletes an existing DefectDetailedDescription entity in the S/4HANA system.
      Parameters:
      defectDetailedDescription - DefectDetailedDescription entity object that will be deleted in the S/4HANA system.
      Returns:
      A request builder to delete an existing DefectDetailedDescription entity. To perform execution, call the execute method on the request builder object.