I_QualityInProcurementTP

DDL: I_QUALITYINPROCUREMENTTP SQL: IQLTYINPROCMTTP Type: view TRANSACTIONAL Package: VDM_QM_PLANNING

Quality Info Record in Procurement

I_QualityInProcurementTP is a Transactional CDS View that provides data about "Quality Info Record in Procurement" in SAP S/4HANA. It reads from 1 data source (I_QualityInfoRecdInProcmt) and exposes 72 fields with key fields Material, QltyInProcmtIntID. It has 5 associations to related views. Part of development package VDM_QM_PLANNING.

Data Sources (1)

SourceAliasJoin Type
I_QualityInfoRecdInProcmt I_QualityInfoRecdInProcmt from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_QltyFirstArticleInspTP _QltyFirstArticleInspTP $projection.Material = _QltyFirstArticleInspTP.Material and $projection.QltyInProcmtIntID = _QltyFirstArticleInspTP.QltyInProcmtIntID
[0..*] I_DocForQltyInProcmt _Document $projection.LinkedSAPObjectKey = _Document.LinkedSAPObjectKey and _Document.DocumentInfoRecordDocType = 'Q01'
[0..*] I_QltyInProcurementLongTextTP _QltyInProcurementLongTextTP ( $projection.Material = _QltyInProcurementLongTextTP.Material and $projection.QltyInProcmtIntID = _QltyInProcurementLongTextTP.QltyInProcmtIntID )
[0..*] I_QltyInProcmtUserStatusTP _QualityInProcurementStatusTP ( $projection.Material = _QualityInProcurementStatusTP.Material and $projection.QltyInProcmtIntID = _QualityInProcurementStatusTP.QltyInProcmtIntID )
[1..1] E_QualityInProcurement _Extension $projection.Material = _Extension.Material and $projection.QltyInProcmtIntID = _Extension.QltyInProcmtIntID

Annotations (24)

NameValueLevelField
AbapCatalog.sqlViewName IQLTYINPROCMTTP view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Quality Info Record in Procurement view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.compositionRoot true view
ObjectModel.sapObjectNodeType.name PurchasingQualityInfoRecord view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.writeDraftPersistence QLTYINPROCMT_D view
ObjectModel.entityChangeStateId ChangedDateTime view
ObjectModel.lifecycle.enqueue.expiryBehavior #RELATIVE_TO_LAST_CHANGE view
ObjectModel.lifecycle.enqueue.expiryInterval PT15M view
ObjectModel.lifecycle.processing.expiryBehavior #RELATIVE_TO_LAST_CHANGE view
ObjectModel.lifecycle.processing.expiryInterval PT30M view

Fields (72)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY QltyInProcmtIntID QltyInProcmtIntID
HasNoQltyInfoRec HasNoQltyInfoRec
Plant Plant Valuation Area
ProductForEdit Material Vehicle Model
Supplier Supplier Supplier
MaterialRevisionLevel MaterialRevisionLevel Revision Level
QltyInProcmtReleaseValidTo QltyInProcmtReleaseValidTo
BaseUnit BaseUnit Unit of Measure
ReleasedQuantity ReleasedQuantity
OrderedQuantity OrderedQuantity Quantity
QltyInProcmtResetOnDate QltyInProcmtResetOnDate
BlockReason BlockReason Lock Reason
ProcurementBlock ProcurementBlock
QualityManagementSystem QualityManagementSystem
QltyInProcmtCertfnValidTo QltyInProcmtCertfnValidTo
SupplierProcurementBlock SupplierProcurementBlock Block Function
SuplrQualityManagementSystem SuplrQualityManagementSystem Target QM Sys.
SuplrQltyInProcmtCertfnValidTo SuplrQltyInProcmtCertfnValidTo QM System To
QltyInProcmtRelQtyIsActive QltyInProcmtRelQtyIsActive
QltyInProcmtInspControl QltyInProcmtInspControl
InspectionLotType InspectionLotType Inspection Type
QltyInProcmtHasLongText QltyInProcmtHasLongText
QltyInProcmtNoFurtherInsp QltyInProcmtNoFurtherInsp
QltyInProcmtLotCrtnLeadTime QltyInProcmtLotCrtnLeadTime
IsDeleted IsDeleted TRUE
QltyInProcmtCertificateCtrl QltyInProcmtCertificateCtrl
QltyInProcmtHasAssuranceAgrmt QltyInProcmtHasAssuranceAgrmt
QltyInProcmtCurInspLot QltyInProcmtCurInspLot
QltyInProcmtNextInspLot QltyInProcmtNextInspLot
StatusProfile StatusProfile Status Profile
ControllingObject ControllingObject Object number
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
ChangedDateTime ChangedDateTime Time Stamp
Language Language Report Text Language
LinkedSAPObjectKey LinkedSAPObjectKey SAP Object Key
DocumentInfoRecordDocType DocumentInfoRecordDocType Document Type
MaterialHasQualityInfoRecord MaterialHasQualityInfoRecord
ProdnPieceApprovalIsRequired ProdnPieceApprovalIsRequired
ProductionPieceApproval ProductionPieceApproval
ProductionPieceApprovalLevel ProductionPieceApprovalLevel
ProductionPieceApprovalStatus ProductionPieceApprovalStatus
_QltyFirstArticleInspTP _QltyFirstArticleInspTP
_QltyInProcurementLongTextTP _QltyInProcurementLongTextTP
_QualityInProcurementStatusTP _QualityInProcurementStatusTP
_Material _Material
_MaterialText _MaterialText
_ProductPlantQtManagement _ProductPlantQtManagement
_Plant _Plant
_Supplier _Supplier
_UnitOfMeasure _UnitOfMeasure
_ProcurementBlock _ProcurementBlock
_ProcurementBlockText _ProcurementBlockText
_SupProcurementBlockText _SupProcurementBlockText
_QualityManagementSystem _QualityManagementSystem
_QltyMgmtSystemText _QltyMgmtSystemText
_SupQltyMgmtSystemText _SupQltyMgmtSystemText
_ControllingObject _ControllingObject
_QltyInProcmtInspControlText _QltyInProcmtInspControlText
_QltyInProcmtCertCtrlText _QltyInProcmtCertCtrlText
_InspectionLotType _InspectionLotType
_InspectionLotTypeText _InspectionLotTypeText
_QltyInProcmtCurInspLot _QltyInProcmtCurInspLot
_QltyInProcmtNextInspLot _QltyInProcmtNextInspLot
_StatusProfile _StatusProfile
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_Language _Language
_Document _Document

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_QualityInProcurementTP.
-- 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: IQLTYINPROCMTTP

