C_PurgInfoRecdCndnMassUpdt
Mass Changes to PIR Pricing Conditions
C_PurgInfoRecdCndnMassUpdt is a Consumption CDS View that provides data about "Mass Changes to PIR Pricing Conditions" in SAP S/4HANA. It reads from 2 data sources (I_PricingConditionRecord, I_PurInfoRecdPrcgCndnValidity) and exposes 30 fields with key fields ConditionRecord, ConditionValidityEndDate, ConditionSequentialNumberShort. It has 4 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PricingConditionRecord | _PricingConditionRecord | inner |
| I_PurInfoRecdPrcgCndnValidity | _Validity | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PricingConditionType | _ConditionType | _ConditionType.ConditionApplication = 'M' and _ConditionType.ConditionType = $projection.ConditionType and _ConditionType.ConditionCategory <> 'O' |
| [0..1] | I_ConditionCalculationTypeText | _CalculationTypeText | _CalculationTypeText.ConditionCalculationType = $projection.ConditionCalculationTypeShort and _CalculationTypeText.Language = $session.system_language |
| [0..1] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language |
| [0..1] | I_PurgInfoRecordCategory | _Category | _Category.PurchasingInfoRecordCategory = $projection.PurchasingInfoRecordCategory |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPIRCONDMASS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Mass Changes to PIR Pricing Conditions | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| VDM.lifecycle.contract.type | #NONE | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConditionRecord | I_PurInfoRecdPrcgCndnValidity | ConditionRecord | Condition Group ID |
| KEY | ConditionValidityEndDate | I_PurInfoRecdPrcgCndnValidity | ConditionValidityEndDate | Valid To |
| KEY | ConditionSequentialNumberShort | I_PricingConditionRecord | ConditionSequentialNumber | SequNo of Cond. |
| ConditionValidityStartDate | I_PurInfoRecdPrcgCndnValidity | ConditionValidityStartDate | Valid From | |
| ConditionApplication | I_PurInfoRecdPrcgCndnValidity | ConditionApplication | Application | |
| ConditionType | I_PricingConditionRecord | ConditionType | Condition type | |
| ConditionTypeName | Condition Type Description | |||
| ConditionClassificationDesc | ||||
| Material | I_PurInfoRecdPrcgCndnValidity | Material | Vehicle Model | |
| MaterialName | ||||
| PurchasingOrganization | I_PurInfoRecdPrcgCndnValidity | PurchasingOrganization | Purchasing Organization | |
| Plant | I_PurInfoRecdPrcgCndnValidity | Plant | Valuation Area | |
| PurchasingInfoRecordCategory | I_PurInfoRecdPrcgCndnValidity | PurchasingInfoRecordCategory | Info Record Category | |
| PurchasingInfoRecordTitle | Info Record Category Description | |||
| MaterialGroup | I_PurInfoRecdPrcgCndnValidity | MaterialGroup | Product Group | |
| PurchasingInfoRecord | I_PurInfoRecdPrcgCndnValidity | PurchasingInfoRecord | Info Record | |
| PurgDocOrderQuantityUnit | I_PurInfoRecdPrcgCndnValidity | PurgDocOrderQuantityUnit | Purchasing Document Order Qty Unit | |
| ConditionCalculationTypeShort | I_PricingConditionRecord | ConditionCalculationType | Condition Calculation Type | |
| ConditionCalculationTypeName | _CalculationTypeText | ConditionCalculationTypeName | Condition Calculation Type Description | |
| ConditionCurrency | I_PricingConditionRecord | ConditionCurrency | Currency | |
| ConditionQuantity | I_PricingConditionRecord | ConditionQuantity | Condition Pricing | |
| ConditionQuantityUnit | I_PricingConditionRecord | ConditionQuantityUnit | Condition Pricing Unit | |
| BaseUnit | I_PricingConditionRecord | BaseUnit | Base Unit | |
| ConditionIsDeleted | ||||
| ConditionToBaseQtyNmrtr | I_PricingConditionRecord | ConditionToBaseQtyNmrtr | Numerator for Conversion | |
| ConditionToBaseQtyDnmntr | I_PricingConditionRecord | ConditionToBaseQtyDnmntr | Denominator for Conversion | |
| ConditionRateValue | I_PricingConditionRecord | ConditionRateValue | Amount | |
| ConditionRateValueUnit | I_PricingConditionRecord | ConditionRateValueUnit | Condition Amount Unit | |
| ConditionScaleExists | Scale | |||
| PurgInfoRecdCndnIsCreated | Is New |
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_PurgInfoRecdCndnMassUpdt.
-- 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: CPIRCONDMASS
CREATE VIEW C_PurgInfoRecdCndnMassUpdt AS
SELECT
_Validity.ConditionRecord AS ConditionRecord,
_Validity.ConditionValidityEndDate AS ConditionValidityEndDate,
_PricingConditionRecord.ConditionSequentialNumber AS ConditionSequentialNumberShort,
_Validity.ConditionValidityStartDate AS ConditionValidityStartDate,
_Validity.ConditionApplication AS ConditionApplication,
_PricingConditionRecord.ConditionType AS ConditionType,
_ConditionType._Text[1:Language = $session.system_language].ConditionTypeName AS ConditionTypeName,
cast( '' as cond_clfn ) AS ConditionClassificationDesc,
_Validity.Material AS Material,
_MaterialText[1: Language = $session.system_language].MaterialName AS MaterialName,
_Validity.PurchasingOrganization AS PurchasingOrganization,
_Validity.Plant AS Plant,
_Validity.PurchasingInfoRecordCategory AS PurchasingInfoRecordCategory,
_Category._Text[1: Language = $session.system_language].PurchasingInfoRecordTitle AS PurchasingInfoRecordTitle,
_Validity.MaterialGroup AS MaterialGroup,
_Validity.PurchasingInfoRecord AS PurchasingInfoRecord,
_Validity.PurgDocOrderQuantityUnit AS PurgDocOrderQuantityUnit,
_PricingConditionRecord.ConditionCalculationType AS ConditionCalculationTypeShort,
_CalculationTypeText.ConditionCalculationTypeName AS ConditionCalculationTypeName,
_PricingConditionRecord.ConditionCurrency AS ConditionCurrency,
_PricingConditionRecord.ConditionQuantity AS ConditionQuantity,
_PricingConditionRecord.ConditionQuantityUnit AS ConditionQuantityUnit,
_PricingConditionRecord.BaseUnit AS BaseUnit,
cast( '' as loevm_ko ) AS ConditionIsDeleted,
_PricingConditionRecord.ConditionToBaseQtyNmrtr AS ConditionToBaseQtyNmrtr,
_PricingConditionRecord.ConditionToBaseQtyDnmntr AS ConditionToBaseQtyDnmntr,
_PricingConditionRecord.ConditionRateValue AS ConditionRateValue,
_PricingConditionRecord.ConditionRateValueUnit AS ConditionRateValueUnit,
cast ('' as ddtext) AS ConditionScaleExists,
cast ('' as xfeld) AS PurgInfoRecdCndnIsCreated
FROM I_PurInfoRecdPrcgCndnValidity AS _Validity
INNER JOIN I_PricingConditionRecord AS _PricingConditionRecord ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PricingConditionType AS _ConditionType ON _ConditionType.ConditionApplication = 'M' AND _ConditionType.ConditionType = ConditionType AND _ConditionType.ConditionCategory <> 'O' -- association [1..1]
LEFT OUTER JOIN I_ConditionCalculationTypeText AS _CalculationTypeText ON _CalculationTypeText.ConditionCalculationType = ConditionCalculationTypeShort AND _CalculationTypeText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material AND _MaterialText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_PurgInfoRecordCategory AS _Category ON _Category.PurchasingInfoRecordCategory = PurchasingInfoRecordCategory -- association [0..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