@Named public class DefaultDefectProcessingService extends Object implements DefectProcessingService
This service enables you to create, read, update and delete defects from the SAP S/4HANA Cloud system. It is part of the integration scenario Defect Processing Integration.
Reference: SAP API Business Hub
OData Service: | API_DEFECT_SRV |
API Version: | 1 |
Communication Scenario: | Defect Processing Integration (SAP_COM_0153) |
Scope Items: | Quality Management in Stock Handling (1MR) |
Constructor and Description |
---|
DefaultDefectProcessingService() |
Modifier and Type | Method and Description |
---|---|
DefectCreateFluentHelper |
createDefect(Defect defect)
Create a new
Defect entity and save it to the S/4HANA system. |
DefectDeleteFluentHelper |
deleteDefect(Defect defect)
Deletes an existing
Defect entity in the S/4HANA system. |
DefectFluentHelper |
getAllDefect()
Fetch multiple
Defect entities. |
DefectByKeyFluentHelper |
getDefectByKey(String defectInternalID)
Fetch a single
Defect entity using key fields. |
DefectUpdateFluentHelper |
updateDefect(Defect defect)
Update an existing
Defect entity and save it to the S/4HANA system. |
public DefectFluentHelper getAllDefect()
DefectProcessingService
Defect
entities.getAllDefect
in interface DefectProcessingService
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.public DefectByKeyFluentHelper getDefectByKey(String defectInternalID)
DefectProcessingService
Defect
entity using key fields.getDefectByKey
in interface DefectProcessingService
defectInternalID
- Notification NoConstraints: Not nullable, Maximum length: 12
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.public DefectCreateFluentHelper createDefect(Defect defect)
DefectProcessingService
Defect
entity and save it to the S/4HANA system.createDefect
in interface DefectProcessingService
defect
- Defect
entity object that will be created in the S/4HANA system.Defect
entity. To perform execution, call the execute
method on the fluent helper object.public DefectUpdateFluentHelper updateDefect(Defect defect)
DefectProcessingService
Defect
entity and save it to the S/4HANA system.updateDefect
in interface DefectProcessingService
defect
- Defect
entity object that will be updated in the S/4HANA system.Defect
entity. To perform execution, call the execute
method on the fluent helper object.public DefectDeleteFluentHelper deleteDefect(Defect defect)
DefectProcessingService
Defect
entity in the S/4HANA system.deleteDefect
in interface DefectProcessingService
defect
- Defect
entity object that will be deleted in the S/4HANA system.Defect
entity. To perform execution, call the execute
method on the fluent helper object.Copyright © 2017 SAP SE. All rights reserved.