I_PurInfoRecdOrderUnitPrcgCndn
Purch Info Record Order Unit Cond
I_PurInfoRecdOrderUnitPrcgCndn is a Basic CDS View that provides data about "Purch Info Record Order Unit Cond" in SAP S/4HANA. It reads from 6 data sources and exposes 23 fields with key fields ConditionRecord, ConditionValidityEndDate, ConditionValidityEndDate.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| a066 | i_a066 | from |
| a067 | i_a067 | union_all |
| I_PurchasingInfoRecord | inf_gen | inner |
| I_PurchasingInfoRecord | inf_gen | inner |
| I_PurgInfoRecdOrgPlantData | inf_org | inner |
| I_PurgInfoRecdOrgPlantData | inf_org | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPURIROUPRCGCND | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Purch Info Record Order Unit Cond | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConditionRecord | a066 | knumh | NoCondRec.Batch |
| KEY | ConditionValidityEndDate | a066 | datbi | Validity period |
| ConditionValidityStartDate | a066 | datab | Validity period | |
| ConditionType | a066 | kschl | Tax Item Type | |
| ConditionApplication | a066 | kappl | Application | |
| Supplier | a066 | lifnr | Vendor no. | |
| Material | a066 | matnr | Vehicle Model | |
| PurchasingOrganization | a066 | ekorg | Purchasing Org. | |
| Plant | Receiving Plant | |||
| PurchasingInfoRecordCategory | a066 | esokz | Infotype | |
| PurchasingInfoRecord | I_PurgInfoRecdOrgPlantData | PurchasingInfoRecord | Info Record | |
| knumhasConditionRecord | ||||
| KEY | ConditionValidityEndDate | a067 | datbi | Validity period |
| ConditionValidityStartDate | a067 | datab | Validity period | |
| ConditionType | a067 | kschl | Tax Item Type | |
| ConditionApplication | a067 | kappl | Application | |
| Supplier | a067 | lifnr | Vendor no. | |
| Material | a067 | matnr | Vehicle Model | |
| PurchasingOrganization | a067 | ekorg | Purchasing Org. | |
| Plant | a067 | werks | Receiving Plant | |
| PurchasingInfoRecordCategory | a067 | esokz | Infotype | |
| PurchasingInfoRecord | I_PurgInfoRecdOrgPlantData | PurchasingInfoRecord | Info Record | |
| PurgDocOrderQuantityUnit | a067 | bstme | Unit.Order |
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 I_PurInfoRecdOrderUnitPrcgCndn.
-- 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: IPURIROUPRCGCND
CREATE VIEW I_PurInfoRecdOrderUnitPrcgCndn AS
SELECT
i_a066.knumh AS ConditionRecord,
i_a066.datbi AS ConditionValidityEndDate,
i_a066.datab AS ConditionValidityStartDate,
i_a066.kschl AS ConditionType,
i_a066.kappl AS ConditionApplication,
i_a066.lifnr AS Supplier,
i_a066.matnr AS Material,
i_a066.ekorg AS PurchasingOrganization,
cast (' ' as werks_d) AS Plant,
i_a066.esokz AS PurchasingInfoRecordCategory,
inf_org.PurchasingInfoRecord AS PurchasingInfoRecord,
i_a066.bstme as PurgDocOrderQuantityUnit AS knumhasConditionRecord,
i_a067.bstme AS PurgDocOrderQuantityUnit
FROM a066 AS i_a066
INNER JOIN I_PurgInfoRecdOrgPlantData AS inf_org ON /* join condition not captured in parsed metadata */
INNER JOIN I_PurchasingInfoRecord AS inf_gen ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): a067
;
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