C_QltyInProcurementManage

DDL: C_QLTYINPROCUREMENTMANAGE SQL: CQLTYINPROCMNG Type: view CONSUMPTION

Manage Quality Info Record in Procmt

C_QltyInProcurementManage is a Consumption CDS View that provides data about "Manage Quality Info Record in Procmt" in SAP S/4HANA. It reads from 1 data source (I_QualityInProcurementTP) and exposes 65 fields with key fields Material, QltyInProcmtIntID. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_QualityInProcurementTP _QltyInProcurementManage from

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_UserContactCard _CreatedByUserContactCard $projection.CreatedByUser = _CreatedByUserContactCard.ContactCardID
[0..1] I_UserContactCard _LastChangedByUserContactCard $projection.LastChangedByUser = _LastChangedByUserContactCard.ContactCardID
[0..1] C_QltyInProcmtManageCalc _QltyInProcmtManageCalc $projection.Material = _QltyInProcmtManageCalc.Material and $projection.QltyInProcmtIntID = _QltyInProcmtManageCalc.QltyInProcmtIntID and $projection.Plant = _QltyInProcmtManageCalc.Plant
[0..*] C_QltyFirstArticleInsp _QltyFirstArticleInspTP $projection.Material = _QltyFirstArticleInspTP.Material and $projection.QltyInProcmtIntID = _QltyFirstArticleInspTP.QltyInProcmtIntID
[1..1] I_ProdnPieceApprvlStsTxt _ProdAppStsTxt $projection.ProductionPieceApprovalStatus = _ProdAppStsTxt.ProductionPieceApprovalStatus and _ProdAppStsTxt.Language = $session.system_language
[1..1] I_ProdnPieceApprvlLvlTxt _ProdnPieceApprvlLvlTxt $projection.ProductionPieceApprovalLevel = _ProdnPieceApprvlLvlTxt.ProductionPieceApprovalLevel and _ProdnPieceApprvlLvlTxt.Language = $session.system_language
[0..1] C_QltyInProcurementLongText _QltyInProcurementLongTextTP $projection.Material = _QltyInProcurementLongTextTP.Material and $projection.QltyInProcmtIntID = _QltyInProcurementLongTextTP.QltyInProcmtIntID and _QltyInProcurementLongTextTP.Language = $session.system_language and _QltyInProcurementLongTextTP.ItemCounter = 1

Annotations (20)

NameValueLevelField
AbapCatalog.sqlViewName CQLTYINPROCMNG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Manage Quality Info Record in Procmt view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.representativeKey QltyInProcmtIntID view

Fields (65)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY QltyInProcmtIntID QltyInProcmtIntID
Plant Plant Valuation Area
ProductForEdit ProductForEdit Product
MaterialRevisionLevel MaterialRevisionLevel Revision Level
Supplier Supplier Supplier
QltyInProcmtReleaseValidTo QltyInProcmtReleaseValidTo
QualityMgmtCtrlKeyText _QltyInProcmtManageCalc QualityMgmtCtrlKeyText
ReleasedQuantity ReleasedQuantity
OrderedQuantity OrderedQuantity Quantity
BaseUnit BaseUnit Unit of Measure
QltyInProcmtResetOnDate QltyInProcmtResetOnDate
SupplierProcurementBlock Block Function
ProcurementBlock ProcurementBlock
BlockReason BlockReason Lock Reason
IsDeleted TRUE
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
HasNoQltyInfoRec HasNoQltyInfoRec
MaterialHasQualityInfoRecord MaterialHasQualityInfoRecord
QualityInfoRecordCriticality _QltyInProcmtManageCalc QualityInfoRecordCriticality
PlantName
MaterialName
SupplierName
ProcurementBlockText
SupplierProcmtBlockText
QltyInfoRecdBlkSts _QltyInProcmtManageCalc QltyInfoRecdBlkSts
QltyInProcmtRelQtyIsActive QltyInProcmtRelQtyIsActive
QualityMgmtCtrlKey _QltyInProcmtManageCalc QualityMgmtCtrlKey QM Control Key
PurchaseInfoRecordIsCreated
QltyInProcmtInspControl QltyInProcmtInspControl
ProdnPieceApprovalIsRequired ProdnPieceApprovalIsRequired
ProductionPieceApproval ProductionPieceApproval
ProductionPieceApprovalLevel ProductionPieceApprovalLevel
ProdnPieceApprovalLevelText _ProdnPieceApprvlLvlTxt ProdnPieceApprovalLevelText
ProductionPieceApprovalStatus ProductionPieceApprovalStatus
ProdnPieceApprovalStatusText _ProdAppStsTxt ProdnPieceApprovalStatusText
Language Language Report Text Language
CollaborationRoomURL
IsCloudSystem
DgtlMfgIntegIsActive
QualityManagementSystem QualityManagementSystem
QltyInProcmtCertfnValidTo QltyInProcmtCertfnValidTo
SuplrQualityManagementSystem SuplrQualityManagementSystem Target QM Sys.
SuplrQltyInProcmtCertfnValidTo SuplrQltyInProcmtCertfnValidTo QM System To
InspectionLotType InspectionLotType Inspection Type
QltyInProcmtLotCrtnLeadTime QltyInProcmtLotCrtnLeadTime
QltyInProcmtNoFurtherInsp QltyInProcmtNoFurtherInsp
QltyInProcmtCertificateCtrl QltyInProcmtCertificateCtrl
_QltyMgmtSystemText _QltyMgmtSystemText
_SupQltyMgmtSystemText _SupQltyMgmtSystemText
_InspectionLotTypeText _InspectionLotTypeText
_QltyInProcmtCertCtrlText _QltyInProcmtCertCtrlText
_QltyInProcmtInspControlText _QltyInProcmtInspControlText
_Material I_QualityInProcurementTP _Material
_Plant I_QualityInProcurementTP _Plant
_Supplier I_QualityInProcurementTP _Supplier
_ProcurementBlock I_QualityInProcurementTP _ProcurementBlock
_ProductPlantQtManagement _ProductPlantQtManagement
_CreatedByUserContactCard _CreatedByUserContactCard
_LastChangedByUserContactCard _LastChangedByUserContactCard
_QltyFirstArticleInspTP _QltyFirstArticleInspTP
_QltyInProcurementLongTextTP _QltyInProcurementLongTextTP

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_QltyInProcurementManage.
-- 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: CQLTYINPROCMNG

