I_RetMatlInspResultCodeText

DDL: I_RETMATLINSPRESULTCODETEXT SQL: IRMMATINSPCODET Type: view BASIC

Return Material Inspection Code - Text

I_RetMatlInspResultCodeText is a Basic CDS View that provides data about "Return Material Inspection Code - Text" in SAP S/4HANA. It reads from 2 data sources (qpct, msr_c_inspcat) and exposes 5 fields with key fields RetMatlInspResultCode, Language. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
qpct InspCtlgCodeTxt from
msr_c_inspcat MatlInspCtlgAndCodeGrp inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_RetMatlInspResultCode _RetMatlInspResultCode $projection.RetMatlInspResultCode = _RetMatlInspResultCode.RetMatlInspResultCode
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IRMMATINSPCODET view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
EndUserText.label Return Material Inspection Code - Text view
Analytics.dataExtraction.enabled false view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey RetMatlInspResultCode view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY RetMatlInspResultCode qpct code Water Hazard Cl.
KEY Language qpct sprache Language
RetMatlInspResultCodeDesc
_RetMatlInspResultCode _RetMatlInspResultCode
_Language _Language

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_RetMatlInspResultCodeText.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IRMMATINSPCODET

CREATE VIEW I_RetMatlInspResultCodeText AS
SELECT
  InspCtlgCodeTxt.code AS RetMatlInspResultCode,
  InspCtlgCodeTxt.sprache AS Language,
  cast( InspCtlgCodeTxt.kurztext as vdm_qtxt_code preserving type ) AS RetMatlInspResultCodeDesc
FROM qpct AS InspCtlgCodeTxt
INNER JOIN msr_c_inspcat AS MatlInspCtlgAndCodeGrp ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_RetMatlInspResultCode AS _RetMatlInspResultCode ON RetMatlInspResultCode = _RetMatlInspResultCode.RetMatlInspResultCode  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;