P_Prchinforecords_FS
P_Prchinforecords_FS is a Basic CDS View in SAP S/4HANA. It reads from 8 data sources and exposes 33 fields with key field PurchasingInfoRecord.
Data Sources (8)
| Source | Alias | Join Type |
|---|---|---|
| P_Prchinforecordslang_Fs | Language | left_outer |
| lfa1 | Manufacturer | left_outer |
| I_Product | Material | left_outer |
| I_MaterialGroupText | MaterialGroupText | left_outer |
| eina | PrchinInfoRecords | from |
| lfa1 | PriorSupplier | left_outer |
| I_ProductDescription | ProductDescription | left_outer |
| P_Usercontactcard_Fs | UserName | left_outer |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPRCHINFORECORDS | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingInfoRecord | infnr | Info Record | |
| PersonFullName | P_Usercontactcard_Fs | PersonFullName | Full Name | |
| ManufacturerName | ||||
| MaterialGroupName | I_MaterialGroupText | MaterialGroupName | prod Grp Desc. | |
| ProductDescription | I_ProductDescription | ProductDescription | Description | |
| PriorSupplierName | lfa1 | name1 | PA text | |
| Supplier | eina | lifnr | Vendor no. | |
| MaterialGroup | I_Product | ProductGroup | Product Sold Group | |
| Material | eina | matnr | Vehicle Model | |
| CreationDate | eina | erdat | Entered On | |
| IsDeleted | loekz | Status | ||
| PurchasingInfoRecordDesc | txz01 | Text | ||
| PurgDocOrderQuantityUnit | eina | meins | Valuation Unit | |
| OrderItemQtyToBaseQtyNmrtr | umrez | Numerator | ||
| OrderItemQtyToBaseQtyDnmntr | umren | Denominator | ||
| SupplierMaterialNumber | idnlf | Vendor Material | ||
| SupplierRespSalesPersonName | verkf | Salesperson | ||
| SupplierPhoneNumber | eina | telf1 | Telephone no. | |
| BaseUnit | lmein | Base Unit | ||
| SupplierMaterialGroup | wglif | Suppl. Mat. Grp | ||
| PriorSupplier | kolif | Prior Supplier | ||
| AvailibilityStartDate | lifab | Available from | ||
| AvailibilityEndDate | lifbi | Available to | ||
| VarblPurOrdUnitStatus | eina | vabme | Var. Order Unit | |
| Manufacturer | eina | mfrnr | Manufacturer | |
| IsRegularSupplier | relif | Reg. Supplier | ||
| CreatedByUser | eina | ernam | User Name | |
| ProductPurchasePointsQty | anzpu | Points | ||
| ProductPurchasePointsQtyUnit | punei | Points Unit | ||
| SupplierSubrange | ltsnr | Suppl. Subrange | ||
| Language | P_Prchinforecordslang_Fs | Language | Report Text Language | |
| PreferredSupplierName | ||||
| AuthorizationGroup | I_Product | AuthorizationGroup | AuthorizGroup |
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 P_Prchinforecords_FS.
-- 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: PPRCHINFORECORDS
CREATE VIEW P_Prchinforecords_FS AS
SELECT
infnr AS PurchasingInfoRecord,
UserName.PersonFullName AS PersonFullName,
cast(Manufacturer.name1 as migo_mfrname preserving type) AS ManufacturerName,
MaterialGroupText.MaterialGroupName AS MaterialGroupName,
ProductDescription.ProductDescription AS ProductDescription,
PriorSupplier.name1 AS PriorSupplierName,
PrchinInfoRecords.lifnr AS Supplier,
Material.ProductGroup AS MaterialGroup,
PrchinInfoRecords.matnr AS Material,
PrchinInfoRecords.erdat AS CreationDate,
loekz AS IsDeleted,
txz01 AS PurchasingInfoRecordDesc,
PrchinInfoRecords.meins AS PurgDocOrderQuantityUnit,
umrez AS OrderItemQtyToBaseQtyNmrtr,
umren AS OrderItemQtyToBaseQtyDnmntr,
idnlf AS SupplierMaterialNumber,
verkf AS SupplierRespSalesPersonName,
PrchinInfoRecords.telf1 AS SupplierPhoneNumber,
lmein AS BaseUnit,
wglif AS SupplierMaterialGroup,
kolif AS PriorSupplier,
lifab AS AvailibilityStartDate,
lifbi AS AvailibilityEndDate,
PrchinInfoRecords.vabme AS VarblPurOrdUnitStatus,
PrchinInfoRecords.mfrnr AS Manufacturer,
relif AS IsRegularSupplier,
PrchinInfoRecords.ernam AS CreatedByUser,
anzpu AS ProductPurchasePointsQty,
punei AS ProductPurchasePointsQtyUnit,
ltsnr AS SupplierSubrange,
Language.Language AS Language,
Concat(concat(concat_with_space(Language.SupplierName , '(', 1),ltrim(Supplier, '0')),')') AS PreferredSupplierName,
Material.AuthorizationGroup AS AuthorizationGroup
FROM eina AS PrchinInfoRecords
LEFT OUTER JOIN I_Product AS Material ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_Usercontactcard_Fs AS UserName ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN lfa1 AS PriorSupplier ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN lfa1 AS Manufacturer ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_Prchinforecordslang_Fs AS Language ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProductDescription AS ProductDescription ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialGroupText AS MaterialGroupText ON /* join condition not captured in parsed metadata */
;
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