R_PPS_PurContractHdrExtension

DDL: R_PPS_PURCONTRACTHDREXTENSION Type: view_entity BASIC

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)

SourceAliasJoin Type
pps_ekko_ext pps_ekko_ext from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_PurchaseContract _PurchaseContract $projection.PurchaseContract = _PurchaseContract.PurchaseContract

Annotations (8)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;