C_QltyFirstArticleInsp

DDL: C_QLTYFIRSTARTICLEINSP SQL: CQLTYFAI Type: view CONSUMPTION Package: ODATA_QM_PLAN_LOGISTIC

First Article Inspection

C_QltyFirstArticleInsp is a Consumption CDS View that provides data about "First Article Inspection" in SAP S/4HANA. It reads from 1 data source (I_QltyFirstArticleInspTP) and exposes 15 fields with key fields Material, QltyInProcmtIntID, QltyInProcmt1stArticleInsp. It has 2 associations to related views. Part of development package ODATA_QM_PLAN_LOGISTIC.

Data Sources (1)

SourceAliasJoin Type
I_QltyFirstArticleInspTP I_QltyFirstArticleInspTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_QltyInProcurementManage _QltyInProcurementManage $projection.Material = _QltyInProcurementManage.Material and $projection.QltyInProcmtIntID = _QltyInProcurementManage.QltyInProcmtIntID
[1..1] I_InspLotUsgeDcsnValnTxt _InspLotUsgeDcsnText $projection.InspLotUsageDecisionValuation = _InspLotUsgeDcsnText.InspLotUsageDecisionValuation and _InspLotUsgeDcsnText.Language = $session.system_language

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CQLTYFAI view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label First Article Inspection view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY QltyInProcmtIntID QltyInProcmtIntID
KEY QltyInProcmt1stArticleInsp QltyInProcmt1stArticleInsp
PurchaseOrder PurchaseOrder Purchasing Document
PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
InspLotUsageDecisionValuation InspLotUsageDecisionValuation
InspLotUsgeDcsnValuationText _InspLotUsgeDcsnText InspLotUsgeDcsnValuationText
QltyInProcmtHas1stArticleInsp QltyInProcmtHas1stArticleInsp
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
ChangedDateTime ChangedDateTime Valuation Date
Supplier _QltyInProcurementManage Supplier Supplier
_QltyInProcurementManage _QltyInProcurementManage
_QualityInProcurement _QualityInProcurement

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 C_QltyFirstArticleInsp.
-- 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: CQLTYFAI

CREATE VIEW C_QltyFirstArticleInsp AS
SELECT
  Material,
  QltyInProcmtIntID,
  QltyInProcmt1stArticleInsp,
  PurchaseOrder,
  PurchaseOrderItem,
  InspLotUsageDecisionValuation,
  _InspLotUsgeDcsnText.InspLotUsgeDcsnValuationText AS InspLotUsgeDcsnValuationText,
  QltyInProcmtHas1stArticleInsp,
  CreatedByUser,
  CreationDate,
  LastChangedByUser,
  ChangedDateTime,
  _QltyInProcurementManage.Supplier AS Supplier
FROM I_QltyFirstArticleInspTP
LEFT OUTER JOIN C_QltyInProcurementManage AS _QltyInProcurementManage ON Material = _QltyInProcurementManage.Material AND QltyInProcmtIntID = _QltyInProcurementManage.QltyInProcmtIntID  -- association [1..1]
LEFT OUTER JOIN I_InspLotUsgeDcsnValnTxt AS _InspLotUsgeDcsnText ON InspLotUsageDecisionValuation = _InspLotUsgeDcsnText.InspLotUsageDecisionValuation AND _InspLotUsgeDcsnText.Language = $session.system_language  -- association [1..1]
;