I_QltyProcmtCert

DDL: I_QLTYPROCMTCERT SQL: IQLTYPROCMTCERT Type: view BASIC Package: VDM_QM_CERTIFICATE

Certificate Receipts

I_QltyProcmtCert is a Basic CDS View that provides data about "Certificate Receipts" in SAP S/4HANA. It reads from 1 data source (qcpr) and exposes 42 fields with key field QualityProcurementCertificate. It has 16 associations to related views. Part of development package VDM_QM_CERTIFICATE.

Data Sources (1)

SourceAliasJoin Type
qcpr qcpr from

Associations (16)

CardinalityTargetAliasCondition
[0..1] I_PurchasingDocument _PurchasingDocument $projection.PurchaseOrder = _PurchasingDocument.PurchasingDocument
[0..1] I_PurchasingDocumentItem _PurchasingDocumentItem $projection.PurchaseOrder = _PurchasingDocumentItem.PurchasingDocument and $projection.PurchaseOrderItem = _PurchasingDocumentItem.PurchasingDocumentItem
[1..1] I_QltyProcmtCertStatus _QltyProcmtCertStatus $projection.QltyProcmtCertStatus = _QltyProcmtCertStatus.QltyProcmtCertStatus
[1..1] I_MaterialDocumentYear _MaterialDocumentYear $projection.MaterialDocumentYear = _MaterialDocumentYear.MaterialDocumentYear
[1..1] I_MaterialDocumentItem _MaterialDocumentItem $projection.MaterialDocumentItem = _MaterialDocumentItem.MaterialDocumentItem and $projection.MaterialDocument = _MaterialDocumentItem.MaterialDocument and $projection.MaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear
[1..1] I_MaterialDocumentHeader _MaterialDocument $projection.MaterialDocumentYear = _MaterialDocument.MaterialDocumentYear and $projection.MaterialDocument = _MaterialDocument.MaterialDocument
[1..1] I_QualityCertificateType _QualityCertificateType $projection.QualityCertificateType = _QualityCertificateType.QualityCertificateType
[0..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_UserContactCard _CreatedByUserContactCard $projection.QltyProcmtCertCrtedByUsr = _CreatedByUserContactCard.ContactCardID
[0..1] I_UserContactCard _ChangedByUserContactCard $projection.QltyProcmtCertChgdBy = _ChangedByUserContactCard.ContactCardID
[0..1] I_UserContactCard _QltyProcmtCertRcptEnteredBy $projection.QltyProcmtCertRcptEnteredBy = _QltyProcmtCertRcptEnteredBy.ContactCardID
[0..1] I_QltyCertDocAutomnIntactnLvl _AutomationInteractionLevel $projection.QltyCertDocAutomnIntactnLvl = _AutomationInteractionLevel.DomainValueLow
[0..*] I_QltyCertDocMatch _QltyCertDocMatch $projection.QualityProcurementCertificate = _QltyCertDocMatch.QualityProcurementCertificate
[0..1] I_QltyCertLatestDocMatch _QltyCertLatestDocMatch $projection.QualityProcurementCertificate = _QltyCertLatestDocMatch.QualityProcurementCertificate

Annotations (13)

NameValueLevelField
EndUserText.label Certificate Receipts view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IQLTYPROCMTCERT view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
ObjectModel.representativeKey QualityProcurementCertificate view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.sapObjectNodeType.name QltyProcurementCertificate view
Metadata.ignorePropagatedAnnotations true view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY QualityProcurementCertificate Certificate
QualityCertificateType zgtyp CertificateType
QltyProcmtCertStatus Workflow Status
PurchaseOrder Source PurchDoc
PurchaseOrderItem Item pur. doc.
MaterialDocumentYear Mat. Doc. Year
MaterialDocumentItem
MaterialDocument mblnr Material Doc.
Material matnr Vehicle Model
Supplier Vendor no.
Plant werks Receiving Plant
GoodsReceiptPostingDate Posting Date
QltyProcmtCertReceiptDate Receipt Date
BatchBySupplier lichn Supplier Batch
Batch charg Chargeable Proc.
DeliveryNote lfsnr Delivery note
QltyProcmtCertCrtedByUsr ersteller Created By
QltyProcmtCertCrtnDte ersteldat Created On
QltyProcmtCertCrtnTme erstelzeit Time
QltyProcmtCertCrtnTmeZn creationtzone Created On Time Zone
QltyProcmtCertChgdBy aenderer Changed By
QltyProcmtCertChgDte aenderdat Changed On
QltyProcmtCertChgTme aenderzeit Time
QltyProcmtCertRcptEnteredBy certrec Entered By
IsBusinessPurposeCompleted cvp_xblck Purpose Completed
QltyCertDocAutomnIntactnLvl dox_autom_interact_level
_QltyProcmtCertStatus _QltyProcmtCertStatus
_MaterialDocumentYear _MaterialDocumentYear
_MaterialDocumentItem _MaterialDocumentItem
_MaterialDocument _MaterialDocument
_Material _Material
_Supplier _Supplier
_Plant _Plant
_QualityCertificateType _QualityCertificateType
_PurchasingDocument _PurchasingDocument
_PurchasingDocumentItem _PurchasingDocumentItem
_CreatedByUserContactCard _CreatedByUserContactCard
_ChangedByUserContactCard _ChangedByUserContactCard
_QltyProcmtCertRcptEnteredBy _QltyProcmtCertRcptEnteredBy
_AutomationInteractionLevel _AutomationInteractionLevel
_QltyCertDocMatch _QltyCertDocMatch
_QltyCertLatestDocMatch _QltyCertLatestDocMatch

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_QltyProcmtCert.
-- 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: IQLTYPROCMTCERT

CREATE VIEW I_QltyProcmtCert AS
SELECT
  cast( certno as vdm_qccertno preserving type ) AS QualityProcurementCertificate,
  zgtyp AS QualityCertificateType,
  cast( status as vdm_qcstatus preserving type ) AS QltyProcmtCertStatus,
  cast( ebeln as fis_ebeln preserving type ) AS PurchaseOrder,
  cast( ebelp as vdm_ebelp preserving type ) AS PurchaseOrderItem,
  cast( mjahr as vdm_mjahr preserving type ) AS MaterialDocumentYear,
  cast( qcpr.zeile as vdm_mblpo preserving type ) AS MaterialDocumentItem,
  mblnr AS MaterialDocument,
  matnr AS Material,
  cast( lifnr as vdm_qelifn preserving type ) AS Supplier,
  werks AS Plant,
  cast( budat as vdm_qm_gr_budat preserving type ) AS GoodsReceiptPostingDate,
  cast( certdat as vdm_qcertdat preserving type ) AS QltyProcmtCertReceiptDate,
  lichn AS BatchBySupplier,
  charg AS Batch,
  lfsnr AS DeliveryNote,
  ersteller AS QltyProcmtCertCrtedByUsr,
  ersteldat AS QltyProcmtCertCrtnDte,
  erstelzeit AS QltyProcmtCertCrtnTme,
  creationtzone AS QltyProcmtCertCrtnTmeZn,
  aenderer AS QltyProcmtCertChgdBy,
  aenderdat AS QltyProcmtCertChgDte,
  aenderzeit AS QltyProcmtCertChgTme,
  certrec AS QltyProcmtCertRcptEnteredBy,
  cvp_xblck AS IsBusinessPurposeCompleted,
  dox_autom_interact_level AS QltyCertDocAutomnIntactnLvl
FROM qcpr
LEFT OUTER JOIN I_PurchasingDocument AS _PurchasingDocument ON PurchaseOrder = _PurchasingDocument.PurchasingDocument  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentItem AS _PurchasingDocumentItem ON PurchaseOrder = _PurchasingDocumentItem.PurchasingDocument AND PurchaseOrderItem = _PurchasingDocumentItem.PurchasingDocumentItem  -- association [0..1]
LEFT OUTER JOIN I_QltyProcmtCertStatus AS _QltyProcmtCertStatus ON QltyProcmtCertStatus = _QltyProcmtCertStatus.QltyProcmtCertStatus  -- association [1..1]
LEFT OUTER JOIN I_MaterialDocumentYear AS _MaterialDocumentYear ON MaterialDocumentYear = _MaterialDocumentYear.MaterialDocumentYear  -- association [1..1]
LEFT OUTER JOIN I_MaterialDocumentItem AS _MaterialDocumentItem ON MaterialDocumentItem = _MaterialDocumentItem.MaterialDocumentItem AND MaterialDocument = _MaterialDocumentItem.MaterialDocument AND MaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear  -- association [1..1]
LEFT OUTER JOIN I_MaterialDocumentHeader AS _MaterialDocument ON MaterialDocumentYear = _MaterialDocument.MaterialDocumentYear AND MaterialDocument = _MaterialDocument.MaterialDocument  -- association [1..1]
LEFT OUTER JOIN I_QualityCertificateType AS _QualityCertificateType ON QualityCertificateType = _QualityCertificateType.QualityCertificateType  -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUserContactCard ON QltyProcmtCertCrtedByUsr = _CreatedByUserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ChangedByUserContactCard ON QltyProcmtCertChgdBy = _ChangedByUserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _QltyProcmtCertRcptEnteredBy ON QltyProcmtCertRcptEnteredBy = _QltyProcmtCertRcptEnteredBy.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_QltyCertDocAutomnIntactnLvl AS _AutomationInteractionLevel ON QltyCertDocAutomnIntactnLvl = _AutomationInteractionLevel.DomainValueLow  -- association [0..1]
LEFT OUTER JOIN I_QltyCertDocMatch AS _QltyCertDocMatch ON QualityProcurementCertificate = _QltyCertDocMatch.QualityProcurementCertificate  -- association [0..*]
LEFT OUTER JOIN I_QltyCertLatestDocMatch AS _QltyCertLatestDocMatch ON QualityProcurementCertificate = _QltyCertLatestDocMatch.QualityProcurementCertificate  -- association [0..1]
;