@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDefectCodeAndCodeGroupService") public class DefaultDefectCodeAndCodeGroupService extends Object implements DefectCodeAndCodeGroupService
This service enables you to read defect codes and code groups and their language-dependent texts 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_DEFECTCODE_SRV |
API Version: | 1 |
Communication Scenario: | Defect Processing Integration (SAP_COM_0153) |
Scope Items: | Quality Management in Stock Handling (1MR) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultDefectCodeAndCodeGroupService()
Creates a service using
DefectCodeAndCodeGroupService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultDefectCodeAndCodeGroupService()
DefectCodeAndCodeGroupService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultDefectCodeAndCodeGroupService withServicePath(@Nonnull String servicePath)
DefectCodeAndCodeGroupService
withServicePath
in interface DefectCodeAndCodeGroupService
servicePath
- Service path that will override the default.@Nonnull public DefectCodeFluentHelper getAllDefectCode()
DefectCodeAndCodeGroupService
DefectCode
entities.getAllDefectCode
in interface DefectCodeAndCodeGroupService
DefectCode
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.@Nonnull public DefectCodeByKeyFluentHelper getDefectCodeByKey(String defectCodeGroup, String defectCode)
DefectCodeAndCodeGroupService
DefectCode
entity using key fields.getDefectCodeByKey
in interface DefectCodeAndCodeGroupService
defectCodeGroup
- Defect Code GroupConstraints: Not nullable, Maximum length: 8
defectCode
- Defect CodeConstraints: Not nullable, Maximum length: 4
DefectCode
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.@Nonnull public DefectCodeGroupFluentHelper getAllDefectCodeGroup()
DefectCodeAndCodeGroupService
DefectCodeGroup
entities.getAllDefectCodeGroup
in interface DefectCodeAndCodeGroupService
DefectCodeGroup
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.@Nonnull public DefectCodeGroupByKeyFluentHelper getDefectCodeGroupByKey(String defectCodeGroup)
DefectCodeAndCodeGroupService
DefectCodeGroup
entity using key fields.getDefectCodeGroupByKey
in interface DefectCodeAndCodeGroupService
defectCodeGroup
- Defect Code GroupConstraints: Not nullable, Maximum length: 8
DefectCodeGroup
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.@Nonnull public DefectCodeGroupTextFluentHelper getAllDefectCodeGroupText()
DefectCodeAndCodeGroupService
DefectCodeGroupText
entities.getAllDefectCodeGroupText
in interface DefectCodeAndCodeGroupService
DefectCodeGroupText
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.@Nonnull public DefectCodeGroupTextByKeyFluentHelper getDefectCodeGroupTextByKey(String defectCodeGroup, String language)
DefectCodeAndCodeGroupService
DefectCodeGroupText
entity using key fields.getDefectCodeGroupTextByKey
in interface DefectCodeAndCodeGroupService
defectCodeGroup
- Defect Code GroupConstraints: Not nullable, Maximum length: 8
language
- Language KeyConstraints: Not nullable, Maximum length: 2
DefectCodeGroupText
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.@Nonnull public DefectCodeTextFluentHelper getAllDefectCodeText()
DefectCodeAndCodeGroupService
DefectCodeText
entities.getAllDefectCodeText
in interface DefectCodeAndCodeGroupService
DefectCodeText
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.@Nonnull public DefectCodeTextByKeyFluentHelper getDefectCodeTextByKey(String defectCodeGroup, String defectCode, String language)
DefectCodeAndCodeGroupService
DefectCodeText
entity using key fields.getDefectCodeTextByKey
in interface DefectCodeAndCodeGroupService
defectCodeGroup
- Defect Code GroupConstraints: Not nullable, Maximum length: 8
defectCode
- Defect CodeConstraints: Not nullable, Maximum length: 4
language
- Language KeyConstraints: Not nullable, Maximum length: 2
DefectCodeText
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.Copyright © 2018 SAP SE. All rights reserved.