public interface DefectCodeAndCodeGroupService extends BatchService<DefectCodeAndCodeGroupServiceBatch>
This service enables you to read defect codes and code groups and their language-dependent texts from the SAP S/4HANA Cloud system. The combination of defect code group and code uniquely identifies the type of the defect in quality management in a coded format.
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 Discrete Manufacturing (1E1), Quality Management in Procurement (1FM), Quality Management in Sales (1MP), Quality Management in Stock Handling (1MR), Nonconformance Management (2QN) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | Defect |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull DefectCodeAndCodeGroupService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull DefectCodeFluentHelper getAllDefectCode()
DefectCode
entities.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 DefectCodeByKeyFluentHelper getDefectCodeByKey(String defectCodeGroup, String defectCode)
DefectCode
entity using key fields.defectCode
- Defect Code
Constraints: Not nullable, Maximum length: 4
defectCodeGroup
- Defect Code Group
Constraints: Not nullable, Maximum length: 8
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 DefectCodeGroupFluentHelper getAllDefectCodeGroup()
DefectCodeGroup
entities.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 DefectCodeGroupByKeyFluentHelper getDefectCodeGroupByKey(String defectCodeGroup)
DefectCodeGroup
entity using key fields.defectCodeGroup
- Defect Code Group
Constraints: 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 DefectCodeGroupTextFluentHelper getAllDefectCodeGroupText()
DefectCodeGroupText
entities.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 DefectCodeGroupTextByKeyFluentHelper getDefectCodeGroupTextByKey(String defectCodeGroup, String language)
DefectCodeGroupText
entity using key fields.defectCodeGroup
- Defect Code Group
Constraints: Not nullable, Maximum length: 8
language
- The language key indicates
Constraints: 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 DefectCodeTextFluentHelper getAllDefectCodeText()
DefectCodeText
entities.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 DefectCodeTextByKeyFluentHelper getDefectCodeTextByKey(String defectCodeGroup, String defectCode, String language)
DefectCodeText
entity using key fields.defectCode
- Defect Code
Constraints: Not nullable, Maximum length: 4
defectCodeGroup
- Defect Code Group
Constraints: Not nullable, Maximum length: 8
language
- The language key indicates
Constraints: 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 © 2019 SAP SE. All rights reserved.