CREATE VIEW C_QltyInProcurementManage AS
SELECT
  Material,
  QltyInProcmtIntID,
  Plant,
  ProductForEdit,
  MaterialRevisionLevel,
  Supplier,
  QltyInProcmtReleaseValidTo,
  _QltyInProcmtManageCalc.QualityMgmtCtrlKeyText AS QualityMgmtCtrlKeyText,
  ReleasedQuantity,
  OrderedQuantity,
  BaseUnit,
  QltyInProcmtResetOnDate,
  cast( SupplierProcurementBlock as vdm_qsupplierblock ) AS SupplierProcurementBlock,
  ProcurementBlock,
  BlockReason,
  cast( IsDeleted as vdm_qltyinforecordddeleted ) AS IsDeleted,
  CreatedByUser,
  CreationDate,
  LastChangedByUser,
  LastChangeDate,
  HasNoQltyInfoRec,
  MaterialHasQualityInfoRecord,
  _QltyInProcmtManageCalc.QualityInfoRecordCriticality AS QualityInfoRecordCriticality,
  _QltyInProcurementManage._Plant.PlantName AS PlantName,
  _QltyInProcurementManage._Material._Text[1:Language=$session.system_language].MaterialName AS MaterialName,
  _QltyInProcurementManage._Supplier.SupplierName AS SupplierName,
  _ProcurementBlock._ProcurementBlockText[1: Language=$session.system_language].ProcurementBlockText AS ProcurementBlockText,
  _SupProcurementBlockText[1: Language=$session.system_language].ProcurementBlockText AS SupplierProcmtBlockText,
  _QltyInProcmtManageCalc.QltyInfoRecdBlkSts AS QltyInfoRecdBlkSts,
  QltyInProcmtRelQtyIsActive,
  _QltyInProcmtManageCalc.QualityMgmtCtrlKey AS QualityMgmtCtrlKey,
  cast ( _QltyInProcmtManageCalc.PurchaseInfoRecordIsCreated as vdm_qeinf ) AS PurchaseInfoRecordIsCreated,
  QltyInProcmtInspControl,
  ProdnPieceApprovalIsRequired,
  ProductionPieceApproval,
  ProductionPieceApprovalLevel,
  _ProdnPieceApprvlLvlTxt.ProdnPieceApprovalLevelText AS ProdnPieceApprovalLevelText,
  ProductionPieceApprovalStatus,
  _ProdAppStsTxt.ProdnPieceApprovalStatusText AS ProdnPieceApprovalStatusText,
  Language,
  cast('' as abap.sstring(1333)) AS CollaborationRoomURL,
  cast(' ' as abap_boolean ) AS IsCloudSystem,
  cast(' ' as abap_boolean ) AS DgtlMfgIntegIsActive,
  QualityManagementSystem,
  QltyInProcmtCertfnValidTo,
  SuplrQualityManagementSystem,
  SuplrQltyInProcmtCertfnValidTo,
  InspectionLotType,
  QltyInProcmtLotCrtnLeadTime,
  QltyInProcmtNoFurtherInsp,
  QltyInProcmtCertificateCtrl,
  _QltyInProcurementManage._Material AS _Material,
  _QltyInProcurementManage._Plant AS _Plant,
  _QltyInProcurementManage._Supplier AS _Supplier,
  _QltyInProcurementManage._ProcurementBlock AS _ProcurementBlock
FROM I_QualityInProcurementTP AS _QltyInProcurementManage
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUserContactCard ON CreatedByUser = _CreatedByUserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedByUserContactCard ON LastChangedByUser = _LastChangedByUserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN C_QltyInProcmtManageCalc AS _QltyInProcmtManageCalc ON Material = _QltyInProcmtManageCalc.Material AND QltyInProcmtIntID = _QltyInProcmtManageCalc.QltyInProcmtIntID AND Plant = _QltyInProcmtManageCalc.Plant  -- association [0..1]
LEFT OUTER JOIN C_QltyFirstArticleInsp AS _QltyFirstArticleInspTP ON Material = _QltyFirstArticleInspTP.Material AND QltyInProcmtIntID = _QltyFirstArticleInspTP.QltyInProcmtIntID  -- association [0..*]
LEFT OUTER JOIN I_ProdnPieceApprvlStsTxt AS _ProdAppStsTxt ON ProductionPieceApprovalStatus = _ProdAppStsTxt.ProductionPieceApprovalStatus AND _ProdAppStsTxt.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_ProdnPieceApprvlLvlTxt AS _ProdnPieceApprvlLvlTxt ON ProductionPieceApprovalLevel = _ProdnPieceApprvlLvlTxt.ProductionPieceApprovalLevel AND _ProdnPieceApprvlLvlTxt.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN C_QltyInProcurementLongText AS _QltyInProcurementLongTextTP ON Material = _QltyInProcurementLongTextTP.Material AND QltyInProcmtIntID = _QltyInProcurementLongTextTP.QltyInProcmtIntID AND _QltyInProcurementLongTextTP.Language = $session.system_language AND _QltyInProcurementLongTextTP.ItemCounter = 1  -- association [0..1]
;