C_PurgInfoRecordFs

DDL: C_PURGINFORECORDFS SQL: CPURGINFRECFS Type: view CONSUMPTION

Purchasing Info Record

C_PurgInfoRecordFs is a Consumption CDS View that provides data about "Purchasing Info Record" in SAP S/4HANA. It reads from 1 data source (I_PurchasingInfoRecord) and exposes 10 fields with key field PurchasingInfoRecord. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingInfoRecord I_PurchasingInfoRecord from

Associations (7)

CardinalityTargetAliasCondition
[0..*] I_MaterialGroupText _MaterialGroupText $projection.MaterialGroup = _MaterialGroupText.MaterialGroup
[0..*] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material
[0..*] C_PurgInfoRecordOrgLevels _PurgInfoRecordOrgLevels _PurgInfoRecordOrgLevels.PurchasingInfoRecord = $projection.PurchasingInfoRecord
[0..*] C_PoByPurgInfoRecd _PoByPurgInfoRecd _PoByPurgInfoRecd.PurchasingInfoRecord = $projection.PurchasingInfoRecord
[1..1] I_SuplrContactCard _SupplierHeadOffice ( _SupplierHeadOffice.ContactCardType = 'Supplier' and _SupplierHeadOffice.ContactCardID = $projection.Supplier and _SupplierHeadOffice.ContactCardRole = 'Supplier' )
[1..1] I_SuplrContactCard _ManufacturerName ( _ManufacturerName.ContactCardType = 'Supplier' and _ManufacturerName.ContactCardID = $projection.Manufacturer and _ManufacturerName.ContactCardRole = 'Supplier' )
[1..1] I_Material _Material ( I_PurchasingInfoRecord.Material = _Material.Material )

Annotations (15)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.sqlViewName CPURGINFRECFS view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Purchasing Info Record view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.authorizationCheck #CHECK view
UI.headerInfo.typeName Purchasing Info Record view
UI.headerInfo.typeNamePlural Purchasing Info Record view
UI.headerInfo.typeImageUrl /sap/bc/ui5_ui5/sap/mm_inforecds1/images/purchasinginforecord.png view
UI.headerInfo.title.value PurchasingInfoRecordTitle view
UI.headerInfo.description.value SupplierName view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PurchasingInfoRecord I_PurchasingInfoRecord PurchasingInfoRecord Info Record
PurchasingInfoRecordDesc I_PurchasingInfoRecord PurchasingInfoRecordDesc Info Short Text
IsDeleted I_PurchasingInfoRecord IsDeleted TRUE
PurgDocOrderQuantityUnit I_PurchasingInfoRecord PurgDocOrderQuantityUnit Purchasing Document Order Qty Unit
_Material
_MaterialText _MaterialText
_MaterialGroupText _MaterialGroupText
_Supplier I_PurchasingInfoRecord _Supplier
_PurgInfoRecordOrgLevels _PurgInfoRecordOrgLevels
_PoByPurgInfoRecd _PoByPurgInfoRecd

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_PurgInfoRecordFs.
-- 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: CPURGINFRECFS

CREATE VIEW C_PurgInfoRecordFs AS
SELECT
  I_PurchasingInfoRecord.PurchasingInfoRecord AS PurchasingInfoRecord,
  I_PurchasingInfoRecord.PurchasingInfoRecordDesc AS PurchasingInfoRecordDesc,
  I_PurchasingInfoRecord.IsDeleted AS IsDeleted,
  I_PurchasingInfoRecord.PurgDocOrderQuantityUnit AS PurgDocOrderQuantityUnit,
  / _Material AS _Material,
  I_PurchasingInfoRecord._Supplier AS _Supplier
FROM I_PurchasingInfoRecord
LEFT OUTER JOIN I_MaterialGroupText AS _MaterialGroupText ON MaterialGroup = _MaterialGroupText.MaterialGroup  -- association [0..*]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material  -- association [0..*]
LEFT OUTER JOIN C_PurgInfoRecordOrgLevels AS _PurgInfoRecordOrgLevels ON _PurgInfoRecordOrgLevels.PurchasingInfoRecord = PurchasingInfoRecord  -- association [0..*]
LEFT OUTER JOIN C_PoByPurgInfoRecd AS _PoByPurgInfoRecd ON _PoByPurgInfoRecd.PurchasingInfoRecord = PurchasingInfoRecord  -- association [0..*]
LEFT OUTER JOIN I_SuplrContactCard AS _SupplierHeadOffice ON ( _SupplierHeadOffice.ContactCardType = 'Supplier' AND _SupplierHeadOffice.ContactCardID = Supplier AND _SupplierHeadOffice.ContactCardRole = 'Supplier' )  -- association [1..1]
LEFT OUTER JOIN I_SuplrContactCard AS _ManufacturerName ON ( _ManufacturerName.ContactCardType = 'Supplier' AND _ManufacturerName.ContactCardID = Manufacturer AND _ManufacturerName.ContactCardRole = 'Supplier' )  -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON ( I_PurchasingInfoRecord.Material = _Material.Material )  -- association [1..1]
;