CREATE VIEW I_QualityInProcurementTP AS
SELECT
  Material,
  QltyInProcmtIntID,
  HasNoQltyInfoRec,
  Plant,
  Material AS ProductForEdit,
  Supplier,
  MaterialRevisionLevel,
  QltyInProcmtReleaseValidTo,
  BaseUnit,
  ReleasedQuantity,
  OrderedQuantity,
  QltyInProcmtResetOnDate,
  BlockReason,
  ProcurementBlock,
  QualityManagementSystem,
  QltyInProcmtCertfnValidTo,
  SupplierProcurementBlock,
  SuplrQualityManagementSystem,
  SuplrQltyInProcmtCertfnValidTo,
  QltyInProcmtRelQtyIsActive,
  QltyInProcmtInspControl,
  InspectionLotType,
  QltyInProcmtHasLongText,
  QltyInProcmtNoFurtherInsp,
  QltyInProcmtLotCrtnLeadTime,
  IsDeleted,
  QltyInProcmtCertificateCtrl,
  QltyInProcmtHasAssuranceAgrmt,
  QltyInProcmtCurInspLot,
  QltyInProcmtNextInspLot,
  StatusProfile,
  ControllingObject,
  CreatedByUser,
  CreationDate,
  LastChangedByUser,
  LastChangeDate,
  ChangedDateTime,
  Language,
  LinkedSAPObjectKey,
  DocumentInfoRecordDocType,
  MaterialHasQualityInfoRecord,
  ProdnPieceApprovalIsRequired,
  ProductionPieceApproval,
  ProductionPieceApprovalLevel,
  ProductionPieceApprovalStatus
FROM I_QualityInfoRecdInProcmt
LEFT OUTER JOIN I_QltyFirstArticleInspTP AS _QltyFirstArticleInspTP ON Material = _QltyFirstArticleInspTP.Material AND QltyInProcmtIntID = _QltyFirstArticleInspTP.QltyInProcmtIntID  -- association [0..*]
LEFT OUTER JOIN I_DocForQltyInProcmt AS _Document ON LinkedSAPObjectKey = _Document.LinkedSAPObjectKey AND _Document.DocumentInfoRecordDocType = 'Q01'  -- association [0..*]
LEFT OUTER JOIN I_QltyInProcurementLongTextTP AS _QltyInProcurementLongTextTP ON ( Material = _QltyInProcurementLongTextTP.Material AND QltyInProcmtIntID = _QltyInProcurementLongTextTP.QltyInProcmtIntID )  -- association [0..*]
LEFT OUTER JOIN I_QltyInProcmtUserStatusTP AS _QualityInProcurementStatusTP ON ( Material = _QualityInProcurementStatusTP.Material AND QltyInProcmtIntID = _QualityInProcurementStatusTP.QltyInProcmtIntID )  -- association [0..*]
LEFT OUTER JOIN E_QualityInProcurement AS _Extension ON Material = _Extension.Material AND QltyInProcmtIntID = _Extension.QltyInProcmtIntID  -- association [1..1]
;