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. .
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 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 TypeMethodDescriptioncreateDefect(Defect defect) Deprecated.Create a newDefectentity and save it to the S/4HANA system.deleteDefect(Defect defect) Deprecated.Deletes an existingDefectentity in the S/4HANA system.Deprecated.Fetch multipleDefectentities.getDefectByKey(String defectInternalID) Deprecated.Fetch a singleDefectentity using key fields.updateDefect(Defect defect) Deprecated.Update an existingDefectentity 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.
-
getAllDefect
Deprecated.Fetch multipleDefectentities.- Returns:
- A fluent helper to fetch multiple
Defectentities. 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.
-
getDefectByKey
Deprecated.Fetch a singleDefectentity using key fields.- Parameters:
defectInternalID- Notification NumberConstraints: Not nullable, Maximum length: 12
- Returns:
- A fluent helper to fetch a single
Defectentity 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.
-
createDefect
Deprecated.Create a newDefectentity and save it to the S/4HANA system. -
updateDefect
Deprecated.Update an existingDefectentity and save it to the S/4HANA system. -
deleteDefect
Deprecated.Deletes an existingDefectentity in the S/4HANA system.
-