R_PPS_PurContractHdrExtension
PPS field for Purchase Contract Header
R_PPS_PurContractHdrExtension is a Basic CDS View that provides data about "PPS field for Purchase Contract Header" in SAP S/4HANA. It reads from 1 data source (pps_ekko_ext) and exposes 18 fields with key field PurchaseContract. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pps_ekko_ext | pps_ekko_ext | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_PurchaseContract | _PurchaseContract | $projection.PurchaseContract = _PurchaseContract.PurchaseContract |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | PPS field for Purchase Contract Header | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseContract | ebeln | Source PurchDoc | |
| PPSPurgDocClassfctnCode | document_confidential | Doc Confidential | ||
| PPSFuturePostingDate | future_pstng_date | Future Posting Date | ||
| PPSPerdOfPerfStartDate | pps_perop_beg_hdr | PeROP Start Date | ||
| PPSPerdOfPerfEndDate | pps_perop_end_hdr | PeROP End Date | ||
| PPSSmartNumberHeader | pps_hdr_smart_number | Smart Number | ||
| PPSSmartNumberHeaderIsManual | pps_hdr_is_smart_number_manual | Checkbox | ||
| PPSSmartDocumentNumber | pps_smart_document_number | Smart Doc Number | ||
| PPSRevisionComment | version_reason_txt | Reason Text | ||
| PurchaseContractType | _PurchaseContract | PurchaseContractType | Order Type | |
| PurchasingOrganization | _PurchaseContract | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | _PurchaseContract | PurchasingGroup | Purchasing Group | |
| PPSModificationType | modificationtype | Modification Type | ||
| PPSNumberOfModification | modificationnumber | Modification Number | ||
| PPSModificationTypeText | modificationtypetext | Reason Text | ||
| PPSModificationIdentifierCode | pps_modification_identifier | Modification Id | ||
| PPSPurContrHeaderStatus | pps_hdr_status | Status | ||
| PPSFieldChangeIndicatorString |
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_PurContractHdrExtension.
-- 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_PurContractHdrExtension AS
SELECT
ebeln AS PurchaseContract,
document_confidential AS PPSPurgDocClassfctnCode,
future_pstng_date AS PPSFuturePostingDate,
pps_perop_beg_hdr AS PPSPerdOfPerfStartDate,
pps_perop_end_hdr AS PPSPerdOfPerfEndDate,
pps_hdr_smart_number AS PPSSmartNumberHeader,
pps_hdr_is_smart_number_manual AS PPSSmartNumberHeaderIsManual,
pps_smart_document_number AS PPSSmartDocumentNumber,
version_reason_txt AS PPSRevisionComment,
_PurchaseContract.PurchaseContractType AS PurchaseContractType,
_PurchaseContract.PurchasingOrganization AS PurchasingOrganization,
_PurchaseContract.PurchasingGroup AS PurchasingGroup,
modificationtype AS PPSModificationType,
modificationnumber AS PPSNumberOfModification,
modificationtypetext AS PPSModificationTypeText,
pps_modification_identifier AS PPSModificationIdentifierCode,
pps_hdr_status AS PPSPurContrHeaderStatus,
cast( '' as abap.char( 510 ) ) AS PPSFieldChangeIndicatorString
FROM pps_ekko_ext
LEFT OUTER JOIN R_PurchaseContract AS _PurchaseContract ON PurchaseContract = _PurchaseContract.PurchaseContract -- 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