P_PurgPrcgCndnRecdValidity
Condition Table for Pricing in Purchasing
P_PurgPrcgCndnRecdValidity is a Basic CDS View that provides data about "Condition Table for Pricing in Purchasing" in SAP S/4HANA. It reads from 1 data source (P_PrcgCndnRecdValidity) and exposes 48 fields with key fields ConditionRecord, ConditionValidityEndDate. Part of development package VDM_SD_MD_CM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PrcgCndnRecdValidity | P_PrcgCndnRecdValidity | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPURGPRCGCNDNVA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (48)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConditionRecord | ConditionRecord | Cond.Record No. | |
| KEY | ConditionValidityEndDate | ConditionValidityEndDate | Valid To | |
| ConditionValidityStartDate | ConditionValidityStartDate | Valid From | ||
| ConditionApplication | ConditionApplication | Application | ||
| ConditionType | ConditionType | Condition type | ||
| ConditionReleaseStatus | ||||
| PurgDocOrderQuantityUnit | ||||
| CompanyCode | ||||
| ConditionContract | ||||
| MaterialConditionGroup | ||||
| PurchasingOrganization | ||||
| PurchasingInfoRecordCategory | ||||
| PurchasingDocument | ||||
| PurchasingDocumentItem | ||||
| IncotermsClassification | ||||
| PurchasingInfoRecord | ||||
| AccountTaxType | ||||
| BillToParty | ||||
| BPForBillToParty | ||||
| Country | ||||
| Supplier | ||||
| BPForSupplier | ||||
| InvoicingParty | ||||
| BPForInvoicingParty | ||||
| DestinationCountry | ||||
| ActiveSupplierSubrange | ||||
| MaterialGroup | ||||
| Material | ||||
| MaterialType | ||||
| TaxCode | ||||
| Region | ||||
| StockSegment | ||||
| AcctAssgmtTaxClassification | ||||
| ImportTaxClassification | ||||
| TaxIndicator | ||||
| RegionTaxClassification | ||||
| PlantTaxClassification | ||||
| TradingContract | ||||
| VariantCondition | ||||
| ValueAddedServiceChargeCode | ||||
| IN_GSTSupplierClassification | ||||
| Plant | ||||
| PlantRegion | ||||
| TaxJurisdiction | ||||
| RequirementTracking | ||||
| PurchasingGroup | ||||
| PurchasingDocumentType | ||||
| AccountAssignmentCategory |
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_PurgPrcgCndnRecdValidity.
-- 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.
CREATE VIEW P_PurgPrcgCndnRecdValidity AS
SELECT
ConditionRecord,
ConditionValidityEndDate,
ConditionValidityStartDate,
ConditionApplication,
ConditionType,
cast( '' as kfrst ) AS ConditionReleaseStatus,
cast( '' as bstme ) AS PurgDocOrderQuantityUnit,
cast( '' as bukrs ) AS CompanyCode,
cast( '' as wcb_coco_num ) AS ConditionContract,
cast( '' as ekkog ) AS MaterialConditionGroup,
cast( '' as ekorg ) AS PurchasingOrganization,
cast( '' as esokz ) AS PurchasingInfoRecordCategory,
cast( '' as ebeln ) AS PurchasingDocument,
cast( '' as ebelp ) AS PurchasingDocumentItem,
cast( '' as inco1 ) AS IncotermsClassification,
cast( '' as infnr ) AS PurchasingInfoRecord,
cast( '' as j_1afitp_d ) AS AccountTaxType,
cast( '' as kunre ) AS BillToParty,
cast( '' as bu_partner ) AS BPForBillToParty,
cast( '' as land1_gp ) AS Country,
cast( '' as elifn ) AS Supplier,
cast( '' as bu_partner ) AS BPForSupplier,
cast( '' as lifre ) AS InvoicingParty,
cast( '' as bu_partner ) AS BPForInvoicingParty,
cast( '' as lland ) AS DestinationCountry,
cast( '' as ltsnr ) AS ActiveSupplierSubrange,
cast( '' as matkl ) AS MaterialGroup,
cast( '' as matnr ) AS Material,
cast( '' as mtart ) AS MaterialType,
cast( '' as mwskz ) AS TaxCode,
cast( '' as regio ) AS Region,
cast( '' as sgt_scat ) AS StockSegment,
cast( '' as taxik1 ) AS AcctAssgmtTaxClassification,
cast( '' as taxil ) AS ImportTaxClassification,
cast( '' as taxim1 ) AS TaxIndicator,
cast( '' as taxir ) AS RegionTaxClassification,
cast( '' as taxiw1 ) AS PlantTaxClassification,
cast( '' as tkonn ) AS TradingContract,
cast( '' as varcond ) AS VariantCondition,
cast( '' as fsh_vas_chrg_code ) AS ValueAddedServiceChargeCode,
cast( '' as j_1igtakld ) AS IN_GSTSupplierClassification,
cast( '' as werks_d ) AS Plant,
cast( '' as wkreg ) AS PlantRegion,
cast( '' as txjcd ) AS TaxJurisdiction,
cast( '' as bednr ) AS RequirementTracking,
cast( '' as ekgrp ) AS PurchasingGroup,
cast( '' as esart ) AS PurchasingDocumentType,
cast( '' as knttp ) AS AccountAssignmentCategory
FROM P_PrcgCndnRecdValidity
;
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