public interface DefectCategoryService extends BatchService<DefectCategoryServiceBatch>
This service is related to the business object Defect. The defect category determines which main reference objects in Quality Management a defect should have..
Reference: SAP API Business Hub
OData Service: | API_DEFECTCATEGORY_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. |
Modifier and Type | Method and Description |
---|---|
DefectCategoryFluentHelper |
getAllDefectCategory()
Fetch multiple
DefectCategory entities. |
DefectCategoryTextFluentHelper |
getAllDefectCategoryText()
Fetch multiple
DefectCategoryText entities. |
DefectCategoryByKeyFluentHelper |
getDefectCategoryByKey(String defectCategory)
Fetch a single
DefectCategory entity using key fields. |
DefectCategoryTextByKeyFluentHelper |
getDefectCategoryTextByKey(String defectCategory,
String language)
Fetch a single
DefectCategoryText entity using key fields. |
DefectCategoryService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull DefectCategoryService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull DefectCategoryFluentHelper getAllDefectCategory()
DefectCategory
entities.DefectCategory
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 DefectCategoryByKeyFluentHelper getDefectCategoryByKey(String defectCategory)
DefectCategory
entity using key fields.defectCategory
- Defect Category
Constraints: Not nullable, Maximum length: 2
DefectCategory
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 DefectCategoryTextFluentHelper getAllDefectCategoryText()
DefectCategoryText
entities.DefectCategoryText
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 DefectCategoryTextByKeyFluentHelper getDefectCategoryTextByKey(String defectCategory, String language)
DefectCategoryText
entity using key fields.defectCategory
- Defect Category
Constraints: Not nullable, Maximum length: 2
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
DefectCategoryText
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 © 2021 SAP SE. All rights reserved.