C_PurgInfoRecordFs
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)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingInfoRecord | I_PurchasingInfoRecord | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA