R_PPS_PurContractItemExtension
PPS field for Purchase Contract Item
R_PPS_PurContractItemExtension is a Basic CDS View that provides data about "PPS field for Purchase Contract Item" in SAP S/4HANA. It reads from 1 data source (pps_ekpo_ext) and exposes 40 fields with key fields PurchaseContract, PurchaseContractItem. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pps_ekpo_ext | pps_ekpo_ext | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PPS_OptionalItemStatusVH | _OptionalItemStatusText | $projection.PPSOptionalItemStatus = _OptionalItemStatusText.DomainValueLow |
| [1..*] | I_PPS_PurgDocItemStatusText | _ItemStatusText | $projection.PPSPurContrItemStatus = _ItemStatusText.DomainValue |
| [1..*] | I_PPS_PurgDocToleranceText | _ToleranceText | $projection.PPSDeliveryToleranceKey = _ToleranceText.PPSDeliveryToleranceKey |
| [1..1] | I_PPS_PrcgArrgmtTypeVH | _PricingArrangementType | $projection.PPSPricingArrangementType = _PricingArrangementType.PPSPricingArrangementType |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | PPS field for Purchase Contract Item | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseContract | ebeln | Source PurchDoc | |
| KEY | PurchaseContractItem | ebelp | Item pur. doc. | |
| PPSDeliveryToleranceKey | pps_tolerance_key | |||
| PPSPerdOfPerfStartDate | pps_perop_beg | PeROP Start Date | ||
| PPSPerdOfPerfEndDate | pps_perop_end | PeROP End Date | ||
| PPSIsOptionalItem | pps_isoptionalitem | |||
| PPSOptionalItemStatus | pps_optionalitemstatus | |||
| PPSOptionExerciseStartDate | pps_optionexercisestartdate | |||
| PPSOptionExerciseEndDate | pps_optionexerciseenddate | |||
| PPSSmartNumberItem | pps_itm_smart_number | Smart Number | ||
| PPSSmartNumberItemIsManual | pps_itm_is_smart_number_manual | Checkbox | ||
| PPSConfigurableLineItemNumber | pps_config_item_no | Config. Itm. No. | ||
| PPSPurContrItemStatus | pps_item_status | Item Status | ||
| PPSOptionalItemStatusText | _OptionalItemStatusText | PPSOptionalItemStatusText | Short Description | |
| DocumentCurrency | pps_document_currency | |||
| PPSPricingArrangementType | pps_arrangement_id | |||
| PPSCeilingAmount | pps_ceiling_amount | |||
| PPSMaximumFee | pps_maximum_fee | |||
| PPSMinimumFee | pps_minimum_fee | |||
| PPSGovtShareAbovePercent | pps_gov_share_above | |||
| PPSGovtShareBelowPercent | pps_gov_share_below | |||
| PPSIsDirectOrderItem | pps_is_direct_oitem | |||
| PPSIsPrcgArrgmtChildItm | pps_is_pa_childitem | |||
| PPSPrcgArrgmtCompType | pps_pa_component_type | |||
| PPSResponsiblePurchaser | pps_itm_responsible_purchaser | |||
| PPSMinimumOrderQuantityUnit | pps_unit | |||
| PPSMinimumOrderQuantity | pps_min_ord_qty | |||
| PPSMinimumOrderAmount | pps_min_ord_val | |||
| PPSReleaseOrderQuantity | pps_rel_ord_qty | |||
| PPSPurContrItmHasDwnPaytInAmt | pps_pc_itm_down_payment_flag | |||
| PPSSourceSrcgProjectQuotation | ppssourcesrcgprojectquotation | |||
| PPSSourceSrcgProjQuotationItem | ppssourcesrcgprojquotationitem | |||
| ContractConsumptionInPct | pps_consqty_item | |||
| PPSPurchaseContractItemKey | pps_pur_doc_itm_key | |||
| PPSDirectPurchaseOrderItem | pps_direct_purorderitm | |||
| PPSItemProcessType | pps_item_process_type | |||
| _ToleranceText | _ToleranceText | |||
| _OptionalItemStatusText | _OptionalItemStatusText | |||
| _ItemStatusText | _ItemStatusText | |||
| _PricingArrangementType | _PricingArrangementType |
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 R_PPS_PurContractItemExtension.
-- 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 R_PPS_PurContractItemExtension AS
SELECT
ebeln AS PurchaseContract,
ebelp AS PurchaseContractItem,
pps_tolerance_key AS PPSDeliveryToleranceKey,
pps_perop_beg AS PPSPerdOfPerfStartDate,
pps_perop_end AS PPSPerdOfPerfEndDate,
pps_isoptionalitem AS PPSIsOptionalItem,
pps_optionalitemstatus AS PPSOptionalItemStatus,
pps_optionexercisestartdate AS PPSOptionExerciseStartDate,
pps_optionexerciseenddate AS PPSOptionExerciseEndDate,
pps_itm_smart_number AS PPSSmartNumberItem,
pps_itm_is_smart_number_manual AS PPSSmartNumberItemIsManual,
pps_config_item_no AS PPSConfigurableLineItemNumber,
pps_item_status AS PPSPurContrItemStatus,
_OptionalItemStatusText.PPSOptionalItemStatusText AS PPSOptionalItemStatusText,
pps_document_currency AS DocumentCurrency,
pps_arrangement_id AS PPSPricingArrangementType,
pps_ceiling_amount AS PPSCeilingAmount,
pps_maximum_fee AS PPSMaximumFee,
pps_minimum_fee AS PPSMinimumFee,
pps_gov_share_above AS PPSGovtShareAbovePercent,
pps_gov_share_below AS PPSGovtShareBelowPercent,
pps_is_direct_oitem AS PPSIsDirectOrderItem,
pps_is_pa_childitem AS PPSIsPrcgArrgmtChildItm,
pps_pa_component_type AS PPSPrcgArrgmtCompType,
pps_itm_responsible_purchaser AS PPSResponsiblePurchaser,
pps_unit AS PPSMinimumOrderQuantityUnit,
pps_min_ord_qty AS PPSMinimumOrderQuantity,
pps_min_ord_val AS PPSMinimumOrderAmount,
pps_rel_ord_qty AS PPSReleaseOrderQuantity,
pps_pc_itm_down_payment_flag AS PPSPurContrItmHasDwnPaytInAmt,
PPSSourceSrcgProjectQuotation,
PPSSourceSrcgProjQuotationItem,
pps_consqty_item AS ContractConsumptionInPct,
pps_pur_doc_itm_key AS PPSPurchaseContractItemKey,
pps_direct_purorderitm AS PPSDirectPurchaseOrderItem,
pps_item_process_type AS PPSItemProcessType
FROM pps_ekpo_ext
LEFT OUTER JOIN I_PPS_OptionalItemStatusVH AS _OptionalItemStatusText ON PPSOptionalItemStatus = _OptionalItemStatusText.DomainValueLow -- association [1..1]
LEFT OUTER JOIN I_PPS_PurgDocItemStatusText AS _ItemStatusText ON PPSPurContrItemStatus = _ItemStatusText.DomainValue -- association [1..*]
LEFT OUTER JOIN I_PPS_PurgDocToleranceText AS _ToleranceText ON PPSDeliveryToleranceKey = _ToleranceText.PPSDeliveryToleranceKey -- association [1..*]
LEFT OUTER JOIN I_PPS_PrcgArrgmtTypeVH AS _PricingArrangementType ON PPSPricingArrangementType = _PricingArrangementType.PPSPricingArrangementType -- 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