I_ReturnsInspectionCodeText
Returns Inspection Code - Text
I_ReturnsInspectionCodeText is a Basic CDS View that provides data about "Returns Inspection Code - Text" in SAP S/4HANA. It reads from 2 data sources (qpct, msr_c_inspcat) and exposes 4 fields with key fields ReturnsInspectionCode, Language.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| qpct | InspCtlgCodeTxt | from |
| msr_c_inspcat | ProdInspCtlgAndCodeGrp | inner |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Returns Inspection Code - Text | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | ReturnsInspectionCode | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view |
@AbapCatalog.viewEnhancementCategory : [ #NONE]
@AccessControl.authorizationCheck : #NOT_REQUIRED
@EndUserText.label : 'Returns Inspection Code - Text'
@Metadata.ignorePropagatedAnnotations : true
@ObjectModel.dataCategory : #TEXT
@ObjectModel.representativeKey : 'ReturnsInspectionCode'
@ObjectModel.usageType : {
serviceQuality : #A,
sizeCategory : #S,
dataClass : #MIXED
}
@ObjectModel.modelingPattern : #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities : [
#LANGUAGE_DEPENDENT_TEXT,
#SQL_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#CDS_MODELING_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE
]
@Analytics.dataExtraction.enabled: true
@VDM.viewType : #BASIC
@VDM.lifecycle.contract.type : #PUBLIC_LOCAL_API
define view entity I_ReturnsInspectionCodeText as
select from qpct as InspCtlgCodeTxt
inner join msr_c_inspcat as ProdInspCtlgAndCodeGrp on InspCtlgCodeTxt.katalogart = ProdInspCtlgAndCodeGrp.def_cat
and InspCtlgCodeTxt.codegruppe = ProdInspCtlgAndCodeGrp.def_code_grp
association[0..1] to I_ReturnsInspectionCode as _ReturnsInspectionCode on $projection.ReturnsInspectionCode = _ReturnsInspectionCode.ReturnsInspectionCode
association[0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
//Key
@ObjectModel.foreignKey.association : '_ReturnsInspectionCode'
key InspCtlgCodeTxt.code as ReturnsInspectionCode,
@Semantics.language : true
@ObjectModel.foreignKey.association : '_Language'
key InspCtlgCodeTxt.sprache as Language,
//Description
@Semantics.text : true
cast(InspCtlgCodeTxt.kurztext as vdm_qtxt_code preserving
type) as ReturnsInspectionCodeDesc,
//Associations
_ReturnsInspectionCode,
_Language
}
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