Interface DefectService
- All Known Implementing Classes:
DefaultDefectService
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..
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 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 theDefectentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theDefectDetailedDescriptionentity collection matching the filter and search expressions.createDefect(Defect defect) Deprecated.Create a newDefectentity and save it to the S/4HANA system.deleteDefectDetailedDescription(DefectDetailedDescription defectDetailedDescription) Deprecated.Deletes an existingDefectDetailedDescriptionentity in the S/4HANA system.Deprecated.Fetch multipleDefectentities.Deprecated.Fetch multipleDefectDetailedDescriptionentities.getDefectByKey(String defectInternalID) Deprecated.Fetch a singleDefectentity using key fields.getDefectDetailedDescriptionByKey(String defectInternalID, Short longTextInternalNumber, String language) Deprecated.Fetch a singleDefectDetailedDescriptionentity using key fields.updateDefect(Defect defect) Deprecated.Update an existingDefectentity and save it to the S/4HANA system.updateDefectDetailedDescription(DefectDetailedDescription defectDetailedDescription) Deprecated.Update an existingDefectDetailedDescriptionentity 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.
-
getAllDefect
Deprecated.Fetch multipleDefectentities. -
countDefect
Deprecated.Fetch the number of entries from theDefectentity collection matching the filter and search expressions. -
getDefectByKey
Deprecated.Fetch a singleDefectentity using key fields.- Parameters:
defectInternalID- Internal Defect IDConstraints: Not nullable, Maximum length: 12
- Returns:
- A request builder to fetch a single
Defectentity 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.
-
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. -
getAllDefectDetailedDescription
Deprecated.Fetch multipleDefectDetailedDescriptionentities.- Returns:
- A request builder to fetch multiple
DefectDetailedDescriptionentities. 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.
-
countDefectDetailedDescription
Deprecated.Fetch the number of entries from theDefectDetailedDescriptionentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
DefectDetailedDescriptionentities. 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.
-
getDefectDetailedDescriptionByKey
@Nonnull GetByKeyRequestBuilder<DefectDetailedDescription> getDefectDetailedDescriptionByKey(String defectInternalID, Short longTextInternalNumber, String language) Deprecated.Fetch a singleDefectDetailedDescriptionentity using key fields.- Parameters:
defectInternalID- Internal Defect IDConstraints: Not nullable, Maximum length: 12
longTextInternalNumber- Long Text CounterConstraints: Not nullable
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
DefectDetailedDescriptionentity 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.
-
updateDefectDetailedDescription
@Nonnull UpdateRequestBuilder<DefectDetailedDescription> updateDefectDetailedDescription(@Nonnull DefectDetailedDescription defectDetailedDescription) Deprecated.Update an existingDefectDetailedDescriptionentity and save it to the S/4HANA system.- Parameters:
defectDetailedDescription-DefectDetailedDescriptionentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
DefectDetailedDescriptionentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteDefectDetailedDescription
@Nonnull DeleteRequestBuilder<DefectDetailedDescription> deleteDefectDetailedDescription(@Nonnull DefectDetailedDescription defectDetailedDescription) Deprecated.Deletes an existingDefectDetailedDescriptionentity in the S/4HANA system.- Parameters:
defectDetailedDescription-DefectDetailedDescriptionentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
DefectDetailedDescriptionentity. To perform execution, call theexecutemethod on the request builder object.
-