I_RetMatlInspResultCode
Return Material Inspection Result Code
I_RetMatlInspResultCode is a Basic CDS View that provides data about "Return Material Inspection Result Code" in SAP S/4HANA. It reads from 2 data sources (qpcd, msr_c_inspcat) and exposes 2 fields with key field RetMatlInspResultCode. It has 1 association to related views. It is exposed through 1 OData service (UI_CUSTOMERRETURNMANAGE). Part of development package VDM_ARM_BASICS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| qpcd | InspCtlgCode | from |
| msr_c_inspcat | MatlInspCtlgAndCodeGrp | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_RetMatlInspResultCodeText | _Text | $projection.RetMatlInspResultCode = _Text.RetMatlInspResultCode |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | IRMMATINSPCODE | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #FULL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Return Material Inspection Result Code | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | RetMatlInspResultCode | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_CUSTOMERRETURNMANAGE | UI_CUSTOMERRETURNMANAGE | V4 | C1 | NOT_RELEASED |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RetMatlInspResultCode | qpcd | code | |
| _Text | _Text |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'IRMMATINSPCODE'
@AbapCatalog.buffering.status: #ACTIVE
@AbapCatalog.buffering.type: #FULL
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Return Material Inspection Result Code'
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'RetMatlInspResultCode'
@ObjectModel.supportedCapabilities:
[ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #S
define view I_RetMatlInspResultCode
//I_InspectionCode
as select from qpcd as InspCtlgCode
inner join msr_c_inspcat as MatlInspCtlgAndCodeGrp on InspCtlgCode.katalogart = MatlInspCtlgAndCodeGrp.def_cat
and InspCtlgCode.codegruppe = MatlInspCtlgAndCodeGrp.def_code_grp
association [1..*] to I_RetMatlInspResultCodeText as _Text on $projection.RetMatlInspResultCode = _Text.RetMatlInspResultCode
{
//Key
@ObjectModel.text.association: '_Text'
key InspCtlgCode.code as RetMatlInspResultCode,
//Associations
_Text
}
where
InspCtlgCode.inaktiv = '' //Status of Inspection Code Group: initial is active
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA